

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::Notifications::ManagedNotificationAccountContactAssociation
<a name="aws-resource-notifications-managednotificationaccountcontactassociation"></a>

Associates an Account Management Contact with a `ManagedNotificationConfiguration` for Amazon User Notifications. For more information about Amazon User Notifications, see the [Amazon User Notifications User Guide](https://docs.amazonaws.cn/notifications/latest/userguide/what-is-service.html). For more information about Account Management Contacts, see the [Amazon Account Management Reference Guide](https://docs.amazonaws.cn/accounts/latest/reference/API_AlternateContact.html).

## Syntax
<a name="aws-resource-notifications-managednotificationaccountcontactassociation-syntax"></a>

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

### JSON
<a name="aws-resource-notifications-managednotificationaccountcontactassociation-syntax.json"></a>

```
{
  "Type" : "AWS::Notifications::ManagedNotificationAccountContactAssociation",
  "Properties" : {
      "[ContactIdentifier](#cfn-notifications-managednotificationaccountcontactassociation-contactidentifier)" : {{String}},
      "[ManagedNotificationConfigurationArn](#cfn-notifications-managednotificationaccountcontactassociation-managednotificationconfigurationarn)" : {{String}}
    }
}
```

### YAML
<a name="aws-resource-notifications-managednotificationaccountcontactassociation-syntax.yaml"></a>

```
Type: AWS::Notifications::ManagedNotificationAccountContactAssociation
Properties:
  [ContactIdentifier](#cfn-notifications-managednotificationaccountcontactassociation-contactidentifier): {{String}}
  [ManagedNotificationConfigurationArn](#cfn-notifications-managednotificationaccountcontactassociation-managednotificationconfigurationarn): {{String}}
```

## Properties
<a name="aws-resource-notifications-managednotificationaccountcontactassociation-properties"></a>

`ContactIdentifier`  <a name="cfn-notifications-managednotificationaccountcontactassociation-contactidentifier"></a>
The unique identifier of the notification contact associated with the Amazon account. For more information about the contact types associated with an account, see the [Amazon Account Management Reference Guide](https://docs.amazonaws.cn/accounts/latest/reference/manage-acct-update-contact-alternate.html#manage-acct-update-contact-alternate-orgs).  
*Required*: Yes  
*Type*: String  
*Allowed values*: `ACCOUNT_PRIMARY | ACCOUNT_ALTERNATE_SECURITY | ACCOUNT_ALTERNATE_OPERATIONS | ACCOUNT_ALTERNATE_BILLING`  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`ManagedNotificationConfigurationArn`  <a name="cfn-notifications-managednotificationaccountcontactassociation-managednotificationconfigurationarn"></a>
 The ARN of the `ManagedNotificationConfiguration` to be associated with the `Channel`.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^arn:[a-z-]{3,10}:notifications::([0-9]{12}|):managed-notification-configuration/category/[a-zA-Z0-9\-]{3,64}/sub-category/[a-zA-Z0-9\-]{3,64}$`  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

## Return values
<a name="aws-resource-notifications-managednotificationaccountcontactassociation-return-values"></a>

### Ref
<a name="aws-resource-notifications-managednotificationaccountcontactassociation-return-values-ref"></a>

 When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the ARN of the configuration created. 