# NewRelic::Alert::AlertsPolicy Manage New Relic AlertsPolicy ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{ "Type" : "NewRelic::Alert::AlertsPolicy", "Properties" : { "AccountId" : Integer, "AlertsPolicy" : AlertsPolicyInput } }### YAML
Type: NewRelic::Alert::AlertsPolicy Properties: AccountId: Integer AlertsPolicy: AlertsPolicyInput## Properties #### AccountId Account ID the alerts policy should belong to. _Required_: Yes _Type_: Integer _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### AlertsPolicy _Required_: Yes _Type_: AlertsPolicyInput _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) ## Return Values ### Fn::GetAtt 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 [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html). #### AlertsPolicyId Alerts Policy ID.