

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::Route53Profiles::ProfileAssociation
<a name="aws-resource-route53profiles-profileassociation"></a>

 An association between a Route 53 Profile and a VPC. 

## Syntax
<a name="aws-resource-route53profiles-profileassociation-syntax"></a>

To declare this entity in your Amazon CloudFormation template, use the following syntax:

### JSON
<a name="aws-resource-route53profiles-profileassociation-syntax.json"></a>

```
{
  "Type" : "AWS::Route53Profiles::ProfileAssociation",
  "Properties" : {
      "[Arn](#cfn-route53profiles-profileassociation-arn)" : {{String}},
      "[Name](#cfn-route53profiles-profileassociation-name)" : {{String}},
      "[ProfileId](#cfn-route53profiles-profileassociation-profileid)" : {{String}},
      "[ResourceId](#cfn-route53profiles-profileassociation-resourceid)" : {{String}},
      "[Tags](#cfn-route53profiles-profileassociation-tags)" : {{[ Tag, ... ]}}
    }
}
```

### YAML
<a name="aws-resource-route53profiles-profileassociation-syntax.yaml"></a>

```
Type: AWS::Route53Profiles::ProfileAssociation
Properties:
  [Arn](#cfn-route53profiles-profileassociation-arn): {{String}}
  [Name](#cfn-route53profiles-profileassociation-name): {{String}}
  [ProfileId](#cfn-route53profiles-profileassociation-profileid): {{String}}
  [ResourceId](#cfn-route53profiles-profileassociation-resourceid): {{String}}
  [Tags](#cfn-route53profiles-profileassociation-tags): {{
    - Tag}}
```

## Properties
<a name="aws-resource-route53profiles-profileassociation-properties"></a>

`Arn`  <a name="cfn-route53profiles-profileassociation-arn"></a>
The Amazon Resource Name (ARN) of the profile association to a VPC.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Name`  <a name="cfn-route53profiles-profileassociation-name"></a>
 Name of the Profile association.   
*Required*: Yes  
*Type*: String  
*Pattern*: `(?!^[0-9]+$)([a-zA-Z0-9\-_' ']+)`  
*Minimum*: `0`  
*Maximum*: `64`  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`ProfileId`  <a name="cfn-route53profiles-profileassociation-profileid"></a>
 ID of the Profile.   
Update to this property requires update to the `ResourceId` property as well, because you can only associate one Profile per VPC. For more information, see [Route 53 Profiles](https://docs.amazonaws.cn/Route53/latest/DeveloperGuide/profiles.html).  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `64`  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`ResourceId`  <a name="cfn-route53profiles-profileassociation-resourceid"></a>
 The ID of the VPC.   
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `64`  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`Tags`  <a name="cfn-route53profiles-profileassociation-tags"></a>
Property description not available.  
*Required*: No  
*Type*: Array of [Tag](aws-properties-route53profiles-profileassociation-tag.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

## Return values
<a name="aws-resource-route53profiles-profileassociation-return-values"></a>

### Ref
<a name="aws-resource-route53profiles-profileassociation-return-values-ref"></a>

When you pass the logical ID of this resource to the intrinsic `Ref` function, `Ref` returns`ProfileAssociation` ID for the profile association to a VPC, such as `rpassoc-a6d96d8cexample4`.

For more information about using the `Ref` function, see [https://docs.amazonaws.cn/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html](https://docs.amazonaws.cn/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html).

### Fn::GetAtt
<a name="aws-resource-route53profiles-profileassociation-return-values-fn--getatt"></a>

The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the `Fn::GetAtt` intrinsic function, see [https://docs.amazonaws.cn/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html](https://docs.amazonaws.cn/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html).

#### 
<a name="aws-resource-route53profiles-profileassociation-return-values-fn--getatt-fn--getatt"></a>

`Id`  <a name="Id-fn::getatt"></a>
 ID of the Profile association. 