Class CfnRotation
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.ssmcontacts.CfnRotation
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:35.824Z")
@Stability(Stable)
public class CfnRotation
extends CfnResource
implements IInspectable
A CloudFormation
AWS::SSMContacts::Rotation.
Specifies a rotation in an on-call schedule.
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.*;
CfnRotation cfnRotation = CfnRotation.Builder.create(this, "MyCfnRotation")
.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();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnRotation.static interfaceInformation about when an on-call shift begins and ends.static interfaceInformation about on-call rotations that recur monthly.static interfaceInformation about when an on-call rotation is in effect and how long the rotation period lasts.static interfaceInformation about the days of the week that the on-call rotation coverage includes.static interfaceInformation about rotations that recur weekly.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnRotation(Construct scope, String id, CfnRotationProps props) Create a newAWS::SSMContacts::Rotation.protectedCfnRotation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnRotation(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of theRotationresource.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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetContactIds(List<String> value) The Amazon Resource Names (ARNs) of the contacts to add to the rotation.voidThe name for the rotation.voidsetRecurrence(IResolvable value) Information about the rule that specifies when shift team members rotate.voidInformation about the rule that specifies when shift team members rotate.voidsetStartTime(String value) The date and time the rotation goes into effect.voidsetTimeZoneId(String value) The time zone to base the rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnRotation
protected CfnRotation(software.amazon.jsii.JsiiObjectRef objRef) -
CfnRotation
protected CfnRotation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnRotation
@Stability(Stable) public CfnRotation(@NotNull Construct scope, @NotNull String id, @NotNull CfnRotationProps props) Create a newAWS::SSMContacts::Rotation.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of theRotationresource. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
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 .
-
getContactIds
The Amazon Resource Names (ARNs) of the contacts to add to the rotation.The order in which you list the contacts is their shift order in the rotation schedule.
-
setContactIds
The Amazon Resource Names (ARNs) of the contacts to add to the rotation.The order in which you list the contacts is their shift order in the rotation schedule.
-
getName
The name for the rotation. -
setName
The name for the rotation. -
getRecurrence
Information about the rule that specifies when shift team members rotate. -
setRecurrence
Information about the rule that specifies when shift team members rotate. -
setRecurrence
Information about the rule that specifies when shift team members rotate. -
getStartTime
The date and time the rotation goes into effect. -
setStartTime
The date and time the rotation goes into effect. -
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.
-
setTimeZoneId
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.
-