# PagerDuty::Schedules::Schedule Manage a on-call schedule in PagerDuty ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
"Type" : "PagerDuty::Schedules::Schedule",
"Properties" : {
"ScheduleLayers" : [ ScheduleLayer, ... ],
"TimeZone" : String,
"Name" : String,
"Description" : String,
"FinalSchedule" : SubSchedule,
"OverridesSubschedule" : SubSchedule,
"Self" : String,
"Users" : [ UserWrapper, ... ],
"Teams" : [ Team, ... ]
}
}
### YAML
Type: PagerDuty::Schedules::Schedule
Properties:
ScheduleLayers:
- ScheduleLayer
TimeZone: String
Name: String
Description: String
FinalSchedule: SubSchedule
OverridesSubschedule: SubSchedule
Self: String
Users:
- UserWrapper
Teams:
- Team
## Properties
#### ScheduleLayers
A list of schedule layers.
_Required_: No
_Type_: List of ScheduleLayer
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### TimeZone
The time zone of the schedule.
_Required_: Yes
_Type_: String
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### Name
The name of the schedule.
_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)
#### Description
The description of the schedule
_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)
#### FinalSchedule
_Required_: No
_Type_: SubSchedule
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### OverridesSubschedule
_Required_: No
_Type_: SubSchedule
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### Self
The API show URL at which the object is accessible
_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)
#### Users
_Required_: No
_Type_: List of UserWrapper
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### Teams
An array of all of the teams on the schedule.
_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.
#### 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.
#### Type
The type of object being created.
#### HtmlUrl
A URL at which the entity is uniquely displayed in the Web app.
#### Id
Returns the Id value.