Class FirewallPolicyFirewallPolicyArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.networkfirewall.inputs.FirewallPolicyFirewallPolicyArgs.Builder
-
- Enclosing class:
- FirewallPolicyFirewallPolicyArgs
public static final class FirewallPolicyFirewallPolicyArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(FirewallPolicyFirewallPolicyArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(FirewallPolicyFirewallPolicyArgs defaults)
-
-
Method Detail
-
enableTlsSessionHolding
public FirewallPolicyFirewallPolicyArgs.Builder enableTlsSessionHolding(@Nullable com.pulumi.core.Output<java.lang.Boolean> enableTlsSessionHolding)
- Parameters:
enableTlsSessionHolding- Boolean indicating whether to prevent TCP and TLS packets from reaching destination servers until TLS Inspection has evaluated Server Name Indication (SNI) rules. If `true`, `tlsInspectionConfigurationArn` is required. Default value: `false`.- Returns:
- builder
-
enableTlsSessionHolding
public FirewallPolicyFirewallPolicyArgs.Builder enableTlsSessionHolding(java.lang.Boolean enableTlsSessionHolding)
- Parameters:
enableTlsSessionHolding- Boolean indicating whether to prevent TCP and TLS packets from reaching destination servers until TLS Inspection has evaluated Server Name Indication (SNI) rules. If `true`, `tlsInspectionConfigurationArn` is required. Default value: `false`.- Returns:
- builder
-
policyVariables
public FirewallPolicyFirewallPolicyArgs.Builder policyVariables(@Nullable com.pulumi.core.Output<FirewallPolicyFirewallPolicyPolicyVariablesArgs> policyVariables)
- Parameters:
policyVariables- . Contains variables that you can use to override default Suricata settings in your firewall policy. See Rule Variables for details.- Returns:
- builder
-
policyVariables
public FirewallPolicyFirewallPolicyArgs.Builder policyVariables(FirewallPolicyFirewallPolicyPolicyVariablesArgs policyVariables)
- Parameters:
policyVariables- . Contains variables that you can use to override default Suricata settings in your firewall policy. See Rule Variables for details.- Returns:
- builder
-
statefulDefaultActions
public FirewallPolicyFirewallPolicyArgs.Builder statefulDefaultActions(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> statefulDefaultActions)
- Parameters:
statefulDefaultActions- Set of actions to take on a packet if it does not match any stateful rules in the policy. This can only be specified if the policy has a `statefulEngineOptions` block with a `ruleOrder` value of `STRICT_ORDER`. Value values: `aws:drop_strict`, `aws:drop_established`, `aws:drop_established_app_layer`, `aws:alert_strict`, ` aws:alert_established, `aws:alert_established_app_layer`. For more information, see [Strict evaluation order](https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html#suricata-strict-rule-evaluation-order.html) in the AWS Network Firewall Developer Guide.- Returns:
- builder
-
statefulDefaultActions
public FirewallPolicyFirewallPolicyArgs.Builder statefulDefaultActions(java.util.List<java.lang.String> statefulDefaultActions)
- Parameters:
statefulDefaultActions- Set of actions to take on a packet if it does not match any stateful rules in the policy. This can only be specified if the policy has a `statefulEngineOptions` block with a `ruleOrder` value of `STRICT_ORDER`. Value values: `aws:drop_strict`, `aws:drop_established`, `aws:drop_established_app_layer`, `aws:alert_strict`, ` aws:alert_established, `aws:alert_established_app_layer`. For more information, see [Strict evaluation order](https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html#suricata-strict-rule-evaluation-order.html) in the AWS Network Firewall Developer Guide.- Returns:
- builder
-
statefulDefaultActions
public FirewallPolicyFirewallPolicyArgs.Builder statefulDefaultActions(java.lang.String... statefulDefaultActions)
- Parameters:
statefulDefaultActions- Set of actions to take on a packet if it does not match any stateful rules in the policy. This can only be specified if the policy has a `statefulEngineOptions` block with a `ruleOrder` value of `STRICT_ORDER`. Value values: `aws:drop_strict`, `aws:drop_established`, `aws:drop_established_app_layer`, `aws:alert_strict`, ` aws:alert_established, `aws:alert_established_app_layer`. For more information, see [Strict evaluation order](https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html#suricata-strict-rule-evaluation-order.html) in the AWS Network Firewall Developer Guide.- Returns:
- builder
-
statefulEngineOptions
public FirewallPolicyFirewallPolicyArgs.Builder statefulEngineOptions(@Nullable com.pulumi.core.Output<FirewallPolicyFirewallPolicyStatefulEngineOptionsArgs> statefulEngineOptions)
- Parameters:
statefulEngineOptions- A configuration block that defines options on how the policy handles stateful rules. See Stateful Engine Options below for details.- Returns:
- builder
-
statefulEngineOptions
public FirewallPolicyFirewallPolicyArgs.Builder statefulEngineOptions(FirewallPolicyFirewallPolicyStatefulEngineOptionsArgs statefulEngineOptions)
- Parameters:
statefulEngineOptions- A configuration block that defines options on how the policy handles stateful rules. See Stateful Engine Options below for details.- Returns:
- builder
-
statefulRuleGroupReferences
public FirewallPolicyFirewallPolicyArgs.Builder statefulRuleGroupReferences(@Nullable com.pulumi.core.Output<java.util.List<FirewallPolicyFirewallPolicyStatefulRuleGroupReferenceArgs>> statefulRuleGroupReferences)
- Parameters:
statefulRuleGroupReferences- Set of configuration blocks containing references to the stateful rule groups that are used in the policy. See Stateful Rule Group Reference below for details.- Returns:
- builder
-
statefulRuleGroupReferences
public FirewallPolicyFirewallPolicyArgs.Builder statefulRuleGroupReferences(java.util.List<FirewallPolicyFirewallPolicyStatefulRuleGroupReferenceArgs> statefulRuleGroupReferences)
- Parameters:
statefulRuleGroupReferences- Set of configuration blocks containing references to the stateful rule groups that are used in the policy. See Stateful Rule Group Reference below for details.- Returns:
- builder
-
statefulRuleGroupReferences
public FirewallPolicyFirewallPolicyArgs.Builder statefulRuleGroupReferences(FirewallPolicyFirewallPolicyStatefulRuleGroupReferenceArgs... statefulRuleGroupReferences)
- Parameters:
statefulRuleGroupReferences- Set of configuration blocks containing references to the stateful rule groups that are used in the policy. See Stateful Rule Group Reference below for details.- Returns:
- builder
-
statelessCustomActions
public FirewallPolicyFirewallPolicyArgs.Builder statelessCustomActions(@Nullable com.pulumi.core.Output<java.util.List<FirewallPolicyFirewallPolicyStatelessCustomActionArgs>> statelessCustomActions)
- Parameters:
statelessCustomActions- Set of configuration blocks describing the custom action definitions that are available for use in the firewall policy's `statelessDefaultActions`. See Stateless Custom Action below for details.- Returns:
- builder
-
statelessCustomActions
public FirewallPolicyFirewallPolicyArgs.Builder statelessCustomActions(java.util.List<FirewallPolicyFirewallPolicyStatelessCustomActionArgs> statelessCustomActions)
- Parameters:
statelessCustomActions- Set of configuration blocks describing the custom action definitions that are available for use in the firewall policy's `statelessDefaultActions`. See Stateless Custom Action below for details.- Returns:
- builder
-
statelessCustomActions
public FirewallPolicyFirewallPolicyArgs.Builder statelessCustomActions(FirewallPolicyFirewallPolicyStatelessCustomActionArgs... statelessCustomActions)
- Parameters:
statelessCustomActions- Set of configuration blocks describing the custom action definitions that are available for use in the firewall policy's `statelessDefaultActions`. See Stateless Custom Action below for details.- Returns:
- builder
-
statelessDefaultActions
public FirewallPolicyFirewallPolicyArgs.Builder statelessDefaultActions(com.pulumi.core.Output<java.util.List<java.lang.String>> statelessDefaultActions)
- Parameters:
statelessDefaultActions- Set of actions to take on a packet if it does not match any of the stateless rules in the policy. You must specify one of the standard actions including: `aws:drop`, `aws:pass`, or `aws:forward_to_sfe`. In addition, you can specify custom actions that are compatible with your standard action choice. If you want non-matching packets to be forwarded for stateful inspection, specify `aws:forward_to_sfe`.- Returns:
- builder
-
statelessDefaultActions
public FirewallPolicyFirewallPolicyArgs.Builder statelessDefaultActions(java.util.List<java.lang.String> statelessDefaultActions)
- Parameters:
statelessDefaultActions- Set of actions to take on a packet if it does not match any of the stateless rules in the policy. You must specify one of the standard actions including: `aws:drop`, `aws:pass`, or `aws:forward_to_sfe`. In addition, you can specify custom actions that are compatible with your standard action choice. If you want non-matching packets to be forwarded for stateful inspection, specify `aws:forward_to_sfe`.- Returns:
- builder
-
statelessDefaultActions
public FirewallPolicyFirewallPolicyArgs.Builder statelessDefaultActions(java.lang.String... statelessDefaultActions)
- Parameters:
statelessDefaultActions- Set of actions to take on a packet if it does not match any of the stateless rules in the policy. You must specify one of the standard actions including: `aws:drop`, `aws:pass`, or `aws:forward_to_sfe`. In addition, you can specify custom actions that are compatible with your standard action choice. If you want non-matching packets to be forwarded for stateful inspection, specify `aws:forward_to_sfe`.- Returns:
- builder
-
statelessFragmentDefaultActions
public FirewallPolicyFirewallPolicyArgs.Builder statelessFragmentDefaultActions(com.pulumi.core.Output<java.util.List<java.lang.String>> statelessFragmentDefaultActions)
- Parameters:
statelessFragmentDefaultActions- Set of actions to take on a fragmented packet if it does not match any of the stateless rules in the policy. You must specify one of the standard actions including: `aws:drop`, `aws:pass`, or `aws:forward_to_sfe`. In addition, you can specify custom actions that are compatible with your standard action choice. If you want non-matching packets to be forwarded for stateful inspection, specify `aws:forward_to_sfe`.- Returns:
- builder
-
statelessFragmentDefaultActions
public FirewallPolicyFirewallPolicyArgs.Builder statelessFragmentDefaultActions(java.util.List<java.lang.String> statelessFragmentDefaultActions)
- Parameters:
statelessFragmentDefaultActions- Set of actions to take on a fragmented packet if it does not match any of the stateless rules in the policy. You must specify one of the standard actions including: `aws:drop`, `aws:pass`, or `aws:forward_to_sfe`. In addition, you can specify custom actions that are compatible with your standard action choice. If you want non-matching packets to be forwarded for stateful inspection, specify `aws:forward_to_sfe`.- Returns:
- builder
-
statelessFragmentDefaultActions
public FirewallPolicyFirewallPolicyArgs.Builder statelessFragmentDefaultActions(java.lang.String... statelessFragmentDefaultActions)
- Parameters:
statelessFragmentDefaultActions- Set of actions to take on a fragmented packet if it does not match any of the stateless rules in the policy. You must specify one of the standard actions including: `aws:drop`, `aws:pass`, or `aws:forward_to_sfe`. In addition, you can specify custom actions that are compatible with your standard action choice. If you want non-matching packets to be forwarded for stateful inspection, specify `aws:forward_to_sfe`.- Returns:
- builder
-
statelessRuleGroupReferences
public FirewallPolicyFirewallPolicyArgs.Builder statelessRuleGroupReferences(@Nullable com.pulumi.core.Output<java.util.List<FirewallPolicyFirewallPolicyStatelessRuleGroupReferenceArgs>> statelessRuleGroupReferences)
- Parameters:
statelessRuleGroupReferences- Set of configuration blocks containing references to the stateless rule groups that are used in the policy. See Stateless Rule Group Reference below for details.- Returns:
- builder
-
statelessRuleGroupReferences
public FirewallPolicyFirewallPolicyArgs.Builder statelessRuleGroupReferences(java.util.List<FirewallPolicyFirewallPolicyStatelessRuleGroupReferenceArgs> statelessRuleGroupReferences)
- Parameters:
statelessRuleGroupReferences- Set of configuration blocks containing references to the stateless rule groups that are used in the policy. See Stateless Rule Group Reference below for details.- Returns:
- builder
-
statelessRuleGroupReferences
public FirewallPolicyFirewallPolicyArgs.Builder statelessRuleGroupReferences(FirewallPolicyFirewallPolicyStatelessRuleGroupReferenceArgs... statelessRuleGroupReferences)
- Parameters:
statelessRuleGroupReferences- Set of configuration blocks containing references to the stateless rule groups that are used in the policy. See Stateless Rule Group Reference below for details.- Returns:
- builder
-
tlsInspectionConfigurationArn
public FirewallPolicyFirewallPolicyArgs.Builder tlsInspectionConfigurationArn(@Nullable com.pulumi.core.Output<java.lang.String> tlsInspectionConfigurationArn)
- Parameters:
tlsInspectionConfigurationArn- The (ARN) of the TLS Inspection policy to attach to the FW Policy. This must be added at creation of the resource per AWS documentation. "You can only add a TLS inspection configuration to a new policy, not to an existing policy." This cannot be removed from a FW Policy.- Returns:
- builder
-
tlsInspectionConfigurationArn
public FirewallPolicyFirewallPolicyArgs.Builder tlsInspectionConfigurationArn(java.lang.String tlsInspectionConfigurationArn)
- Parameters:
tlsInspectionConfigurationArn- The (ARN) of the TLS Inspection policy to attach to the FW Policy. This must be added at creation of the resource per AWS documentation. "You can only add a TLS inspection configuration to a new policy, not to an existing policy." This cannot be removed from a FW Policy.- Returns:
- builder
-
build
public FirewallPolicyFirewallPolicyArgs build()
-
-