
com.pulumi.awsnative.datasync.kotlin.LocationSmbArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.datasync.kotlin
import com.pulumi.awsnative.datasync.LocationSmbArgs.builder
import com.pulumi.awsnative.datasync.kotlin.inputs.LocationSmbMountOptionsArgs
import com.pulumi.awsnative.datasync.kotlin.inputs.LocationSmbMountOptionsArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::DataSync::LocationSMB.
* @property agentArns The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
* @property domain The name of the Windows domain that the SMB server belongs to.
* @property mountOptions Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
* @property password The password of the user who can mount the share and has the permissions to access files and folders in the SMB share.
* @property serverHostname The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name of the SMB server.
* @property subdirectory The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination
* @property tags An array of key-value pairs to apply to this resource.
* @property user The user who can mount the share, has the permissions to access files and folders in the SMB share.
*/
public data class LocationSmbArgs(
public val agentArns: Output>? = null,
public val domain: Output? = null,
public val mountOptions: Output? = null,
public val password: Output? = null,
public val serverHostname: Output? = null,
public val subdirectory: Output? = null,
public val tags: Output>? = null,
public val user: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.datasync.LocationSmbArgs =
com.pulumi.awsnative.datasync.LocationSmbArgs.builder()
.agentArns(agentArns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.domain(domain?.applyValue({ args0 -> args0 }))
.mountOptions(mountOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.password(password?.applyValue({ args0 -> args0 }))
.serverHostname(serverHostname?.applyValue({ args0 -> args0 }))
.subdirectory(subdirectory?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.user(user?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LocationSmbArgs].
*/
@PulumiTagMarker
public class LocationSmbArgsBuilder internal constructor() {
private var agentArns: Output>? = null
private var domain: Output? = null
private var mountOptions: Output? = null
private var password: Output? = null
private var serverHostname: Output? = null
private var subdirectory: Output? = null
private var tags: Output>? = null
private var user: Output? = null
/**
* @param value The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
*/
@JvmName("eebufccyvrgojapk")
public suspend fun agentArns(`value`: Output>) {
this.agentArns = value
}
@JvmName("hbbjdrhfhkvfemhs")
public suspend fun agentArns(vararg values: Output) {
this.agentArns = Output.all(values.asList())
}
/**
* @param values The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
*/
@JvmName("eimabvyenwynrrxv")
public suspend fun agentArns(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy