
com.pulumi.awsnative.datasync.kotlin.LocationFSxLustreArgs.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.LocationFSxLustreArgs.builder
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::LocationFSxLustre.
* ## Example Usage
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* @property fsxFilesystemArn The Amazon Resource Name (ARN) for the FSx for Lustre file system.
* @property securityGroupArns The ARNs of the security groups that are to use to configure the FSx for Lustre 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 LocationFSxLustreArgs(
public val fsxFilesystemArn: 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.LocationFSxLustreArgs =
com.pulumi.awsnative.datasync.LocationFSxLustreArgs.builder()
.fsxFilesystemArn(fsxFilesystemArn?.applyValue({ args0 -> args0 }))
.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 [LocationFSxLustreArgs].
*/
@PulumiTagMarker
public class LocationFSxLustreArgsBuilder internal constructor() {
private var fsxFilesystemArn: 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 for Lustre file system.
*/
@JvmName("xlcsjawyjijysdwa")
public suspend fun fsxFilesystemArn(`value`: Output) {
this.fsxFilesystemArn = value
}
/**
* @param value The ARNs of the security groups that are to use to configure the FSx for Lustre file system.
*/
@JvmName("gnehkmmpmgkhgttb")
public suspend fun securityGroupArns(`value`: Output>) {
this.securityGroupArns = value
}
@JvmName("rdtsqfxhupcchutn")
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 for Lustre file system.
*/
@JvmName("tidrtfvtbefxylhb")
public suspend fun securityGroupArns(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy