update_firewall_config
(**kwargs)¶Updates 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.update_firewall_config(
ResourceId='string',
FirewallFailOpen='ENABLED'|'DISABLED'
)
[REQUIRED]
The ID of the VPC that the configuration is for.
[REQUIRED]
Determines how Route 53 Resolver handles queries 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.
dict
Response Syntax
{
'FirewallConfig': {
'Id': 'string',
'ResourceId': 'string',
'OwnerId': 'string',
'FirewallFailOpen': 'ENABLED'|'DISABLED'
}
}
Response Structure
(dict) --
FirewallConfig (dict) --
Configuration of the firewall behavior provided by DNS Firewall for a single VPC.
Id (string) --
The ID of the firewall configuration.
ResourceId (string) --
The ID of the VPC that this firewall configuration applies to.
OwnerId (string) --
The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
FirewallFailOpen (string) --
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.ValidationException
Route53Resolver.Client.exceptions.ResourceNotFoundException
Route53Resolver.Client.exceptions.AccessDeniedException
Route53Resolver.Client.exceptions.InternalServiceErrorException
Route53Resolver.Client.exceptions.ThrottlingException