
com.pulumi.awsnative.datasync.kotlin.LocationFSxOpenZfsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.datasync.kotlin
import com.pulumi.awsnative.datasync.LocationFSxOpenZfsArgs.builder
import com.pulumi.awsnative.datasync.kotlin.inputs.LocationFSxOpenZfsProtocolArgs
import com.pulumi.awsnative.datasync.kotlin.inputs.LocationFSxOpenZfsProtocolArgsBuilder
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::LocationFSxOpenZFS.
* @property fsxFilesystemArn The Amazon Resource Name (ARN) for the FSx OpenZFS file system.
* @property protocol The type of protocol that AWS DataSync uses to access your file system.
* @property securityGroupArns The ARNs of the security groups that are to use to configure the FSx OpenZFS file system.
* @property subdirectory A subdirectory in the location's path.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class LocationFSxOpenZfsArgs(
public val fsxFilesystemArn: Output? = null,
public val protocol: Output? = null,
public val securityGroupArns: Output>? = null,
public val subdirectory: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.datasync.LocationFSxOpenZfsArgs =
com.pulumi.awsnative.datasync.LocationFSxOpenZfsArgs.builder()
.fsxFilesystemArn(fsxFilesystemArn?.applyValue({ args0 -> args0 }))
.protocol(protocol?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.securityGroupArns(securityGroupArns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.subdirectory(subdirectory?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [LocationFSxOpenZfsArgs].
*/
@PulumiTagMarker
public class LocationFSxOpenZfsArgsBuilder internal constructor() {
private var fsxFilesystemArn: Output? = null
private var protocol: Output? = null
private var securityGroupArns: Output>? = null
private var subdirectory: Output? = null
private var tags: Output>? = null
/**
* @param value The Amazon Resource Name (ARN) for the FSx OpenZFS file system.
*/
@JvmName("ehefcunxwpbmvwga")
public suspend fun fsxFilesystemArn(`value`: Output) {
this.fsxFilesystemArn = value
}
/**
* @param value The type of protocol that AWS DataSync uses to access your file system.
*/
@JvmName("owuytvbdexqqtchq")
public suspend fun protocol(`value`: Output) {
this.protocol = value
}
/**
* @param value The ARNs of the security groups that are to use to configure the FSx OpenZFS file system.
*/
@JvmName("omgkyaiprjsfbrrp")
public suspend fun securityGroupArns(`value`: Output>) {
this.securityGroupArns = value
}
@JvmName("yqmkavfqyshvupwd")
public suspend fun securityGroupArns(vararg values: Output) {
this.securityGroupArns = Output.all(values.asList())
}
/**
* @param values The ARNs of the security groups that are to use to configure the FSx OpenZFS file system.
*/
@JvmName("rfbseinlujgynqkl")
public suspend fun securityGroupArns(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy