Class CfnBaiduChannel
A CloudFormation AWS::Pinpoint::BaiduChannel
.
Inherited Members
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.AWS.Pinpoint.dll
Syntax (csharp)
public class CfnBaiduChannel : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnBaiduChannel
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
A channel is a type of platform that you can deliver messages to. You can use the Baidu channel to send notifications to the Baidu Cloud Push notification service. Before you can use Amazon Pinpoint to send notifications to the Baidu Cloud Push service, you have to enable the Baidu channel for an Amazon Pinpoint application.
The BaiduChannel resource represents the status and authentication settings of the Baidu channel for an application.
CloudformationResource: AWS::Pinpoint::BaiduChannel
ExampleMetadata: fixture=_generated
Examples
// 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 cfnBaiduChannel = new CfnBaiduChannel(this, "MyCfnBaiduChannel", new CfnBaiduChannelProps {
ApiKey = "apiKey",
ApplicationId = "applicationId",
SecretKey = "secretKey",
// the properties below are optional
Enabled = false
});
Synopsis
Constructors
CfnBaiduChannel(Construct, String, ICfnBaiduChannelProps) | Create a new |
CfnBaiduChannel(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnBaiduChannel(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
ApiKey | The API key that you received from the Baidu Cloud Push service to communicate with the service. |
ApplicationId | The unique identifier for the Amazon Pinpoint application that you're configuring the Baidu channel for. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Enabled | Specifies whether to enable the Baidu channel for the application. |
SecretKey | The secret key that you received from the Baidu Cloud Push service to communicate with the service. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnBaiduChannel(Construct, String, ICfnBaiduChannelProps)
Create a new AWS::Pinpoint::BaiduChannel
.
public CfnBaiduChannel(Construct scope, string id, ICfnBaiduChannelProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnBaiduChannelProps
- resource properties.
CfnBaiduChannel(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnBaiduChannel(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnBaiduChannel(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnBaiduChannel(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
ApiKey
The API key that you received from the Baidu Cloud Push service to communicate with the service.
public virtual string ApiKey { get; set; }
Property Value
System.String
Remarks
ApplicationId
The unique identifier for the Amazon Pinpoint application that you're configuring the Baidu channel for.
public virtual string ApplicationId { get; set; }
Property Value
System.String
Remarks
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Enabled
Specifies whether to enable the Baidu channel for the application.
public virtual object Enabled { get; set; }
Property Value
System.Object
Remarks
SecretKey
The secret key that you received from the Baidu Cloud Push service to communicate with the service.
public virtual string SecretKey { get; set; }
Property Value
System.String
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>