
com.pulumi.awsnative.ecs.kotlin.outputs.TaskSetNetworkConfiguration.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.ecs.kotlin.outputs
import kotlin.Suppress
/**
* An object representing 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 TaskSetNetworkConfiguration(
public val awsVpcConfiguration: TaskSetAwsVpcConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ecs.outputs.TaskSetNetworkConfiguration): TaskSetNetworkConfiguration = TaskSetNetworkConfiguration(
awsVpcConfiguration = javaType.awsVpcConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ecs.kotlin.outputs.TaskSetAwsVpcConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy