Class CfnPlan
A CloudFormation AWS::SSMContacts::Plan
.
Inherited Members
Namespace: Amazon.CDK.AWS.SSMContacts
Assembly: Amazon.CDK.AWS.SSMContacts.dll
Syntax (csharp)
public class CfnPlan : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnPlan
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Information about the stages and on-call rotation teams associated with an escalation plan or engagement plan.
CloudformationResource: AWS::SSMContacts::Plan
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-plan.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 cfnPlan = new CfnPlan(this, "MyCfnPlan", new CfnPlanProps {
ContactId = "contactId",
// the properties below are optional
RotationIds = new [] { "rotationIds" },
Stages = new [] { new StageProperty {
DurationInMinutes = 123,
// the properties below are optional
Targets = new [] { new TargetsProperty {
ChannelTargetInfo = new ChannelTargetInfoProperty {
ChannelId = "channelId",
RetryIntervalInMinutes = 123
},
ContactTargetInfo = new ContactTargetInfoProperty {
ContactId = "contactId",
IsEssential = false
}
} }
} }
});
Synopsis
Constructors
CfnPlan(Construct, String, ICfnPlanProps) | Create a new |
CfnPlan(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnPlan(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 | |
ContactId | The Amazon Resource Name (ARN) of the contact. |
RotationIds | The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan. |
Stages | A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnPlan(Construct, String, ICfnPlanProps)
Create a new AWS::SSMContacts::Plan
.
public CfnPlan(Construct scope, string id, ICfnPlanProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnPlanProps
- resource properties.
CfnPlan(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnPlan(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnPlan(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnPlan(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrArn
The Amazon Resource Name (ARN) of the Plan
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
ContactId
The Amazon Resource Name (ARN) of the contact.
public virtual string ContactId { get; set; }
Property Value
System.String
Remarks
RotationIds
The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.
public virtual string[] RotationIds { get; set; }
Property Value
System.String[]
Remarks
Stages
A list of stages that the escalation plan or engagement plan uses to engage contacts and contact methods.
public virtual object Stages { get; set; }
Property Value
System.Object
Remarks
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>