get_firewall_config
(**kwargs)¶Retrieves the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).
See also: AWS API Documentation
Request Syntax
response = client.get_firewall_config(
ResourceId='string'
)
[REQUIRED]
The ID of the VPC from Amazon VPC that the configuration is for.
{
'FirewallConfig': {
'Id': 'string',
'ResourceId': 'string',
'OwnerId': 'string',
'FirewallFailOpen': 'ENABLED'|'DISABLED'
}
}
Response Structure
Configuration of the firewall behavior provided by DNS Firewall for a single VPC from AmazonVPC.
The ID of the firewall configuration.
The ID of the VPC that this firewall configuration applies to.
The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
Determines how DNS Firewall operates during failures, for example when all traffic that is sent to DNS Firewall fails to receive a reply.
This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
Exceptions
Route53Resolver.Client.exceptions.ResourceNotFoundException
Route53Resolver.Client.exceptions.AccessDeniedException
Route53Resolver.Client.exceptions.InternalServiceErrorException
Route53Resolver.Client.exceptions.ThrottlingException
Route53Resolver.Client.exceptions.ValidationException