Data Source: aws_networkfirewall_firewall

Retrieve information about a firewall.

Example Usage

Find firewall policy by ARN

data "aws_networkfirewall_firewall" "example" {
  arn = aws_networkfirewall_firewall.arn
}

Find firewall policy by Name

data "aws_networkfirewall_firewall" "example" {
  name = "Test"
}

Find firewall policy by ARN and Name

data "aws_networkfirewall_firewall" "example" {
  arn  = aws_networkfirewall_firewall.arn
  name = "Test"
}

Argument Reference

One or more of the following arguments are required:

Attribute Reference

This data source exports the following attributes in addition to the arguments above: