# PagerDuty::EscalationPolicies::EscalationPolicy Manage an escalation policy in PagerDuty. ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
    "Type" : "PagerDuty::EscalationPolicies::EscalationPolicy",
    "Properties" : {
        "Name" : String,
        "Description" : String,
        "NumLoops" : Integer,
        "OnCallHandoffNotifications" : String,
        "EscalationRules" : [ EscalationRule, ... ],
        "Teams" : [ Team, ... ],
    }
}
### YAML
Type: PagerDuty::EscalationPolicies::EscalationPolicy
Properties:
    Name: String
    Description: String
    NumLoops: Integer
    OnCallHandoffNotifications: String
    EscalationRules: 
      - EscalationRule
    Teams: 
      - Team
## Properties #### Name The name of the escalation policy. _Required_: Yes _Type_: String _Minimum Length_: 1 _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Description Escalation policy description. _Required_: No _Type_: String _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### NumLoops The number of times the escalation policy will repeat after reaching the end of its escalation. _Required_: No _Type_: Integer _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### OnCallHandoffNotifications Determines how on call handoff notifications will be sent for users on the escalation policy. Defaults to "if_has_services". _Required_: No _Type_: String _Allowed Values_: if_has_services | always _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### EscalationRules _Required_: Yes _Type_: List of EscalationRule _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Teams Teams associated with the policy. Account must have the teams ability to use this parameter. _Required_: No _Type_: List of Team _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) ## Return Values ### Ref When you pass the logical ID of this resource to the intrinsic `Ref` function, Ref returns the Id. ### 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). #### Id Returns the Id value. #### Type The type of object being created. #### Summary A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier. #### HtmlUrl A URL at which the entity is uniquely displayed in the Web app.