Interface CfnRotationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRotationProps.Jsii$Proxy
CfnRotation.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ssmcontacts.*;
CfnRotationProps cfnRotationProps = CfnRotationProps.builder()
.contactIds(List.of("contactIds"))
.name("name")
.recurrence(RecurrenceSettingsProperty.builder()
.numberOfOnCalls(123)
.recurrenceMultiplier(123)
// the properties below are optional
.dailySettings(List.of("dailySettings"))
.monthlySettings(List.of(MonthlySettingProperty.builder()
.dayOfMonth(123)
.handOffTime("handOffTime")
.build()))
.shiftCoverages(List.of(ShiftCoverageProperty.builder()
.coverageTimes(List.of(CoverageTimeProperty.builder()
.endTime("endTime")
.startTime("startTime")
.build()))
.dayOfWeek("dayOfWeek")
.build()))
.weeklySettings(List.of(WeeklySettingProperty.builder()
.dayOfWeek("dayOfWeek")
.handOffTime("handOffTime")
.build()))
.build())
.startTime("startTime")
.timeZoneId("timeZoneId")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRotationPropsstatic final classAn implementation forCfnRotationProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnRotationProps.Builderbuilder()The Amazon Resource Names (ARNs) of the contacts to add to the rotation.getName()The name for the rotation.Information about the rule that specifies when shift team members rotate.The date and time the rotation goes into effect.getTags()Optional metadata to assign to the rotation.The time zone to base the rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContactIds
The Amazon Resource Names (ARNs) of the contacts to add to the rotation.Only the
PERSONALcontact type is supported. The contact typesESCALATIONandONCALL_SCHEDULEare not supported for this operation.The order in which you list the contacts is their shift order in the rotation schedule.
- See Also:
-
getName
The name for the rotation.- See Also:
-
getRecurrence
Information about the rule that specifies when shift team members rotate.Returns union: either
IResolvableorCfnRotation.RecurrenceSettingsProperty- See Also:
-
getStartTime
The date and time the rotation goes into effect.- See Also:
-
getTimeZoneId
The time zone to base the rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format.For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.
Designators for time zones that don’t support Daylight Savings Time rules, such as Pacific Standard Time (PST), are not supported.
- See Also:
-
getTags
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 .
- See Also:
-
builder
- Returns:
- a
CfnRotationProps.BuilderofCfnRotationProps
-