
com.pulumi.aws.datasync.kotlin.inputs.EfsLocationEc2ConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.datasync.kotlin.inputs
import com.pulumi.aws.datasync.inputs.EfsLocationEc2ConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property securityGroupArns List of Amazon Resource Names (ARNs) of the EC2 Security Groups that are associated with the EFS Mount Target.
* @property subnetArn Amazon Resource Name (ARN) of the EC2 Subnet that is associated with the EFS Mount Target.
*/
public data class EfsLocationEc2ConfigArgs(
public val securityGroupArns: Output>,
public val subnetArn: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.datasync.inputs.EfsLocationEc2ConfigArgs =
com.pulumi.aws.datasync.inputs.EfsLocationEc2ConfigArgs.builder()
.securityGroupArns(securityGroupArns.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.subnetArn(subnetArn.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EfsLocationEc2ConfigArgs].
*/
@PulumiTagMarker
public class EfsLocationEc2ConfigArgsBuilder internal constructor() {
private var securityGroupArns: Output>? = null
private var subnetArn: Output? = null
/**
* @param value List of Amazon Resource Names (ARNs) of the EC2 Security Groups that are associated with the EFS Mount Target.
*/
@JvmName("bybwrvycrasceyxr")
public suspend fun securityGroupArns(`value`: Output>) {
this.securityGroupArns = value
}
@JvmName("apovnxgbpuxhxvhw")
public suspend fun securityGroupArns(vararg values: Output) {
this.securityGroupArns = Output.all(values.asList())
}
/**
* @param values List of Amazon Resource Names (ARNs) of the EC2 Security Groups that are associated with the EFS Mount Target.
*/
@JvmName("jufrvakeqgdggiwl")
public suspend fun securityGroupArns(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy