![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.datasync.kotlin.outputs.LocationEfsEc2Config.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.datasync.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* 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 LocationEfsEc2Config(
public val securityGroupArns: List,
public val subnetArn: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.datasync.outputs.LocationEfsEc2Config): LocationEfsEc2Config = LocationEfsEc2Config(
securityGroupArns = javaType.securityGroupArns().map({ args0 -> args0 }),
subnetArn = javaType.subnetArn(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy