com.pulumi.aws.ec2.kotlin.outputs.GetNetworkInsightsAnalysisExplanationAclRule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.ec2.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property cidr
* @property egress
* @property portRanges
* @property protocol
* @property ruleAction
* @property ruleNumber
*/
public data class GetNetworkInsightsAnalysisExplanationAclRule(
public val cidr: String,
public val egress: Boolean,
public val portRanges: List,
public val protocol: String,
public val ruleAction: String,
public val ruleNumber: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.ec2.outputs.GetNetworkInsightsAnalysisExplanationAclRule): GetNetworkInsightsAnalysisExplanationAclRule = GetNetworkInsightsAnalysisExplanationAclRule(
cidr = javaType.cidr(),
egress = javaType.egress(),
portRanges = javaType.portRanges().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.ec2.kotlin.outputs.GetNetworkInsightsAnalysisExplanationAclRulePortRange.Companion.toKotlin(args0)
})
}),
protocol = javaType.protocol(),
ruleAction = javaType.ruleAction(),
ruleNumber = javaType.ruleNumber(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy