Skip to content
v2.278.0

CfnADMChannelProps Struct ​

Properties for defining a CfnADMChannel.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pinpoint as pinpoint } from 'aws-cdk-lib';
const cfnADMChannelProps: pinpoint.CfnADMChannelProps = {
  applicationId: 'applicationId',
  clientId: 'clientId',
  clientSecret: 'clientSecret',

  // the properties below are optional
  enabled: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_pinpoint as pinpoint

cfn_adm_channel_props = pinpoint.CfnADMChannelProps(
    application_id="applicationId",
    client_id="clientId",
    client_secret="clientSecret",

    # the properties below are optional
    enabled=False
)
java
// 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.*;

CfnADMChannelProps cfnADMChannelProps = CfnADMChannelProps.builder()
        .applicationId("applicationId")
        .clientId("clientId")
        .clientSecret("clientSecret")

        // the properties below are optional
        .enabled(false)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pinpoint;

var cfnADMChannelProps = new CfnADMChannelProps {
    ApplicationId = "applicationId",
    ClientId = "clientId",
    ClientSecret = "clientSecret",

    // the properties below are optional
    Enabled = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnADMChannelProps := &CfnADMChannelProps{
	ApplicationId: jsii.String("applicationId"),
	ClientId: jsii.String("clientId"),
	ClientSecret: jsii.String("clientSecret"),

	// the properties below are optional
	Enabled: jsii.Boolean(false),
}

Properties ​

applicationIdstringapplication_idstrapplicationIdStringApplicationIdstringApplicationId*string required #
The unique identifier for the Amazon Pinpoint application that the ADM channel applies to.
clientIdstringclient_idstrclientIdStringClientIdstringClientId*string required #
The Client ID that you received from Amazon to send messages by using ADM.
clientSecretstringclient_secretstrclientSecretStringClientSecretstringClientSecret*string required #
The Client Secret that you received from Amazon to send messages by using ADM.
enabledoptionalboolean | IResolvableenabledoptionaltyping.Union[bool, IResolvable]enabledoptionalBooleanEnabledoptionalboolEnabledoptionalinterface{} #
Specifies whether to enable the ADM channel for the application.