Class CfnContact
The AWS::SSMContacts::Contact
resource specifies a contact or escalation plan.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.SSMContacts
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnContact : CfnResource, IInspectable
Syntax (vb)
Public Class CfnContact
Inherits CfnResource
Implements IInspectable
Remarks
Incident Manager contacts are a subset of actions and data types that you can use for managing responder engagement and interaction.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contact.html
CloudformationResource: AWS::SSMContacts::Contact
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 cfnContact = new CfnContact(this, "MyCfnContact", new CfnContactProps {
Alias = "alias",
DisplayName = "displayName",
Type = "type",
// the properties below are optional
Plan = new [] { new StageProperty {
DurationInMinutes = 123,
RotationIds = new [] { "rotationIds" },
Targets = new [] { new TargetsProperty {
ChannelTargetInfo = new ChannelTargetInfoProperty {
ChannelId = "channelId",
RetryIntervalInMinutes = 123
},
ContactTargetInfo = new ContactTargetInfoProperty {
ContactId = "contactId",
IsEssential = false
}
} }
} }
});
Synopsis
Constructors
CfnContact(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnContact(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnContact(Construct, String, ICfnContactProps) |
Properties
Alias | The unique and identifiable alias of the contact or escalation plan. |
AttrArn | The Amazon Resource Name (ARN) of the |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
DisplayName | The full name of the contact or escalation plan. |
Plan | A list of stages. |
Type | The type of contact. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnContact(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnContact(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnContact(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnContact(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnContact(Construct, String, ICfnContactProps)
public CfnContact(Construct scope, string id, ICfnContactProps 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 ICfnContactProps
Resource properties.
Properties
Alias
The unique and identifiable alias of the contact or escalation plan.
public virtual string Alias { get; set; }
Property Value
System.String
AttrArn
The Amazon Resource Name (ARN) of the Contact
resource, such as arn:aws:ssm-contacts:us-west-2:123456789012:contact/contactalias
.
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
DisplayName
The full name of the contact or escalation plan.
public virtual string DisplayName { get; set; }
Property Value
System.String
Plan
A list of stages.
public virtual object Plan { get; set; }
Property Value
System.Object
Type
The type of contact.
public virtual string Type { 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>