public static interface FirewallPolicy.Builder extends SdkPojo, CopyableBuilder<FirewallPolicy.Builder,FirewallPolicy>
| Modifier and Type | Method and Description |
|---|---|
default FirewallPolicy.Builder |
policyVariables(Consumer<PolicyVariables.Builder> policyVariables)
Contains variables that you can use to override default Suricata settings in your firewall policy.
|
FirewallPolicy.Builder |
policyVariables(PolicyVariables policyVariables)
Contains variables that you can use to override default Suricata settings in your firewall policy.
|
FirewallPolicy.Builder |
statefulDefaultActions(Collection<String> statefulDefaultActions)
The default actions to take on a packet that doesn't match any stateful rules.
|
FirewallPolicy.Builder |
statefulDefaultActions(String... statefulDefaultActions)
The default actions to take on a packet that doesn't match any stateful rules.
|
default FirewallPolicy.Builder |
statefulEngineOptions(Consumer<StatefulEngineOptions.Builder> statefulEngineOptions)
Additional options governing how Network Firewall handles stateful rules.
|
FirewallPolicy.Builder |
statefulEngineOptions(StatefulEngineOptions statefulEngineOptions)
Additional options governing how Network Firewall handles stateful rules.
|
FirewallPolicy.Builder |
statefulRuleGroupReferences(Collection<StatefulRuleGroupReference> statefulRuleGroupReferences)
References to the stateful rule groups that are used in the policy.
|
FirewallPolicy.Builder |
statefulRuleGroupReferences(Consumer<StatefulRuleGroupReference.Builder>... statefulRuleGroupReferences)
References to the stateful rule groups that are used in the policy.
|
FirewallPolicy.Builder |
statefulRuleGroupReferences(StatefulRuleGroupReference... statefulRuleGroupReferences)
References to the stateful rule groups that are used in the policy.
|
FirewallPolicy.Builder |
statelessCustomActions(Collection<CustomAction> statelessCustomActions)
The custom action definitions that are available for use in the firewall policy's
StatelessDefaultActions setting. |
FirewallPolicy.Builder |
statelessCustomActions(Consumer<CustomAction.Builder>... statelessCustomActions)
The custom action definitions that are available for use in the firewall policy's
StatelessDefaultActions setting. |
FirewallPolicy.Builder |
statelessCustomActions(CustomAction... statelessCustomActions)
The custom action definitions that are available for use in the firewall policy's
StatelessDefaultActions setting. |
FirewallPolicy.Builder |
statelessDefaultActions(Collection<String> statelessDefaultActions)
The actions to take on a packet if it doesn't match any of the stateless rules in the policy.
|
FirewallPolicy.Builder |
statelessDefaultActions(String... statelessDefaultActions)
The actions to take on a packet if it doesn't match any of the stateless rules in the policy.
|
FirewallPolicy.Builder |
statelessFragmentDefaultActions(Collection<String> statelessFragmentDefaultActions)
The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the policy.
|
FirewallPolicy.Builder |
statelessFragmentDefaultActions(String... statelessFragmentDefaultActions)
The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the policy.
|
FirewallPolicy.Builder |
statelessRuleGroupReferences(Collection<StatelessRuleGroupReference> statelessRuleGroupReferences)
References to the stateless rule groups that are used in the policy.
|
FirewallPolicy.Builder |
statelessRuleGroupReferences(Consumer<StatelessRuleGroupReference.Builder>... statelessRuleGroupReferences)
References to the stateless rule groups that are used in the policy.
|
FirewallPolicy.Builder |
statelessRuleGroupReferences(StatelessRuleGroupReference... statelessRuleGroupReferences)
References to the stateless rule groups that are used in the policy.
|
FirewallPolicy.Builder |
tlsInspectionConfigurationArn(String tlsInspectionConfigurationArn)
The Amazon Resource Name (ARN) of the TLS inspection configuration.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFirewallPolicy.Builder statelessRuleGroupReferences(Collection<StatelessRuleGroupReference> statelessRuleGroupReferences)
References to the stateless rule groups that are used in the policy. These define the matching criteria in stateless rules.
statelessRuleGroupReferences - References to the stateless rule groups that are used in the policy. These define the matching
criteria in stateless rules.FirewallPolicy.Builder statelessRuleGroupReferences(StatelessRuleGroupReference... statelessRuleGroupReferences)
References to the stateless rule groups that are used in the policy. These define the matching criteria in stateless rules.
statelessRuleGroupReferences - References to the stateless rule groups that are used in the policy. These define the matching
criteria in stateless rules.FirewallPolicy.Builder statelessRuleGroupReferences(Consumer<StatelessRuleGroupReference.Builder>... statelessRuleGroupReferences)
References to the stateless rule groups that are used in the policy. These define the matching criteria in stateless rules.
This is a convenience method that creates an instance of theStatelessRuleGroupReference.Builder avoiding
the need to create one manually via
StatelessRuleGroupReference.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #statelessRuleGroupReferences(List.
statelessRuleGroupReferences - a consumer that will call methods on
StatelessRuleGroupReference.Builder#statelessRuleGroupReferences(java.util.Collection) FirewallPolicy.Builder statelessDefaultActions(Collection<String> statelessDefaultActions)
The actions to take on a packet if it doesn't match any of the stateless rules in the policy. If you want
non-matching packets to be forwarded for stateful inspection, specify aws:forward_to_sfe.
You must specify one of the standard actions: aws:pass, aws:drop, or
aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with your
standard section choice.
For example, you could specify ["aws:pass"] or you could specify
["aws:pass", “customActionName”]. For information about compatibility, see the custom action
descriptions under CustomAction.
statelessDefaultActions - The actions to take on a packet if it doesn't match any of the stateless rules in the policy. If you
want non-matching packets to be forwarded for stateful inspection, specify
aws:forward_to_sfe.
You must specify one of the standard actions: aws:pass, aws:drop, or
aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with
your standard section choice.
For example, you could specify ["aws:pass"] or you could specify
["aws:pass", “customActionName”]. For information about compatibility, see the custom
action descriptions under CustomAction.
FirewallPolicy.Builder statelessDefaultActions(String... statelessDefaultActions)
The actions to take on a packet if it doesn't match any of the stateless rules in the policy. If you want
non-matching packets to be forwarded for stateful inspection, specify aws:forward_to_sfe.
You must specify one of the standard actions: aws:pass, aws:drop, or
aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with your
standard section choice.
For example, you could specify ["aws:pass"] or you could specify
["aws:pass", “customActionName”]. For information about compatibility, see the custom action
descriptions under CustomAction.
statelessDefaultActions - The actions to take on a packet if it doesn't match any of the stateless rules in the policy. If you
want non-matching packets to be forwarded for stateful inspection, specify
aws:forward_to_sfe.
You must specify one of the standard actions: aws:pass, aws:drop, or
aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with
your standard section choice.
For example, you could specify ["aws:pass"] or you could specify
["aws:pass", “customActionName”]. For information about compatibility, see the custom
action descriptions under CustomAction.
FirewallPolicy.Builder statelessFragmentDefaultActions(Collection<String> statelessFragmentDefaultActions)
The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the policy.
Network Firewall only manages UDP packet fragments and silently drops packet fragments for other protocols.
If you want non-matching fragmented UDP packets to be forwarded for stateful inspection, specify
aws:forward_to_sfe.
You must specify one of the standard actions: aws:pass, aws:drop, or
aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with your
standard section choice.
For example, you could specify ["aws:pass"] or you could specify
["aws:pass", “customActionName”]. For information about compatibility, see the custom action
descriptions under CustomAction.
statelessFragmentDefaultActions - The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the
policy. Network Firewall only manages UDP packet fragments and silently drops packet fragments for
other protocols. If you want non-matching fragmented UDP packets to be forwarded for stateful
inspection, specify aws:forward_to_sfe.
You must specify one of the standard actions: aws:pass, aws:drop, or
aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with
your standard section choice.
For example, you could specify ["aws:pass"] or you could specify
["aws:pass", “customActionName”]. For information about compatibility, see the custom
action descriptions under CustomAction.
FirewallPolicy.Builder statelessFragmentDefaultActions(String... statelessFragmentDefaultActions)
The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the policy.
Network Firewall only manages UDP packet fragments and silently drops packet fragments for other protocols.
If you want non-matching fragmented UDP packets to be forwarded for stateful inspection, specify
aws:forward_to_sfe.
You must specify one of the standard actions: aws:pass, aws:drop, or
aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with your
standard section choice.
For example, you could specify ["aws:pass"] or you could specify
["aws:pass", “customActionName”]. For information about compatibility, see the custom action
descriptions under CustomAction.
statelessFragmentDefaultActions - The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the
policy. Network Firewall only manages UDP packet fragments and silently drops packet fragments for
other protocols. If you want non-matching fragmented UDP packets to be forwarded for stateful
inspection, specify aws:forward_to_sfe.
You must specify one of the standard actions: aws:pass, aws:drop, or
aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with
your standard section choice.
For example, you could specify ["aws:pass"] or you could specify
["aws:pass", “customActionName”]. For information about compatibility, see the custom
action descriptions under CustomAction.
FirewallPolicy.Builder statelessCustomActions(Collection<CustomAction> statelessCustomActions)
The custom action definitions that are available for use in the firewall policy's
StatelessDefaultActions setting. You name each custom action that you define, and then you can
use it by name in your default actions specifications.
statelessCustomActions - The custom action definitions that are available for use in the firewall policy's
StatelessDefaultActions setting. You name each custom action that you define, and then
you can use it by name in your default actions specifications.FirewallPolicy.Builder statelessCustomActions(CustomAction... statelessCustomActions)
The custom action definitions that are available for use in the firewall policy's
StatelessDefaultActions setting. You name each custom action that you define, and then you can
use it by name in your default actions specifications.
statelessCustomActions - The custom action definitions that are available for use in the firewall policy's
StatelessDefaultActions setting. You name each custom action that you define, and then
you can use it by name in your default actions specifications.FirewallPolicy.Builder statelessCustomActions(Consumer<CustomAction.Builder>... statelessCustomActions)
The custom action definitions that are available for use in the firewall policy's
StatelessDefaultActions setting. You name each custom action that you define, and then you can
use it by name in your default actions specifications.
CustomAction.Builder avoiding the need to
create one manually via CustomAction.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #statelessCustomActions(List.
statelessCustomActions - a consumer that will call methods on
CustomAction.Builder#statelessCustomActions(java.util.Collection) FirewallPolicy.Builder statefulRuleGroupReferences(Collection<StatefulRuleGroupReference> statefulRuleGroupReferences)
References to the stateful rule groups that are used in the policy. These define the inspection criteria in stateful rules.
statefulRuleGroupReferences - References to the stateful rule groups that are used in the policy. These define the inspection
criteria in stateful rules.FirewallPolicy.Builder statefulRuleGroupReferences(StatefulRuleGroupReference... statefulRuleGroupReferences)
References to the stateful rule groups that are used in the policy. These define the inspection criteria in stateful rules.
statefulRuleGroupReferences - References to the stateful rule groups that are used in the policy. These define the inspection
criteria in stateful rules.FirewallPolicy.Builder statefulRuleGroupReferences(Consumer<StatefulRuleGroupReference.Builder>... statefulRuleGroupReferences)
References to the stateful rule groups that are used in the policy. These define the inspection criteria in stateful rules.
This is a convenience method that creates an instance of theStatefulRuleGroupReference.Builder avoiding the
need to create one manually via
StatefulRuleGroupReference.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #statefulRuleGroupReferences(List.
statefulRuleGroupReferences - a consumer that will call methods on
StatefulRuleGroupReference.Builder#statefulRuleGroupReferences(java.util.Collection) FirewallPolicy.Builder statefulDefaultActions(Collection<String> statefulDefaultActions)
The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional, and is only valid when using the strict rule order.
Valid values of the stateful default action:
aws:drop_strict
aws:drop_established
aws:alert_strict
aws:alert_established
For more information, see Strict evaluation order in the Network Firewall Developer Guide.
statefulDefaultActions - The default actions to take on a packet that doesn't match any stateful rules. The stateful default
action is optional, and is only valid when using the strict rule order.
Valid values of the stateful default action:
aws:drop_strict
aws:drop_established
aws:alert_strict
aws:alert_established
For more information, see Strict evaluation order in the Network Firewall Developer Guide.
FirewallPolicy.Builder statefulDefaultActions(String... statefulDefaultActions)
The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional, and is only valid when using the strict rule order.
Valid values of the stateful default action:
aws:drop_strict
aws:drop_established
aws:alert_strict
aws:alert_established
For more information, see Strict evaluation order in the Network Firewall Developer Guide.
statefulDefaultActions - The default actions to take on a packet that doesn't match any stateful rules. The stateful default
action is optional, and is only valid when using the strict rule order.
Valid values of the stateful default action:
aws:drop_strict
aws:drop_established
aws:alert_strict
aws:alert_established
For more information, see Strict evaluation order in the Network Firewall Developer Guide.
FirewallPolicy.Builder statefulEngineOptions(StatefulEngineOptions statefulEngineOptions)
Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings.
statefulEngineOptions - Additional options governing how Network Firewall handles stateful rules. The stateful rule groups
that you use in your policy must have stateful rule options settings that are compatible with these
settings.default FirewallPolicy.Builder statefulEngineOptions(Consumer<StatefulEngineOptions.Builder> statefulEngineOptions)
Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings.
This is a convenience method that creates an instance of theStatefulEngineOptions.Builder avoiding
the need to create one manually via StatefulEngineOptions.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to statefulEngineOptions(StatefulEngineOptions).
statefulEngineOptions - a consumer that will call methods on StatefulEngineOptions.BuilderstatefulEngineOptions(StatefulEngineOptions)FirewallPolicy.Builder tlsInspectionConfigurationArn(String tlsInspectionConfigurationArn)
The Amazon Resource Name (ARN) of the TLS inspection configuration.
tlsInspectionConfigurationArn - The Amazon Resource Name (ARN) of the TLS inspection configuration.FirewallPolicy.Builder policyVariables(PolicyVariables policyVariables)
Contains variables that you can use to override default Suricata settings in your firewall policy.
policyVariables - Contains variables that you can use to override default Suricata settings in your firewall policy.default FirewallPolicy.Builder policyVariables(Consumer<PolicyVariables.Builder> policyVariables)
Contains variables that you can use to override default Suricata settings in your firewall policy.
This is a convenience method that creates an instance of thePolicyVariables.Builder avoiding the
need to create one manually via PolicyVariables.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to policyVariables(PolicyVariables).
policyVariables - a consumer that will call methods on PolicyVariables.BuilderpolicyVariables(PolicyVariables)Copyright © 2023. All rights reserved.