Class CfnContactChannel

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-17T21:37:39.792Z") @Stability(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.

Template example : We recommend creating all Incident Manager Contacts resources using a single AWS CloudFormation template. For a demonstration, see the examples for AWS::SSMContacts::Contacts .

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();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnContactChannel

      protected CfnContactChannel(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnContactChannel

      protected CfnContactChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnContactChannel

      @Stability(Stable) public CfnContactChannel(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnContactChannelProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the ContactChannel resource.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getChannelAddress

      @Stability(Stable) @NotNull public String getChannelAddress()
      The details that Incident Manager uses when trying to engage the contact channel.
    • setChannelAddress

      @Stability(Stable) public void setChannelAddress(@NotNull String value)
      The details that Incident Manager uses when trying to engage the contact channel.
    • getChannelName

      @Stability(Stable) @NotNull public String getChannelName()
      The name of the contact channel.
    • setChannelName

      @Stability(Stable) public void setChannelName(@NotNull String value)
      The name of the contact channel.
    • getChannelType

      @Stability(Stable) @NotNull public String getChannelType()
      The type of the contact channel.

      Incident Manager supports three contact methods:.

    • setChannelType

      @Stability(Stable) public void setChannelType(@NotNull String value)
      The type of the contact channel.

      Incident Manager supports three contact methods:.

    • getContactId

      @Stability(Stable) @NotNull public String getContactId()
      The Amazon Resource Name (ARN) of the contact you are adding the contact channel to.
    • setContactId

      @Stability(Stable) public void setContactId(@NotNull String value)
      The Amazon Resource Name (ARN) of the contact you are adding the contact channel to.
    • getDeferActivation

      @Stability(Stable) @Nullable public Object getDeferActivation()
      If you want to activate the channel at a later time, you can choose to defer activation.
    • setDeferActivation

      @Stability(Stable) public void setDeferActivation(@Nullable Boolean value)
      If you want to activate the channel at a later time, you can choose to defer activation.
    • setDeferActivation

      @Stability(Stable) public void setDeferActivation(@Nullable IResolvable value)
      If you want to activate the channel at a later time, you can choose to defer activation.