CfnBaiduChannelProps

class aws_cdk.aws_pinpoint.CfnBaiduChannelProps(*, api_key, application_id, secret_key, enabled=None)

Bases: object

Properties for defining a CfnBaiduChannel.

Parameters
  • api_key (str) – The API key that you received from the Baidu Cloud Push service to communicate with the service.

  • application_id (str) – The unique identifier for the Amazon Pinpoint application that you’re configuring the Baidu channel for.

  • secret_key (str) – The secret key that you received from the Baidu Cloud Push service to communicate with the service.

  • enabled (Union[bool, IResolvable, None]) – Specifies whether to enable the Baidu channel for the application.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-baiduchannel.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_pinpoint as pinpoint

cfn_baidu_channel_props = pinpoint.CfnBaiduChannelProps(
    api_key="apiKey",
    application_id="applicationId",
    secret_key="secretKey",

    # the properties below are optional
    enabled=False
)

Attributes

api_key

The API key that you received from the Baidu Cloud Push service to communicate with the service.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-baiduchannel.html#cfn-pinpoint-baiduchannel-apikey

Return type

str

application_id

The unique identifier for the Amazon Pinpoint application that you’re configuring the Baidu channel for.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-baiduchannel.html#cfn-pinpoint-baiduchannel-applicationid

Return type

str

enabled

Specifies whether to enable the Baidu channel for the application.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-baiduchannel.html#cfn-pinpoint-baiduchannel-enabled

Return type

Union[bool, IResolvable, None]

secret_key

The secret key that you received from the Baidu Cloud Push service to communicate with the service.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-baiduchannel.html#cfn-pinpoint-baiduchannel-secretkey

Return type

str