Associates a Route 53 Profiles profile with a VPC. A VPC can have up to two Profile associations. A Profile can be associated with up to 1,000 VPCs, and you can request a higher quota for the number of VPCs. For more information, see
Quotas on Route 53 Profiles.
Route 53 VPC Resolver evaluates the Profile associations for a VPC in priority order, starting with the lowest
Priority value. If the VPC has no other Profile associations, you can omit
Priority, and the association gets priority 100. When the VPC already has a Profile association, you must specify a
Priority, and each Profile association for the VPC must have a unique priority. To change the priority of an existing association, use
UpdateProfileAssociation.
The request fails with a
ValidationException in these cases:
- You omit Priority, and the VPC already has a Profile association.
- Another Profile association for the VPC already uses the priority that you specify.
- The priority is outside the range 100–9900.
- The Profile is already associated with the VPC, and you specify a different Name or Priority. To change the priority, use UpdateProfileAssociation.
The request fails with a
LimitExceededException if the VPC already has the maximum number of Profile associations.