Interface IgwFirewallConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IgwFirewallConfig.Builder,,IgwFirewallConfig> SdkBuilder<IgwFirewallConfig.Builder,,IgwFirewallConfig> SdkPojo
- Enclosing class:
IgwFirewallConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefaultSubnetConnectivity(String defaultSubnetConnectivity) The default internet connectivity treatment that AWS Network Security Manager applies to subnets in scope, unless a subnet connectivity override applies.defaultSubnetConnectivity(DefaultSubnetConnectivity defaultSubnetConnectivity) The default internet connectivity treatment that AWS Network Security Manager applies to subnets in scope, unless a subnet connectivity override applies.subnetConnectivityOverrides(Collection<SubnetConnectivityOverride> subnetConnectivityOverrides) An ordered list of overrides that apply a different connectivity treatment to the subnets that a scope selects.subnetConnectivityOverrides(Consumer<SubnetConnectivityOverride.Builder>... subnetConnectivityOverrides) An ordered list of overrides that apply a different connectivity treatment to the subnets that a scope selects.subnetConnectivityOverrides(SubnetConnectivityOverride... subnetConnectivityOverrides) An ordered list of overrides that apply a different connectivity treatment to the subnets that a scope selects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
defaultSubnetConnectivity
The default internet connectivity treatment that AWS Network Security Manager applies to subnets in scope, unless a subnet connectivity override applies. Required for Network Firewall automated internet firewall policies. Valid values:
-
flexible– Sets the connectivity for each network interface in the subnet based on whether it is associated with a public IP address. A network interface with a public IP address gets bidirectional internet connectivity. A network interface without a public IP address gets outbound-only connectivity. All traffic is inspected against your firewall rules. -
bidirectional– Provides bidirectional internet connectivity to every network interface that has a public IP association. Any network interface without a public IP cannot communicate with the internet unless a NAT device is explicitly inserted in the path. All inbound and outbound traffic is inspected against your firewall rules. -
outbound-only– Provides egress-only connectivity for all network interfaces in the subnet. All outbound traffic and inbound responses are inspected against your firewall rules. Unsolicited inbound connections are dropped. For IPv4 traffic, the Network Firewall automated internet firewall performs NAT.
- Parameters:
defaultSubnetConnectivity- The default internet connectivity treatment that AWS Network Security Manager applies to subnets in scope, unless a subnet connectivity override applies. Required for Network Firewall automated internet firewall policies. Valid values:-
flexible– Sets the connectivity for each network interface in the subnet based on whether it is associated with a public IP address. A network interface with a public IP address gets bidirectional internet connectivity. A network interface without a public IP address gets outbound-only connectivity. All traffic is inspected against your firewall rules. -
bidirectional– Provides bidirectional internet connectivity to every network interface that has a public IP association. Any network interface without a public IP cannot communicate with the internet unless a NAT device is explicitly inserted in the path. All inbound and outbound traffic is inspected against your firewall rules. -
outbound-only– Provides egress-only connectivity for all network interfaces in the subnet. All outbound traffic and inbound responses are inspected against your firewall rules. Unsolicited inbound connections are dropped. For IPv4 traffic, the Network Firewall automated internet firewall performs NAT.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
defaultSubnetConnectivity
IgwFirewallConfig.Builder defaultSubnetConnectivity(DefaultSubnetConnectivity defaultSubnetConnectivity) The default internet connectivity treatment that AWS Network Security Manager applies to subnets in scope, unless a subnet connectivity override applies. Required for Network Firewall automated internet firewall policies. Valid values:
-
flexible– Sets the connectivity for each network interface in the subnet based on whether it is associated with a public IP address. A network interface with a public IP address gets bidirectional internet connectivity. A network interface without a public IP address gets outbound-only connectivity. All traffic is inspected against your firewall rules. -
bidirectional– Provides bidirectional internet connectivity to every network interface that has a public IP association. Any network interface without a public IP cannot communicate with the internet unless a NAT device is explicitly inserted in the path. All inbound and outbound traffic is inspected against your firewall rules. -
outbound-only– Provides egress-only connectivity for all network interfaces in the subnet. All outbound traffic and inbound responses are inspected against your firewall rules. Unsolicited inbound connections are dropped. For IPv4 traffic, the Network Firewall automated internet firewall performs NAT.
- Parameters:
defaultSubnetConnectivity- The default internet connectivity treatment that AWS Network Security Manager applies to subnets in scope, unless a subnet connectivity override applies. Required for Network Firewall automated internet firewall policies. Valid values:-
flexible– Sets the connectivity for each network interface in the subnet based on whether it is associated with a public IP address. A network interface with a public IP address gets bidirectional internet connectivity. A network interface without a public IP address gets outbound-only connectivity. All traffic is inspected against your firewall rules. -
bidirectional– Provides bidirectional internet connectivity to every network interface that has a public IP association. Any network interface without a public IP cannot communicate with the internet unless a NAT device is explicitly inserted in the path. All inbound and outbound traffic is inspected against your firewall rules. -
outbound-only– Provides egress-only connectivity for all network interfaces in the subnet. All outbound traffic and inbound responses are inspected against your firewall rules. Unsolicited inbound connections are dropped. For IPv4 traffic, the Network Firewall automated internet firewall performs NAT.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
subnetConnectivityOverrides
IgwFirewallConfig.Builder subnetConnectivityOverrides(Collection<SubnetConnectivityOverride> subnetConnectivityOverrides) An ordered list of overrides that apply a different connectivity treatment to the subnets that a scope selects. When a subnet matches more than one override, the first matching override in the list applies. You can specify at most one override for each connectivity type.
- Parameters:
subnetConnectivityOverrides- An ordered list of overrides that apply a different connectivity treatment to the subnets that a scope selects. When a subnet matches more than one override, the first matching override in the list applies. You can specify at most one override for each connectivity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetConnectivityOverrides
IgwFirewallConfig.Builder subnetConnectivityOverrides(SubnetConnectivityOverride... subnetConnectivityOverrides) An ordered list of overrides that apply a different connectivity treatment to the subnets that a scope selects. When a subnet matches more than one override, the first matching override in the list applies. You can specify at most one override for each connectivity type.
- Parameters:
subnetConnectivityOverrides- An ordered list of overrides that apply a different connectivity treatment to the subnets that a scope selects. When a subnet matches more than one override, the first matching override in the list applies. You can specify at most one override for each connectivity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetConnectivityOverrides
IgwFirewallConfig.Builder subnetConnectivityOverrides(Consumer<SubnetConnectivityOverride.Builder>... subnetConnectivityOverrides) An ordered list of overrides that apply a different connectivity treatment to the subnets that a scope selects. When a subnet matches more than one override, the first matching override in the list applies. You can specify at most one override for each connectivity type.
This is a convenience method that creates an instance of theSubnetConnectivityOverride.Builderavoiding the need to create one manually viaSubnetConnectivityOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubnetConnectivityOverrides(List<SubnetConnectivityOverride>).- Parameters:
subnetConnectivityOverrides- a consumer that will call methods onSubnetConnectivityOverride.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-