Class CfnRotation
A CloudFormation AWS::SSMContacts::Rotation
.
Inherited Members
Namespace: Amazon.CDK.AWS.SSMContacts
Assembly: Amazon.CDK.AWS.SSMContacts.dll
Syntax (csharp)
public class CfnRotation : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnRotation
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Specifies a rotation in an on-call schedule.
CloudformationResource: AWS::SSMContacts::Rotation
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-rotation.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SSMContacts;
var cfnRotation = new CfnRotation(this, "MyCfnRotation", new CfnRotationProps {
ContactIds = new [] { "contactIds" },
Name = "name",
Recurrence = new RecurrenceSettingsProperty {
NumberOfOnCalls = 123,
RecurrenceMultiplier = 123,
// the properties below are optional
DailySettings = new [] { "dailySettings" },
MonthlySettings = new [] { new MonthlySettingProperty {
DayOfMonth = 123,
HandOffTime = "handOffTime"
} },
ShiftCoverages = new [] { new ShiftCoverageProperty {
CoverageTimes = new [] { new CoverageTimeProperty {
EndTime = "endTime",
StartTime = "startTime"
} },
DayOfWeek = "dayOfWeek"
} },
WeeklySettings = new [] { new WeeklySettingProperty {
DayOfWeek = "dayOfWeek",
HandOffTime = "handOffTime"
} }
},
StartTime = "startTime",
TimeZoneId = "timeZoneId",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnRotation(Construct, String, ICfnRotationProps) | Create a new |
CfnRotation(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnRotation(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrArn | The Amazon Resource Name (ARN) of the |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ContactIds | The Amazon Resource Names (ARNs) of the contacts to add to the rotation. |
Name | The name for the rotation. |
Recurrence | Information about the rule that specifies when shift team members rotate. |
StartTime | The date and time the rotation goes into effect. |
Tags | Optional metadata to assign to the rotation. |
TimeZoneId | The time zone to base the rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnRotation(Construct, String, ICfnRotationProps)
Create a new AWS::SSMContacts::Rotation
.
public CfnRotation(Construct scope, string id, ICfnRotationProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnRotationProps
- resource properties.
CfnRotation(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnRotation(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnRotation(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnRotation(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrArn
The Amazon Resource Name (ARN) of the Rotation
resource.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ContactIds
The Amazon Resource Names (ARNs) of the contacts to add to the rotation.
public virtual string[] ContactIds { get; set; }
Property Value
System.String[]
Remarks
The order in which you list the contacts is their shift order in the rotation schedule.
Name
The name for the rotation.
public virtual string Name { get; set; }
Property Value
System.String
Remarks
Recurrence
Information about the rule that specifies when shift team members rotate.
public virtual object Recurrence { get; set; }
Property Value
System.Object
Remarks
StartTime
The date and time the rotation goes into effect.
public virtual string StartTime { get; set; }
Property Value
System.String
Remarks
Tags
Optional metadata to assign to the rotation.
public virtual TagManager Tags { get; }
Property Value
Remarks
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 .
TimeZoneId
The time zone to base the rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format.
public virtual string TimeZoneId { get; set; }
Property Value
System.String
Remarks
For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>