@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.027Z") @Stability(value=Stable) public interface CfnFirewallProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networkfirewall.*;
CfnFirewallProps cfnFirewallProps = CfnFirewallProps.builder()
.firewallName("firewallName")
.firewallPolicyArn("firewallPolicyArn")
.subnetMappings(List.of(SubnetMappingProperty.builder()
.subnetId("subnetId")
.build()))
.vpcId("vpcId")
// the properties below are optional
.deleteProtection(false)
.description("description")
.firewallPolicyChangeProtection(false)
.subnetChangeProtection(false)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFirewallProps.Builder
A builder for
CfnFirewallProps |
static class |
CfnFirewallProps.Jsii$Proxy
An implementation for
CfnFirewallProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnFirewallProps.Builder |
builder() |
default Object |
getDeleteProtection()
A flag indicating whether it is possible to delete the firewall.
|
default String |
getDescription()
A description of the firewall.
|
String |
getFirewallName()
The descriptive name of the firewall.
|
String |
getFirewallPolicyArn()
The Amazon Resource Name (ARN) of the firewall policy.
|
default Object |
getFirewallPolicyChangeProtection()
A setting indicating whether the firewall is protected against a change to the firewall policy association.
|
default Object |
getSubnetChangeProtection()
A setting indicating whether the firewall is protected against changes to the subnet associations.
|
Object |
getSubnetMappings()
The public subnets that Network Firewall is using for the firewall.
|
default List<CfnTag> |
getTags()
An array of key-value pairs to apply to this resource.
|
String |
getVpcId()
The unique identifier of the VPC where the firewall is in use.
|
@Stability(value=Stable) @NotNull String getFirewallName()
You can't change the name of a firewall after you create it.
@Stability(value=Stable) @NotNull String getFirewallPolicyArn()
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.
@Stability(value=Stable) @NotNull Object getSubnetMappings()
Each subnet must belong to a different Availability Zone.
@Stability(value=Stable) @NotNull String getVpcId()
You can't change the VPC of a firewall after you create the firewall.
@Stability(value=Stable) @Nullable default Object getDeleteProtection()
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 to TRUE .
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Object getFirewallPolicyChangeProtection()
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 .
@Stability(value=Stable) @Nullable default Object getSubnetChangeProtection()
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 .
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
For more information, see Tag .
@Stability(value=Stable) static CfnFirewallProps.Builder builder()
CfnFirewallProps.Builder of CfnFirewallPropsCopyright © 2022. All rights reserved.