![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.fms.kotlin.inputs.PolicyNetworkFirewallPolicyArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.fms.kotlin.inputs
import com.pulumi.awsnative.fms.inputs.PolicyNetworkFirewallPolicyArgs.builder
import com.pulumi.awsnative.fms.kotlin.enums.PolicyFirewallDeploymentModel
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Network firewall policy.
* @property firewallDeploymentModel Defines the deployment model to use for the firewall policy. To use a distributed model, set [FirewallDeploymentModel](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-thirdpartyfirewallpolicy.html) to `DISTRIBUTED` .
*/
public data class PolicyNetworkFirewallPolicyArgs(
public val firewallDeploymentModel: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.fms.inputs.PolicyNetworkFirewallPolicyArgs =
com.pulumi.awsnative.fms.inputs.PolicyNetworkFirewallPolicyArgs.builder()
.firewallDeploymentModel(
firewallDeploymentModel.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [PolicyNetworkFirewallPolicyArgs].
*/
@PulumiTagMarker
public class PolicyNetworkFirewallPolicyArgsBuilder internal constructor() {
private var firewallDeploymentModel: Output? = null
/**
* @param value Defines the deployment model to use for the firewall policy. To use a distributed model, set [FirewallDeploymentModel](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-thirdpartyfirewallpolicy.html) to `DISTRIBUTED` .
*/
@JvmName("wsmrnjvbefleyymr")
public suspend fun firewallDeploymentModel(`value`: Output) {
this.firewallDeploymentModel = value
}
/**
* @param value Defines the deployment model to use for the firewall policy. To use a distributed model, set [FirewallDeploymentModel](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-thirdpartyfirewallpolicy.html) to `DISTRIBUTED` .
*/
@JvmName("mrpbwxqtqnxcpglr")
public suspend fun firewallDeploymentModel(`value`: PolicyFirewallDeploymentModel) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.firewallDeploymentModel = mapped
}
internal fun build(): PolicyNetworkFirewallPolicyArgs = PolicyNetworkFirewallPolicyArgs(
firewallDeploymentModel = firewallDeploymentModel ?: throw
PulumiNullFieldException("firewallDeploymentModel"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy