@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.337Z") @Stability(value=Stable) public class CfnContactChannel extends CfnResource implements IInspectable
The AWS::SSMContacts::ContactChannel resource specifies a contact channel as the method that Incident Manager uses to engage your contact.
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.*;
CfnContactChannel cfnContactChannel = CfnContactChannel.Builder.create(this, "MyCfnContactChannel")
.channelAddress("channelAddress")
.channelName("channelName")
.channelType("channelType")
.contactId("contactId")
// the properties below are optional
.deferActivation(false)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnContactChannel.Builder
A fluent builder for
CfnContactChannel. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnContactChannel(software.constructs.Construct scope,
String id,
CfnContactChannelProps props)
Create a new `AWS::SSMContacts::ContactChannel`.
|
protected |
CfnContactChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnContactChannel(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The Amazon Resource Name (ARN) of the `ContactChannel` resource.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getChannelAddress()
The details that Incident Manager uses when trying to engage the contact channel.
|
String |
getChannelName()
The name of the contact channel.
|
String |
getChannelType()
The type of the contact channel.
|
String |
getContactId()
The Amazon Resource Name (ARN) of the contact you are adding the contact channel to.
|
Object |
getDeferActivation()
If you want to activate the channel at a later time, you can choose to defer activation.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setChannelAddress(String value)
The details that Incident Manager uses when trying to engage the contact channel.
|
void |
setChannelName(String value)
The name of the contact channel.
|
void |
setChannelType(String value)
The type of the contact channel.
|
void |
setContactId(String value)
The Amazon Resource Name (ARN) of the contact you are adding the contact channel to.
|
void |
setDeferActivation(Boolean value)
If you want to activate the channel at a later time, you can choose to defer activation.
|
void |
setDeferActivation(IResolvable value)
If you want to activate the channel at a later time, you can choose to defer activation.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnContactChannel(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnContactChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnContactChannel(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnContactChannelProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getChannelAddress()
@Stability(value=Stable)
public void setChannelAddress(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getChannelName()
@Stability(value=Stable)
public void setChannelName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getChannelType()
@Stability(value=Stable)
public void setChannelType(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getContactId()
@Stability(value=Stable)
public void setContactId(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getDeferActivation()
Incident Manager can't engage your contact channel until it has been activated.
@Stability(value=Stable)
public void setDeferActivation(@Nullable
Boolean value)
Incident Manager can't engage your contact channel until it has been activated.
@Stability(value=Stable)
public void setDeferActivation(@Nullable
IResolvable value)
Incident Manager can't engage your contact channel until it has been activated.
Copyright © 2022. All rights reserved.