@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-28T21:34:18.306Z") public class CfnADMChannel extends CfnResource implements IInspectable
A channel is a type of platform that you can deliver messages to. You can use the ADM channel to send push notifications through the Amazon Device Messaging (ADM) service to apps that run on Amazon devices, such as Kindle Fire tablets. Before you can use Amazon Pinpoint to send messages to Amazon devices, you have to enable the ADM channel for an Amazon Pinpoint application.
The ADMChannel resource represents the status and authentication settings for the ADM channel for an application.
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.pinpoint.*; CfnADMChannel cfnADMChannel = CfnADMChannel.Builder.create(this, "MyCfnADMChannel") .applicationId("applicationId") .clientId("clientId") .clientSecret("clientSecret") // the properties below are optional .enabled(false) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnADMChannel.Builder
A fluent builder for
CfnADMChannel . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnADMChannel(Construct scope,
java.lang.String id,
CfnADMChannelProps props)
Create a new `AWS::Pinpoint::ADMChannel`.
|
protected |
CfnADMChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnADMChannel(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApplicationId()
The unique identifier for the Amazon Pinpoint application that the ADM channel applies to.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getClientId()
The Client ID that you received from Amazon to send messages by using ADM.
|
java.lang.String |
getClientSecret()
The Client Secret that you received from Amazon to send messages by using ADM.
|
java.lang.Object |
getEnabled()
Specifies whether to enable the ADM channel for the application.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setApplicationId(java.lang.String value)
The unique identifier for the Amazon Pinpoint application that the ADM channel applies to.
|
void |
setClientId(java.lang.String value)
The Client ID that you received from Amazon to send messages by using ADM.
|
void |
setClientSecret(java.lang.String value)
The Client Secret that you received from Amazon to send messages by using ADM.
|
void |
setEnabled(java.lang.Boolean value)
Specifies whether to enable the ADM channel for the application.
|
void |
setEnabled(IResolvable value)
Specifies whether to enable the ADM channel for the application.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnADMChannel(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnADMChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnADMChannel(Construct scope, java.lang.String id, CfnADMChannelProps 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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getApplicationId()
public void setApplicationId(java.lang.String value)
public java.lang.String getClientId()
public void setClientId(java.lang.String value)
public java.lang.String getClientSecret()
public void setClientSecret(java.lang.String value)
public java.lang.Object getEnabled()
public void setEnabled(java.lang.Boolean value)
public void setEnabled(IResolvable value)