CfnFirewallRuleGroupProps

class aws_cdk.aws_route53resolver.CfnFirewallRuleGroupProps(*, firewall_rules=None, name=None, tags=None)

Bases: object

Properties for defining a AWS::Route53Resolver::FirewallRuleGroup.

Parameters
  • firewall_rules (Union[IResolvable, Sequence[Union[FirewallRuleProperty, IResolvable]], None]) – AWS::Route53Resolver::FirewallRuleGroup.FirewallRules.

  • name (Optional[str]) – AWS::Route53Resolver::FirewallRuleGroup.Name.

  • tags (Optional[Sequence[CfnTag]]) – AWS::Route53Resolver::FirewallRuleGroup.Tags.

Link

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

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

AWS::Route53Resolver::FirewallRuleGroup.FirewallRules.

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

AWS::Route53Resolver::FirewallRuleGroup.Name.

Link

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

Return type

Optional[str]

tags

AWS::Route53Resolver::FirewallRuleGroup.Tags.

Link

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

Return type

Optional[List[CfnTag]]