Skip to content

Data Source: awsWafRule

awsWafRule Retrieves a WAF Rule Resource Id.

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.dataAwsWafRule.DataAwsWafRule(this, "example", {
  name: "tfWAFRule",
});

Argument Reference

The following arguments are supported:

  • name - (Required) Name of the WAF rule.

Attributes Reference

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

  • id - ID of the WAF rule.