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
[IResolvable
,FirewallRuleProperty
,Dict
[str
,Any
]]],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.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import 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", firewall_domain_redirection_action="firewallDomainRedirectionAction", qtype="qtype" )], 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.