Class CfnRotation
Specifies a rotation in an on-call schedule.
Inherited Members
Namespace: Amazon.CDK.AWS.SSMContacts
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRotation : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnRotation
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-rotation.html
CloudformationResource: AWS::SSMContacts::Rotation
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(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 |
CfnRotation(Construct, String, ICfnRotationProps) |
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 | Tag Manager which manages the tags for this resource. |
TagsRaw | 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(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
CfnRotation(Construct, String, ICfnRotationProps)
public CfnRotation(Construct scope, string id, ICfnRotationProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnRotationProps
Resource properties.
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[]
Name
The name for the rotation.
public virtual string Name { get; set; }
Property Value
System.String
Recurrence
Information about the rule that specifies when shift team members rotate.
public virtual object Recurrence { get; set; }
Property Value
System.Object
StartTime
The date and time the rotation goes into effect.
public virtual string StartTime { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
Optional metadata to assign to the rotation.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
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
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>