![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ecs.kotlin.outputs.ServiceNetworkConfiguration.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ecs.kotlin.outputs
import kotlin.Suppress
/**
* The network configuration for a task or service.
* @property awsvpcConfiguration The VPC subnets and security groups that are associated with a task.
* All specified subnets and security groups must be from the same VPC.
*/
public data class ServiceNetworkConfiguration(
public val awsvpcConfiguration: ServiceAwsVpcConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ecs.outputs.ServiceNetworkConfiguration): ServiceNetworkConfiguration = ServiceNetworkConfiguration(
awsvpcConfiguration = javaType.awsvpcConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ecs.kotlin.outputs.ServiceAwsVpcConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy