Class CfnFirewall.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFirewall>
- Enclosing class:
CfnFirewall
CfnFirewall
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnFirewall.Builder
deleteProtection
(Boolean deleteProtection) A flag indicating whether it is possible to delete the firewall.deleteProtection
(IResolvable deleteProtection) A flag indicating whether it is possible to delete the firewall.description
(String description) A description of the firewall.firewallName
(String firewallName) The descriptive name of the firewall.firewallPolicyArn
(String firewallPolicyArn) The Amazon Resource Name (ARN) of the firewall policy.firewallPolicyChangeProtection
(Boolean firewallPolicyChangeProtection) A setting indicating whether the firewall is protected against a change to the firewall policy association.firewallPolicyChangeProtection
(IResolvable firewallPolicyChangeProtection) A setting indicating whether the firewall is protected against a change to the firewall policy association.subnetChangeProtection
(Boolean subnetChangeProtection) A setting indicating whether the firewall is protected against changes to the subnet associations.subnetChangeProtection
(IResolvable subnetChangeProtection) A setting indicating whether the firewall is protected against changes to the subnet associations.subnetMappings
(List<? extends Object> subnetMappings) The public subnets that Network Firewall is using for the firewall.subnetMappings
(IResolvable subnetMappings) The public subnets that Network Firewall is using for the firewall.An array of key-value pairs to apply to this resource.The unique identifier of the VPC where the firewall is in use.
-
Method Details
-
create
@Stability(Stable) public static CfnFirewall.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnFirewall.Builder
.
-
firewallName
The descriptive name of the firewall.You can't change the name of a firewall after you create it.
- Parameters:
firewallName
- The descriptive name of the firewall. This parameter is required.- Returns:
this
- See Also:
-
firewallPolicyArn
The Amazon Resource Name (ARN) of the firewall policy.The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.
- Parameters:
firewallPolicyArn
- The Amazon Resource Name (ARN) of the firewall policy. This parameter is required.- Returns:
this
- See Also:
-
subnetMappings
The public subnets that Network Firewall is using for the firewall.Each subnet must belong to a different Availability Zone.
- Parameters:
subnetMappings
- The public subnets that Network Firewall is using for the firewall. This parameter is required.- Returns:
this
- See Also:
-
subnetMappings
The public subnets that Network Firewall is using for the firewall.Each subnet must belong to a different Availability Zone.
- Parameters:
subnetMappings
- The public subnets that Network Firewall is using for the firewall. This parameter is required.- Returns:
this
- See Also:
-
vpcId
The unique identifier of the VPC where the firewall is in use.You can't change the VPC of a firewall after you create the firewall.
- Parameters:
vpcId
- The unique identifier of the VPC where the firewall is in use. This parameter is required.- Returns:
this
- See Also:
-
deleteProtection
A flag indicating whether it is possible to delete the firewall.A setting of
TRUE
indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag toTRUE
.- Parameters:
deleteProtection
- A flag indicating whether it is possible to delete the firewall. This parameter is required.- Returns:
this
- See Also:
-
deleteProtection
A flag indicating whether it is possible to delete the firewall.A setting of
TRUE
indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag toTRUE
.- Parameters:
deleteProtection
- A flag indicating whether it is possible to delete the firewall. This parameter is required.- Returns:
this
- See Also:
-
description
A description of the firewall.- Parameters:
description
- A description of the firewall. This parameter is required.- Returns:
this
- See Also:
-
firewallPolicyChangeProtection
@Stability(Stable) public CfnFirewall.Builder firewallPolicyChangeProtection(Boolean firewallPolicyChangeProtection) A setting indicating whether the firewall is protected against a change to the firewall policy association.Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to
TRUE
.- Parameters:
firewallPolicyChangeProtection
- A setting indicating whether the firewall is protected against a change to the firewall policy association. This parameter is required.- Returns:
this
- See Also:
-
firewallPolicyChangeProtection
@Stability(Stable) public CfnFirewall.Builder firewallPolicyChangeProtection(IResolvable firewallPolicyChangeProtection) A setting indicating whether the firewall is protected against a change to the firewall policy association.Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to
TRUE
.- Parameters:
firewallPolicyChangeProtection
- A setting indicating whether the firewall is protected against a change to the firewall policy association. This parameter is required.- Returns:
this
- See Also:
-
subnetChangeProtection
@Stability(Stable) public CfnFirewall.Builder subnetChangeProtection(Boolean subnetChangeProtection) A setting indicating whether the firewall is protected against changes to the subnet associations.Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to
TRUE
.- Parameters:
subnetChangeProtection
- A setting indicating whether the firewall is protected against changes to the subnet associations. This parameter is required.- Returns:
this
- See Also:
-
subnetChangeProtection
@Stability(Stable) public CfnFirewall.Builder subnetChangeProtection(IResolvable subnetChangeProtection) A setting indicating whether the firewall is protected against changes to the subnet associations.Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to
TRUE
.- Parameters:
subnetChangeProtection
- A setting indicating whether the firewall is protected against changes to the subnet associations. This parameter is required.- Returns:
this
- See Also:
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags
- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFirewall>
- Returns:
- a newly built instance of
CfnFirewall
.
-