We recommend new projects start with resources from the AWS provider.
aws-native.ssmcontacts.Rotation
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::SSMContacts::Rotation.
Create Rotation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Rotation(name: string, args: RotationArgs, opts?: CustomResourceOptions);
@overload
def Rotation(resource_name: str,
args: RotationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Rotation(resource_name: str,
opts: Optional[ResourceOptions] = None,
contact_ids: Optional[Sequence[str]] = None,
recurrence: Optional[RotationRecurrenceSettingsArgs] = None,
start_time: Optional[str] = None,
time_zone_id: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewRotation(ctx *Context, name string, args RotationArgs, opts ...ResourceOption) (*Rotation, error)
public Rotation(string name, RotationArgs args, CustomResourceOptions? opts = null)
public Rotation(String name, RotationArgs args)
public Rotation(String name, RotationArgs args, CustomResourceOptions options)
type: aws-native:ssmcontacts:Rotation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RotationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RotationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RotationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RotationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RotationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Rotation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Rotation resource accepts the following input properties:
- Contact
Ids List<string> - Members of the rotation
- Recurrence
Pulumi.
Aws Native. Ssm Contacts. Inputs. Rotation Recurrence Settings - Information about the rule that specifies when shift team members rotate.
- Start
Time string - Start time of the first shift of Oncall Schedule
- Time
Zone stringId - TimeZone Identifier for the Oncall Schedule
- Name string
- Name of the Rotation
- List<Pulumi.
Aws Native. Inputs. Tag> - Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide .
- Contact
Ids []string - Members of the rotation
- Recurrence
Rotation
Recurrence Settings Args - Information about the rule that specifies when shift team members rotate.
- Start
Time string - Start time of the first shift of Oncall Schedule
- Time
Zone stringId - TimeZone Identifier for the Oncall Schedule
- Name string
- Name of the Rotation
- Tag
Args - Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide .
- contact
Ids List<String> - Members of the rotation
- recurrence
Rotation
Recurrence Settings - Information about the rule that specifies when shift team members rotate.
- start
Time String - Start time of the first shift of Oncall Schedule
- time
Zone StringId - TimeZone Identifier for the Oncall Schedule
- name String
- Name of the Rotation
- List<Tag>
- Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide .
- contact
Ids string[] - Members of the rotation
- recurrence
Rotation
Recurrence Settings - Information about the rule that specifies when shift team members rotate.
- start
Time string - Start time of the first shift of Oncall Schedule
- time
Zone stringId - TimeZone Identifier for the Oncall Schedule
- name string
- Name of the Rotation
- Tag[]
- Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide .
- contact_
ids Sequence[str] - Members of the rotation
- recurrence
Rotation
Recurrence Settings Args - Information about the rule that specifies when shift team members rotate.
- start_
time str - Start time of the first shift of Oncall Schedule
- time_
zone_ strid - TimeZone Identifier for the Oncall Schedule
- name str
- Name of the Rotation
- Sequence[Tag
Args] - Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide .
- contact
Ids List<String> - Members of the rotation
- recurrence Property Map
- Information about the rule that specifies when shift team members rotate.
- start
Time String - Start time of the first shift of Oncall Schedule
- time
Zone StringId - TimeZone Identifier for the Oncall Schedule
- name String
- Name of the Rotation
- List<Property Map>
- Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide .
Outputs
All input properties are implicitly available as output properties. Additionally, the Rotation resource produces the following output properties:
Supporting Types
RotationCoverageTime, RotationCoverageTimeArgs
- end_
time str - Information about when an on-call rotation shift ends.
- start_
time str - Information about when an on-call rotation shift begins.
RotationDayOfWeek, RotationDayOfWeekArgs
- Mon
- MON
- Tue
- TUE
- Wed
- WED
- Thu
- THU
- Fri
- FRI
- Sat
- SAT
- Sun
- SUN
- Rotation
Day Of Week Mon - MON
- Rotation
Day Of Week Tue - TUE
- Rotation
Day Of Week Wed - WED
- Rotation
Day Of Week Thu - THU
- Rotation
Day Of Week Fri - FRI
- Rotation
Day Of Week Sat - SAT
- Rotation
Day Of Week Sun - SUN
- Mon
- MON
- Tue
- TUE
- Wed
- WED
- Thu
- THU
- Fri
- FRI
- Sat
- SAT
- Sun
- SUN
- Mon
- MON
- Tue
- TUE
- Wed
- WED
- Thu
- THU
- Fri
- FRI
- Sat
- SAT
- Sun
- SUN
- MON
- MON
- TUE
- TUE
- WED
- WED
- THU
- THU
- FRI
- FRI
- SAT
- SAT
- SUN
- SUN
- "MON"
- MON
- "TUE"
- TUE
- "WED"
- WED
- "THU"
- THU
- "FRI"
- FRI
- "SAT"
- SAT
- "SUN"
- SUN
RotationMonthlySetting, RotationMonthlySettingArgs
- Day
Of intMonth - The day of the month when monthly recurring on-call rotations begin.
- Hand
Off stringTime - The time of day when a monthly recurring on-call shift rotation begins.
- Day
Of intMonth - The day of the month when monthly recurring on-call rotations begin.
- Hand
Off stringTime - The time of day when a monthly recurring on-call shift rotation begins.
- day
Of IntegerMonth - The day of the month when monthly recurring on-call rotations begin.
- hand
Off StringTime - The time of day when a monthly recurring on-call shift rotation begins.
- day
Of numberMonth - The day of the month when monthly recurring on-call rotations begin.
- hand
Off stringTime - The time of day when a monthly recurring on-call shift rotation begins.
- day_
of_ intmonth - The day of the month when monthly recurring on-call rotations begin.
- hand_
off_ strtime - The time of day when a monthly recurring on-call shift rotation begins.
- day
Of NumberMonth - The day of the month when monthly recurring on-call rotations begin.
- hand
Off StringTime - The time of day when a monthly recurring on-call shift rotation begins.
RotationRecurrenceSettings, RotationRecurrenceSettingsArgs
- Daily
Settings List<string> - Information about on-call rotations that recur daily.
- Monthly
Settings List<Pulumi.Aws Native. Ssm Contacts. Inputs. Rotation Monthly Setting> - Information about on-call rotations that recur monthly.
- Number
Of intOn Calls - Number of Oncalls per shift.
- Recurrence
Multiplier int - The number of days, weeks, or months a single rotation lasts.
- Shift
Coverages List<Pulumi.Aws Native. Ssm Contacts. Inputs. Rotation Shift Coverage> - Information about the days of the week included in on-call rotation coverage.
- Weekly
Settings List<Pulumi.Aws Native. Ssm Contacts. Inputs. Rotation Weekly Setting> - Information about on-call rotations that recur weekly.
- Daily
Settings []string - Information about on-call rotations that recur daily.
- Monthly
Settings []RotationMonthly Setting - Information about on-call rotations that recur monthly.
- Number
Of intOn Calls - Number of Oncalls per shift.
- Recurrence
Multiplier int - The number of days, weeks, or months a single rotation lasts.
- Shift
Coverages []RotationShift Coverage - Information about the days of the week included in on-call rotation coverage.
- Weekly
Settings []RotationWeekly Setting - Information about on-call rotations that recur weekly.
- daily
Settings List<String> - Information about on-call rotations that recur daily.
- monthly
Settings List<RotationMonthly Setting> - Information about on-call rotations that recur monthly.
- number
Of IntegerOn Calls - Number of Oncalls per shift.
- recurrence
Multiplier Integer - The number of days, weeks, or months a single rotation lasts.
- shift
Coverages List<RotationShift Coverage> - Information about the days of the week included in on-call rotation coverage.
- weekly
Settings List<RotationWeekly Setting> - Information about on-call rotations that recur weekly.
- daily
Settings string[] - Information about on-call rotations that recur daily.
- monthly
Settings RotationMonthly Setting[] - Information about on-call rotations that recur monthly.
- number
Of numberOn Calls - Number of Oncalls per shift.
- recurrence
Multiplier number - The number of days, weeks, or months a single rotation lasts.
- shift
Coverages RotationShift Coverage[] - Information about the days of the week included in on-call rotation coverage.
- weekly
Settings RotationWeekly Setting[] - Information about on-call rotations that recur weekly.
- daily_
settings Sequence[str] - Information about on-call rotations that recur daily.
- monthly_
settings Sequence[RotationMonthly Setting] - Information about on-call rotations that recur monthly.
- number_
of_ inton_ calls - Number of Oncalls per shift.
- recurrence_
multiplier int - The number of days, weeks, or months a single rotation lasts.
- shift_
coverages Sequence[RotationShift Coverage] - Information about the days of the week included in on-call rotation coverage.
- weekly_
settings Sequence[RotationWeekly Setting] - Information about on-call rotations that recur weekly.
- daily
Settings List<String> - Information about on-call rotations that recur daily.
- monthly
Settings List<Property Map> - Information about on-call rotations that recur monthly.
- number
Of NumberOn Calls - Number of Oncalls per shift.
- recurrence
Multiplier Number - The number of days, weeks, or months a single rotation lasts.
- shift
Coverages List<Property Map> - Information about the days of the week included in on-call rotation coverage.
- weekly
Settings List<Property Map> - Information about on-call rotations that recur weekly.
RotationShiftCoverage, RotationShiftCoverageArgs
- Coverage
Times List<Pulumi.Aws Native. Ssm Contacts. Inputs. Rotation Coverage Time> - Information about when an on-call shift begins and ends.
- Day
Of Pulumi.Week Aws Native. Ssm Contacts. Rotation Day Of Week - A list of days on which the schedule is active.
- Coverage
Times []RotationCoverage Time - Information about when an on-call shift begins and ends.
- Day
Of RotationWeek Day Of Week - A list of days on which the schedule is active.
- coverage
Times List<RotationCoverage Time> - Information about when an on-call shift begins and ends.
- day
Of RotationWeek Day Of Week - A list of days on which the schedule is active.
- coverage
Times RotationCoverage Time[] - Information about when an on-call shift begins and ends.
- day
Of RotationWeek Day Of Week - A list of days on which the schedule is active.
- coverage_
times Sequence[RotationCoverage Time] - Information about when an on-call shift begins and ends.
- day_
of_ Rotationweek Day Of Week - A list of days on which the schedule is active.
- coverage
Times List<Property Map> - Information about when an on-call shift begins and ends.
- day
Of "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN"Week - A list of days on which the schedule is active.
RotationWeeklySetting, RotationWeeklySettingArgs
- Day
Of Pulumi.Week Aws Native. Ssm Contacts. Rotation Day Of Week - The day of the week when weekly recurring on-call shift rotations begins.
- Hand
Off stringTime - The time of day when a weekly recurring on-call shift rotation begins.
- Day
Of RotationWeek Day Of Week - The day of the week when weekly recurring on-call shift rotations begins.
- Hand
Off stringTime - The time of day when a weekly recurring on-call shift rotation begins.
- day
Of RotationWeek Day Of Week - The day of the week when weekly recurring on-call shift rotations begins.
- hand
Off StringTime - The time of day when a weekly recurring on-call shift rotation begins.
- day
Of RotationWeek Day Of Week - The day of the week when weekly recurring on-call shift rotations begins.
- hand
Off stringTime - The time of day when a weekly recurring on-call shift rotation begins.
- day_
of_ Rotationweek Day Of Week - The day of the week when weekly recurring on-call shift rotations begins.
- hand_
off_ strtime - The time of day when a weekly recurring on-call shift rotation begins.
- day
Of "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN"Week - The day of the week when weekly recurring on-call shift rotations begins.
- hand
Off StringTime - The time of day when a weekly recurring on-call shift rotation begins.
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.