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

com.pulumi.awsnative.mwaa.kotlin.outputs.EnvironmentNetworkConfiguration.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.mwaa.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * Configures the network resources of the environment.
 * @property securityGroupIds A list of security groups to use for the environment.
 * @property subnetIds A list of subnets to use for the environment. These must be private subnets, in the same VPC, in two different availability zones.
 */
public data class EnvironmentNetworkConfiguration(
    public val securityGroupIds: List? = null,
    public val subnetIds: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.mwaa.outputs.EnvironmentNetworkConfiguration): EnvironmentNetworkConfiguration = EnvironmentNetworkConfiguration(
            securityGroupIds = javaType.securityGroupIds().map({ args0 -> args0 }),
            subnetIds = javaType.subnetIds().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy