FirewallRuleGroupProps
- class aws_cdk.aws_route53resolver_alpha.FirewallRuleGroupProps(*, name=None, rules=None)
Bases:
object
(experimental) Properties for a Firewall Rule Group.
- Parameters:
name (
Optional
[str
]) – (experimental) The name of the rule group. Default: - a CloudFormation generated namerules (
Optional
[Sequence
[Union
[FirewallRule
,Dict
[str
,Any
]]]]) – (experimental) A list of rules for this group. Default: - no rules
- Stability:
experimental
- ExampleMetadata:
infused
Example:
# my_block_list: route53resolver.FirewallDomainList route53resolver.FirewallRuleGroup(self, "RuleGroup", rules=[route53resolver.FirewallRule( priority=10, firewall_domain_list=my_block_list, # block and reply with NODATA action=route53resolver.FirewallRuleAction.block() ) ] )
Attributes
- name
(experimental) The name of the rule group.
- Default:
a CloudFormation generated name
- Stability:
experimental
- rules
(experimental) A list of rules for this group.
- Default:
no rules
- Stability:
experimental