Class AdmChannel
Provides a Pinpoint ADM (Amazon Device Messaging) Channel resource.
Note: All arguments including the Client ID and Client Secret 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.AdmChannel("channel", new Aws.Pinpoint.AdmChannelArgs
{
ApplicationId = app.ApplicationId,
ClientId = "",
ClientSecret = "",
Enabled = true,
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Pinpoint
Assembly: Pulumi.Aws.dll
Syntax
public class AdmChannel : CustomResource
Constructors
View SourceAdmChannel(String, AdmChannelArgs, CustomResourceOptions)
Create a AdmChannel resource with the given unique name, arguments, and options.
Declaration
public AdmChannel(string name, AdmChannelArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| AdmChannelArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceApplicationId
The application ID.
Declaration
public Output<string> ApplicationId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ClientId
Client ID (part of OAuth Credentials) obtained via Amazon Developer Account.
Declaration
public Output<string> ClientId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ClientSecret
Client Secret (part of OAuth Credentials) obtained via Amazon Developer Account.
Declaration
public Output<string> ClientSecret { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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>> |
Methods
View SourceGet(String, Input<String>, AdmChannelState, CustomResourceOptions)
Get an existing AdmChannel resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static AdmChannel Get(string name, Input<string> id, AdmChannelState 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. |
| AdmChannelState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| AdmChannel |