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

com.pulumi.awsnative.fms.kotlin.outputs.PolicyOption.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@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),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy