Class CfnFirewallPolicy.Builder
java.lang.Object
software.amazon.awscdk.services.networkfirewall.CfnFirewallPolicy.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFirewallPolicy>
- Enclosing class:
CfnFirewallPolicy
@Stability(Stable)
public static final class CfnFirewallPolicy.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFirewallPolicy>
A fluent builder for
CfnFirewallPolicy
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnFirewallPolicy.Builder
description
(String description) A description of the firewall policy.firewallPolicy
(IResolvable firewallPolicy) The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings.firewallPolicy
(CfnFirewallPolicy.FirewallPolicyProperty firewallPolicy) The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings.firewallPolicyName
(String firewallPolicyName) The descriptive name of the firewall policy.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnFirewallPolicy.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
CfnFirewallPolicy.Builder
.
-
firewallPolicy
The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings.- Parameters:
firewallPolicy
- The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings. This parameter is required.- Returns:
this
- See Also:
-
firewallPolicy
@Stability(Stable) public CfnFirewallPolicy.Builder firewallPolicy(CfnFirewallPolicy.FirewallPolicyProperty firewallPolicy) The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings.- Parameters:
firewallPolicy
- The traffic filtering behavior of a firewall policy, defined in a collection of stateless and stateful rule groups and other settings. This parameter is required.- Returns:
this
- See Also:
-
firewallPolicyName
The descriptive name of the firewall policy.You can't change the name of a firewall policy after you create it.
- Parameters:
firewallPolicyName
- The descriptive name of the firewall policy. This parameter is required.- Returns:
this
- See Also:
-
description
A description of the firewall policy.- Parameters:
description
- A description of the firewall policy. 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<CfnFirewallPolicy>
- Returns:
- a newly built instance of
CfnFirewallPolicy
.
-