Skip to content

Resource: awsRoute53ResolverFirewallRuleGroup

Provides a Route 53 Resolver DNS Firewall rule group resource.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.route53ResolverFirewallRuleGroup.Route53ResolverFirewallRuleGroup(
  this,
  "example",
  {
    name: "example",
  }
);

Argument Reference

The following argument is supported:

  • name - (Required) A name that lets you identify the rule group, to manage and use it.
  • tags - (Optional) A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • arn - The ARN (Amazon Resource Name) of the rule group.
  • id - The ID of the rule group.
  • ownerId - The AWS account ID for the account that created the rule group. When a rule group is shared with your account, this is the account that has shared the rule group with you.
  • shareStatus - Whether the rule group is shared with other AWS accounts, or was shared with the current account by another AWS account. Sharing is configured through AWS Resource Access Manager (AWS RAM). Valid values: NOT_SHARED, SHARED_BY_ME, SHARED_WITH_ME
  • tagsAll - A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

Import

Route 53 Resolver DNS Firewall rule groups can be imported using the Route 53 Resolver DNS Firewall rule group ID, e.g.,

$ terraform import aws_route53_resolver_firewall_rule_group.example rslvr-frg-0123456789abcdef