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

com.pulumi.aws.networkfirewall.kotlin.outputs.GetFirewallPolicyFirewallPolicy.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.networkfirewall.kotlin.outputs

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

/**
 *
 * @property statefulDefaultActions
 * @property statefulEngineOptions
 * @property statefulRuleGroupReferences
 * @property statelessCustomActions
 * @property statelessDefaultActions
 * @property statelessFragmentDefaultActions
 * @property statelessRuleGroupReferences
 * @property tlsInspectionConfigurationArn
 */
public data class GetFirewallPolicyFirewallPolicy(
    public val statefulDefaultActions: List,
    public val statefulEngineOptions: List,
    public val statefulRuleGroupReferences: List,
    public val statelessCustomActions: List,
    public val statelessDefaultActions: List,
    public val statelessFragmentDefaultActions: List,
    public val statelessRuleGroupReferences: List,
    public val tlsInspectionConfigurationArn: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.networkfirewall.outputs.GetFirewallPolicyFirewallPolicy): GetFirewallPolicyFirewallPolicy = GetFirewallPolicyFirewallPolicy(
            statefulDefaultActions = javaType.statefulDefaultActions().map({ args0 -> args0 }),
            statefulEngineOptions = javaType.statefulEngineOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.networkfirewall.kotlin.outputs.GetFirewallPolicyFirewallPolicyStatefulEngineOption.Companion.toKotlin(args0)
                })
            }),
            statefulRuleGroupReferences = javaType.statefulRuleGroupReferences().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.networkfirewall.kotlin.outputs.GetFirewallPolicyFirewallPolicyStatefulRuleGroupReference.Companion.toKotlin(args0)
                })
            }),
            statelessCustomActions = javaType.statelessCustomActions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.networkfirewall.kotlin.outputs.GetFirewallPolicyFirewallPolicyStatelessCustomAction.Companion.toKotlin(args0)
                })
            }),
            statelessDefaultActions = javaType.statelessDefaultActions().map({ args0 -> args0 }),
            statelessFragmentDefaultActions = javaType.statelessFragmentDefaultActions().map({ args0 ->
                args0
            }),
            statelessRuleGroupReferences = javaType.statelessRuleGroupReferences().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.networkfirewall.kotlin.outputs.GetFirewallPolicyFirewallPolicyStatelessRuleGroupReference.Companion.toKotlin(args0)
                })
            }),
            tlsInspectionConfigurationArn = javaType.tlsInspectionConfigurationArn(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy