com.pulumi.awsnative.fms.kotlin.outputs.PolicyOption.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.fms.kotlin.outputs
import kotlin.Suppress
/**
* Firewall policy option.
* @property networkAclCommonPolicy Defines a Firewall Manager network ACL policy.
* @property networkFirewallPolicy Defines the deployment model to use for the firewall policy.
* @property thirdPartyFirewallPolicy Defines the policy options for a third-party firewall policy.
*/
public data class PolicyOption(
public val networkAclCommonPolicy: PolicyNetworkAclCommonPolicy? = null,
public val networkFirewallPolicy: PolicyNetworkFirewallPolicy? = null,
public val thirdPartyFirewallPolicy: PolicyThirdPartyFirewallPolicy? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.fms.outputs.PolicyOption): PolicyOption =
PolicyOption(
networkAclCommonPolicy = javaType.networkAclCommonPolicy().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.fms.kotlin.outputs.PolicyNetworkAclCommonPolicy.Companion.toKotlin(args0)
})
}).orElse(null),
networkFirewallPolicy = javaType.networkFirewallPolicy().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.fms.kotlin.outputs.PolicyNetworkFirewallPolicy.Companion.toKotlin(args0)
})
}).orElse(null),
thirdPartyFirewallPolicy = javaType.thirdPartyFirewallPolicy().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.fms.kotlin.outputs.PolicyThirdPartyFirewallPolicy.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}