Interface CfnFirewallRuleGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFirewallRuleGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.363Z")
@Stability(Stable)
public interface CfnFirewallRuleGroupProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnFirewallRuleGroup.
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.route53resolver.*;
CfnFirewallRuleGroupProps cfnFirewallRuleGroupProps = CfnFirewallRuleGroupProps.builder()
.firewallRules(List.of(FirewallRuleProperty.builder()
.action("action")
.firewallDomainListId("firewallDomainListId")
.priority(123)
// the properties below are optional
.blockOverrideDnsType("blockOverrideDnsType")
.blockOverrideDomain("blockOverrideDomain")
.blockOverrideTtl(123)
.blockResponse("blockResponse")
.build()))
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFirewallRuleGroupPropsstatic final classAn implementation forCfnFirewallRuleGroupProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFirewallRules
A list of the rules that you have defined. -
getName
The name of the rule group. -
getTags
A list of the tag keys and values that you want to associate with the rule group. -
builder
- Returns:
- a
CfnFirewallRuleGroupProps.BuilderofCfnFirewallRuleGroupProps
-