CfnFirewallRuleGroupProps
- class aws_cdk.aws_route53resolver.CfnFirewallRuleGroupProps(*, firewall_rules=None, name=None, tags=None)
Bases:
object
Properties for defining a
CfnFirewallRuleGroup
.- Parameters:
firewall_rules (
Union
[IResolvable
,Sequence
[Union
[FirewallRuleProperty
,Dict
[str
,Any
],IResolvable
]],None
]) – A list of the rules that you have defined.name (
Optional
[str
]) – The name of the rule group.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – A list of the tag keys and values that you want to associate with the rule group.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_route53resolver as route53resolver cfn_firewall_rule_group_props = route53resolver.CfnFirewallRuleGroupProps( firewall_rules=[route53resolver.CfnFirewallRuleGroup.FirewallRuleProperty( action="action", firewall_domain_list_id="firewallDomainListId", priority=123, # the properties below are optional block_override_dns_type="blockOverrideDnsType", block_override_domain="blockOverrideDomain", block_override_ttl=123, block_response="blockResponse" )], name="name", tags=[CfnTag( key="key", value="value" )] )
Attributes
- firewall_rules
A list of the rules that you have defined.
- name
The name of the rule group.
- tags
A list of the tag keys and values that you want to associate with the rule group.