CmdID

CmdID / aws / aws route53resolver

aws route53resolver get-firewall-config

Retrieves the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC). AWS CLI reference

1 example 1 option Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To get a firewall config for a VPC

The following get-firewall-config example retrieves the DNS Firewall behavior for the specified VPC.

aws route53resolver get-firewall-config --resource-id vpc-31e92222Identify
--resource-idThe ID of the VPC from Amazon VPC that the configuration is for.
Its output
{
    "FirewallConfig": {
        "Id": "rslvr-fc-86016850cexample",
        "ResourceId": "vpc-31e9222",
        "OwnerId": "123456789012",
        "FirewallFailOpen": "DISABLED"
    }
}

For more information, see DNS Firewall VPC configuration in the Amazon Route 53 Developer Guide.

Options

1 in the AWS CLI reference
--resource-idThe ID of the VPC from Amazon VPC that the configuration is for.