---
title: "POST /profileresourceassociation"
method: POST
path: "/profileresourceassociation"
---

# POST /profileresourceassociation

`POST /profileresourceassociation`

Associates a DNS reource configuration to a Route 53 Profile.

## Request body

- object
  - `Name` string, required — Name for the resource association.
  - `ProfileId` string, required — ID of the Profile.
  - `ResourceArn` string, required — Amazon resource number, ARN, of the DNS resource.
  - `ResourceProperties` string — <p> If you are adding a DNS Firewall rule group, include also a priority. The priority indicates the processing order for the rule groups, starting with the priority assinged the lowest value. </p> <p>The allowed values for priority are between 100 and 9900.</p>

## Response `200`

Success

- AssociateResourceToProfileResponse
  - `ProfileResourceAssociation` object — Infromation about the <code>AssociateResourceToProfile</code>, including a status message.
    - `CreationTime` string, date-time — The date and time that the Profile resource association was created, in Unix time format and Coordinated Universal Time (UTC).
    - `Id` string — ID of the Profile resource association.
    - `ModificationTime` string, date-time — The date and time that the Profile resource association was modified, in Unix time format and Coordinated Universal Time (UTC).
    - `Name` string — Name of the Profile resource association.
    - `OwnerId` string — Amazon Web Services account ID of the Profile resource association owner.
    - `ProfileId` string — Profile ID of the Profile that the resources are associated with.
    - `ResourceArn` string — The Amazon Resource Name (ARN) of the resource association.
    - `ResourceProperties` string — If the DNS resource is a DNS Firewall rule group, this indicates the priority.
    - `ResourceType` string — Resource type, such as a private hosted zone, or DNS Firewall rule group.
    - `Status` 'COMPLETE' | 'DELETING' | 'UPDATING' | 'CREATING' | 'DELETED' | 'FAILED' — Status of the Profile resource association.
    - `StatusMessage` string — Additional information about the Profile resource association.

## Other responses

- `480` — ResourceNotFoundException
- `481` — LimitExceededException
- `482` — InternalServiceErrorException
- `483` — InvalidParameterException
- `484` — ThrottlingException
- `485` — ValidationException
- `486` — AccessDeniedException
- `487` — ConflictException

---

[API](https://skmtc.net/aws/apis/route53profiles.md) · [All operations](https://skmtc.net/aws/apis/route53profiles/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/route53profiles/versions/33f7afbcbb9d/schema)
