Class CfnRotation
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.ssmcontacts.CfnRotation
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-24T10:56:40.533Z")
@Stability(Stable)
public class CfnRotation
extends CfnResource
implements IInspectable, ITaggable
Specifies a rotation in an on-call schedule.
Template example : We recommend creating all Incident Manager
Contacts
resources using a single AWS CloudFormation template. For a demonstration, see the examples for AWS::SSMContacts::Contacts .
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();
- See Also:
-
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.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnRotation
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnRotation
(software.amazon.jsii.JsiiObjectRef objRef) CfnRotation
(software.constructs.Construct scope, String id, CfnRotationProps props) -
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()
Tag Manager which manages the tags for this resource.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
setTagsRaw
(List<CfnTag> value) Optional metadata to assign to the rotation.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.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnRotationProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
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
Tag Manager which manages the tags for this resource. -
getContactIds
The Amazon Resource Names (ARNs) of the contacts to add to the rotation. -
setContactIds
The Amazon Resource Names (ARNs) of the contacts to add to the rotation. -
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. -
setTimeZoneId
The time zone to base the rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format. -
getTagsRaw
Optional metadata to assign to the rotation. -
setTagsRaw
Optional metadata to assign to the rotation.
-