Show / Hide Table of Contents

Class BaiduChannel

Provides a Pinpoint Baidu Channel resource.

Note: All arguments including the Api Key and Secret Key will be stored in the raw state as plain-text. Read more about sensitive data in state.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var app = new Aws.Pinpoint.App("app", new Aws.Pinpoint.AppArgs
    {
    });
    var channel = new Aws.Pinpoint.BaiduChannel("channel", new Aws.Pinpoint.BaiduChannelArgs
    {
        ApiKey = "",
        ApplicationId = app.ApplicationId,
        SecretKey = "",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
BaiduChannel
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Pinpoint
Assembly: Pulumi.Aws.dll
Syntax
public class BaiduChannel : CustomResource

Constructors

View Source

BaiduChannel(String, BaiduChannelArgs, CustomResourceOptions)

Create a BaiduChannel resource with the given unique name, arguments, and options.

Declaration
public BaiduChannel(string name, BaiduChannelArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

BaiduChannelArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

ApiKey

Platform credential API key from Baidu.

Declaration
public Output<string> ApiKey { get; }
Property Value
Type Description
Output<System.String>
View Source

ApplicationId

The application ID.

Declaration
public Output<string> ApplicationId { get; }
Property Value
Type Description
Output<System.String>
View Source

Enabled

Specifies whether to enable the channel. Defaults to true.

Declaration
public Output<bool?> Enabled { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

SecretKey

Platform credential Secret key from Baidu.

Declaration
public Output<string> SecretKey { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, BaiduChannelState, CustomResourceOptions)

Get an existing BaiduChannel resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static BaiduChannel Get(string name, Input<string> id, BaiduChannelState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

BaiduChannelState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
BaiduChannel
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.