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, IResolvable]], None]) – A list of the rules that you have defined.

  • name (Optional[str]) – The name of the rule group.

  • tags (Optional[Sequence[CfnTag]]) – A list of the tag keys and values that you want to associate with the rule group.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewallrulegroup.html

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.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewallrulegroup.html#cfn-route53resolver-firewallrulegroup-firewallrules

Return type

Union[IResolvable, List[Union[FirewallRuleProperty, IResolvable]], None]

name

The name of the rule group.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewallrulegroup.html#cfn-route53resolver-firewallrulegroup-name

Return type

Optional[str]

tags

A list of the tag keys and values that you want to associate with the rule group.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewallrulegroup.html#cfn-route53resolver-firewallrulegroup-tags

Return type

Optional[List[CfnTag]]