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
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnRotation
.static interface
Information about when an on-call shift begins and ends.static interface
Information about on-call rotations that recur monthly.static interface
Information about when an on-call rotation is in effect and how long the rotation period lasts.static interface
Information about the days of the week that the on-call rotation coverage includes.static interface
Information about rotations that recur weekly.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnRotation
(Construct scope, String id, CfnRotationProps props) Create a newAWS::SSMContacts::Rotation
.protected
CfnRotation
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnRotation
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of theRotation
resource.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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setContactIds
(List<String> value) The Amazon Resource Names (ARNs) of the contacts to add to the rotation.void
The name for the rotation.void
setRecurrence
(IResolvable value) Information about the rule that specifies when shift team members rotate.void
Information about the rule that specifies when shift team members rotate.void
setStartTime
(String value) The date and time the rotation goes into effect.void
setTimeZoneId
(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, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of theRotation
resource. -
getCfnProperties
- Overrides:
getCfnProperties
in 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.
-