All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.ecs.kotlin.outputs.TaskSetNetworkConfiguration.kt Maven / Gradle / Ivy

@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