![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.datasync.kotlin.inputs.LocationEfsEc2ConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.datasync.kotlin.inputs
import com.pulumi.awsnative.datasync.inputs.LocationEfsEc2ConfigArgs.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
/**
* The subnet and security group that DataSync uses to access target EFS file system.
* @property securityGroupArns The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource.
* @property subnetArn The ARN of the subnet that DataSync uses to access the target EFS file system.
*/
public data class LocationEfsEc2ConfigArgs(
public val securityGroupArns: Output>,
public val subnetArn: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.datasync.inputs.LocationEfsEc2ConfigArgs =
com.pulumi.awsnative.datasync.inputs.LocationEfsEc2ConfigArgs.builder()
.securityGroupArns(securityGroupArns.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.subnetArn(subnetArn.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LocationEfsEc2ConfigArgs].
*/
@PulumiTagMarker
public class LocationEfsEc2ConfigArgsBuilder internal constructor() {
private var securityGroupArns: Output>? = null
private var subnetArn: Output? = null
/**
* @param value The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource.
*/
@JvmName("wenuvhmrikqeiaqq")
public suspend fun securityGroupArns(`value`: Output>) {
this.securityGroupArns = value
}
@JvmName("vnhjsshyleprqdho")
public suspend fun securityGroupArns(vararg values: Output) {
this.securityGroupArns = Output.all(values.asList())
}
/**
* @param values The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource.
*/
@JvmName("bcypmfysojoocfgb")
public suspend fun securityGroupArns(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy