update_firewall_rule_group_association
¶
update_firewall_rule_group_association(
firewall_rule_group_association_id: ResourceId,
*,
config_overrides: Optional[Route53ResolverClientConfig] = None,
priority: Optional[Priority] = None,
mutation_protection: Optional[MutationProtectionStatus] = None,
name: Optional[Name] = None,
) -> UpdateFirewallRuleGroupAssociationResponse
Changes the association of a FirewallRuleGroup with a VPC. The association enables DNS filtering for the VPC.
Parameters:
-
firewall_rule_group_association_id(ResourceId) –The identifier of the FirewallRuleGroupAssociation.
-
priority(Optional[Priority], default:None) –The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting.
You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for a rule group association after you create it.
-
mutation_protection(Optional[MutationProtectionStatus], default:None) –If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.
-
name(Optional[Name], default:None) –The name of the rule group association.
Raises:
-
AccessDeniedException–The current account doesn't have the IAM permissions required to perform the specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
-
ConflictException–The requested state transition isn't valid. For example, you can't delete a firewall domain list if it is in the process of being deleted, or you can't import domains into a domain list that is in the process of being deleted.
-
InternalServiceErrorException–We encountered an unknown error. Try again in a few minutes.
-
ResourceNotFoundException–The specified resource doesn't exist.
-
ThrottlingException–The request was throttled. Try again in a few minutes.
-
ValidationException–You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa domain. -
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_route53resolver/_services/route53_resolver.py
4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 | |