FirewallRuleGroupProps

class aws_cdk.aws_route53resolver.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 name

  • rules (Optional[Sequence[FirewallRule]]) – (experimental) A list of rules for this group. Default: - no rules

Stability

experimental

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

# firewall_domain_list is of type FirewallDomainList
# firewall_rule_action is of type FirewallRuleAction

firewall_rule_group_props = route53resolver.FirewallRuleGroupProps(
    name="name",
    rules=[route53resolver.FirewallRule(
        action=firewall_rule_action,
        firewall_domain_list=firewall_domain_list,
        priority=123
    )]
)

Attributes

name

(experimental) The name of the rule group.

Default
  • a CloudFormation generated name

Stability

experimental

Return type

Optional[str]

rules

(experimental) A list of rules for this group.

Default
  • no rules

Stability

experimental

Return type

Optional[List[FirewallRule]]