pinpoint

package
v4.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdmChannel

type AdmChannel struct {
	pulumi.CustomResourceState

	// The application ID.
	ApplicationId pulumi.StringOutput `pulumi:"applicationId"`
	// Client ID (part of OAuth Credentials) obtained via Amazon Developer Account.
	ClientId pulumi.StringOutput `pulumi:"clientId"`
	// Client Secret (part of OAuth Credentials) obtained via Amazon Developer Account.
	ClientSecret pulumi.StringOutput `pulumi:"clientSecret"`
	// Specifies whether to enable the channel. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
}

Provides a Pinpoint ADM (Amazon Device Messaging) Channel resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/pinpoint"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		app, err := pinpoint.NewApp(ctx, "app", nil)
		if err != nil {
			return err
		}
		_, err = pinpoint.NewAdmChannel(ctx, "channel", &pinpoint.AdmChannelArgs{
			ApplicationId: app.ApplicationId,
			ClientId:      pulumi.String(""),
			ClientSecret:  pulumi.String(""),
			Enabled:       pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Pinpoint ADM Channel can be imported using the `application-id`, e.g.

```sh

$ pulumi import aws:pinpoint/admChannel:AdmChannel channel application-id

```

func GetAdmChannel

func GetAdmChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AdmChannelState, opts ...pulumi.ResourceOption) (*AdmChannel, error)

GetAdmChannel gets an existing AdmChannel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAdmChannel

func NewAdmChannel(ctx *pulumi.Context,
	name string, args *AdmChannelArgs, opts ...pulumi.ResourceOption) (*AdmChannel, error)

NewAdmChannel registers a new resource with the given unique name, arguments, and options.

func (*AdmChannel) ElementType

func (*AdmChannel) ElementType() reflect.Type

func (*AdmChannel) ToAdmChannelOutput

func (i *AdmChannel) ToAdmChannelOutput() AdmChannelOutput

func (*AdmChannel) ToAdmChannelOutputWithContext

func (i *AdmChannel) ToAdmChannelOutputWithContext(ctx context.Context) AdmChannelOutput

func (*AdmChannel) ToAdmChannelPtrOutput

func (i *AdmChannel) ToAdmChannelPtrOutput() AdmChannelPtrOutput

func (*AdmChannel) ToAdmChannelPtrOutputWithContext

func (i *AdmChannel) ToAdmChannelPtrOutputWithContext(ctx context.Context) AdmChannelPtrOutput

type AdmChannelArgs

type AdmChannelArgs struct {
	// The application ID.
	ApplicationId pulumi.StringInput
	// Client ID (part of OAuth Credentials) obtained via Amazon Developer Account.
	ClientId pulumi.StringInput
	// Client Secret (part of OAuth Credentials) obtained via Amazon Developer Account.
	ClientSecret pulumi.StringInput
	// Specifies whether to enable the channel. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
}

The set of arguments for constructing a AdmChannel resource.

func (AdmChannelArgs) ElementType

func (AdmChannelArgs) ElementType() reflect.Type

type AdmChannelArray

type AdmChannelArray []AdmChannelInput

func (AdmChannelArray) ElementType

func (AdmChannelArray) ElementType() reflect.Type

func (AdmChannelArray) ToAdmChannelArrayOutput

func (i AdmChannelArray) ToAdmChannelArrayOutput() AdmChannelArrayOutput

func (AdmChannelArray) ToAdmChannelArrayOutputWithContext

func (i AdmChannelArray) ToAdmChannelArrayOutputWithContext(ctx context.Context) AdmChannelArrayOutput

type AdmChannelArrayInput

type AdmChannelArrayInput interface {
	pulumi.Input

	ToAdmChannelArrayOutput() AdmChannelArrayOutput
	ToAdmChannelArrayOutputWithContext(context.Context) AdmChannelArrayOutput
}

AdmChannelArrayInput is an input type that accepts AdmChannelArray and AdmChannelArrayOutput values. You can construct a concrete instance of `AdmChannelArrayInput` via:

AdmChannelArray{ AdmChannelArgs{...} }

type AdmChannelArrayOutput

type AdmChannelArrayOutput struct{ *pulumi.OutputState }

func (AdmChannelArrayOutput) ElementType

func (AdmChannelArrayOutput) ElementType() reflect.Type

func (AdmChannelArrayOutput) Index

func (AdmChannelArrayOutput) ToAdmChannelArrayOutput

func (o AdmChannelArrayOutput) ToAdmChannelArrayOutput() AdmChannelArrayOutput

func (AdmChannelArrayOutput) ToAdmChannelArrayOutputWithContext

func (o AdmChannelArrayOutput) ToAdmChannelArrayOutputWithContext(ctx context.Context) AdmChannelArrayOutput

type AdmChannelInput

type AdmChannelInput interface {
	pulumi.Input

	ToAdmChannelOutput() AdmChannelOutput
	ToAdmChannelOutputWithContext(ctx context.Context) AdmChannelOutput
}

type AdmChannelMap

type AdmChannelMap map[string]AdmChannelInput

func (AdmChannelMap) ElementType

func (AdmChannelMap) ElementType() reflect.Type

func (AdmChannelMap) ToAdmChannelMapOutput

func (i AdmChannelMap) ToAdmChannelMapOutput() AdmChannelMapOutput

func (AdmChannelMap) ToAdmChannelMapOutputWithContext

func (i AdmChannelMap) ToAdmChannelMapOutputWithContext(ctx context.Context) AdmChannelMapOutput

type AdmChannelMapInput

type AdmChannelMapInput interface {
	pulumi.Input

	ToAdmChannelMapOutput() AdmChannelMapOutput
	ToAdmChannelMapOutputWithContext(context.Context) AdmChannelMapOutput
}

AdmChannelMapInput is an input type that accepts AdmChannelMap and AdmChannelMapOutput values. You can construct a concrete instance of `AdmChannelMapInput` via:

AdmChannelMap{ "key": AdmChannelArgs{...} }

type AdmChannelMapOutput

type AdmChannelMapOutput struct{ *pulumi.OutputState }

func (AdmChannelMapOutput) ElementType

func (AdmChannelMapOutput) ElementType() reflect.Type

func (AdmChannelMapOutput) MapIndex

func (AdmChannelMapOutput) ToAdmChannelMapOutput

func (o AdmChannelMapOutput) ToAdmChannelMapOutput() AdmChannelMapOutput

func (AdmChannelMapOutput) ToAdmChannelMapOutputWithContext

func (o AdmChannelMapOutput) ToAdmChannelMapOutputWithContext(ctx context.Context) AdmChannelMapOutput

type AdmChannelOutput

type AdmChannelOutput struct{ *pulumi.OutputState }

func (AdmChannelOutput) ElementType

func (AdmChannelOutput) ElementType() reflect.Type

func (AdmChannelOutput) ToAdmChannelOutput

func (o AdmChannelOutput) ToAdmChannelOutput() AdmChannelOutput

func (AdmChannelOutput) ToAdmChannelOutputWithContext

func (o AdmChannelOutput) ToAdmChannelOutputWithContext(ctx context.Context) AdmChannelOutput

func (AdmChannelOutput) ToAdmChannelPtrOutput

func (o AdmChannelOutput) ToAdmChannelPtrOutput() AdmChannelPtrOutput

func (AdmChannelOutput) ToAdmChannelPtrOutputWithContext

func (o AdmChannelOutput) ToAdmChannelPtrOutputWithContext(ctx context.Context) AdmChannelPtrOutput

type AdmChannelPtrInput

type AdmChannelPtrInput interface {
	pulumi.Input

	ToAdmChannelPtrOutput() AdmChannelPtrOutput
	ToAdmChannelPtrOutputWithContext(ctx context.Context) AdmChannelPtrOutput
}

type AdmChannelPtrOutput

type AdmChannelPtrOutput struct{ *pulumi.OutputState }

func (AdmChannelPtrOutput) Elem added in v4.15.0

func (AdmChannelPtrOutput) ElementType

func (AdmChannelPtrOutput) ElementType() reflect.Type

func (AdmChannelPtrOutput) ToAdmChannelPtrOutput

func (o AdmChannelPtrOutput) ToAdmChannelPtrOutput() AdmChannelPtrOutput

func (AdmChannelPtrOutput) ToAdmChannelPtrOutputWithContext

func (o AdmChannelPtrOutput) ToAdmChannelPtrOutputWithContext(ctx context.Context) AdmChannelPtrOutput

type AdmChannelState

type AdmChannelState struct {
	// The application ID.
	ApplicationId pulumi.StringPtrInput
	// Client ID (part of OAuth Credentials) obtained via Amazon Developer Account.
	ClientId pulumi.StringPtrInput
	// Client Secret (part of OAuth Credentials) obtained via Amazon Developer Account.
	ClientSecret pulumi.StringPtrInput
	// Specifies whether to enable the channel. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
}

func (AdmChannelState) ElementType

func (AdmChannelState) ElementType() reflect.Type

type ApnsChannel

type ApnsChannel struct {
	pulumi.CustomResourceState

	// The application ID.
	ApplicationId pulumi.StringOutput `pulumi:"applicationId"`
	// The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app.
	BundleId pulumi.StringPtrOutput `pulumi:"bundleId"`
	// The pem encoded TLS Certificate from Apple.
	Certificate pulumi.StringPtrOutput `pulumi:"certificate"`
	// The default authentication method used for APNs.
	// __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console.
	// You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK.
	// If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type.
	DefaultAuthenticationMethod pulumi.StringPtrOutput `pulumi:"defaultAuthenticationMethod"`
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The Certificate Private Key file (ie. `.key` file).
	PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"`
	// The ID assigned to your Apple developer account team. This value is provided on the Membership page.
	TeamId pulumi.StringPtrOutput `pulumi:"teamId"`
	// The `.p8` file that you download from your Apple developer account when you create an authentication key.
	TokenKey pulumi.StringPtrOutput `pulumi:"tokenKey"`
	// The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.
	TokenKeyId pulumi.StringPtrOutput `pulumi:"tokenKeyId"`
}

Provides a Pinpoint APNs Channel resource.

## Import

Pinpoint APNs Channel can be imported using the `application-id`, e.g.

```sh

$ pulumi import aws:pinpoint/apnsChannel:ApnsChannel apns application-id

```

func GetApnsChannel

func GetApnsChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApnsChannelState, opts ...pulumi.ResourceOption) (*ApnsChannel, error)

GetApnsChannel gets an existing ApnsChannel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApnsChannel

func NewApnsChannel(ctx *pulumi.Context,
	name string, args *ApnsChannelArgs, opts ...pulumi.ResourceOption) (*ApnsChannel, error)

NewApnsChannel registers a new resource with the given unique name, arguments, and options.

func (*ApnsChannel) ElementType

func (*ApnsChannel) ElementType() reflect.Type

func (*ApnsChannel) ToApnsChannelOutput

func (i *ApnsChannel) ToApnsChannelOutput() ApnsChannelOutput

func (*ApnsChannel) ToApnsChannelOutputWithContext

func (i *ApnsChannel) ToApnsChannelOutputWithContext(ctx context.Context) ApnsChannelOutput

func (*ApnsChannel) ToApnsChannelPtrOutput

func (i *ApnsChannel) ToApnsChannelPtrOutput() ApnsChannelPtrOutput

func (*ApnsChannel) ToApnsChannelPtrOutputWithContext

func (i *ApnsChannel) ToApnsChannelPtrOutputWithContext(ctx context.Context) ApnsChannelPtrOutput

type ApnsChannelArgs

type ApnsChannelArgs struct {
	// The application ID.
	ApplicationId pulumi.StringInput
	// The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app.
	BundleId pulumi.StringPtrInput
	// The pem encoded TLS Certificate from Apple.
	Certificate pulumi.StringPtrInput
	// The default authentication method used for APNs.
	// __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console.
	// You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK.
	// If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type.
	DefaultAuthenticationMethod pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The Certificate Private Key file (ie. `.key` file).
	PrivateKey pulumi.StringPtrInput
	// The ID assigned to your Apple developer account team. This value is provided on the Membership page.
	TeamId pulumi.StringPtrInput
	// The `.p8` file that you download from your Apple developer account when you create an authentication key.
	TokenKey pulumi.StringPtrInput
	// The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.
	TokenKeyId pulumi.StringPtrInput
}

The set of arguments for constructing a ApnsChannel resource.

func (ApnsChannelArgs) ElementType

func (ApnsChannelArgs) ElementType() reflect.Type

type ApnsChannelArray

type ApnsChannelArray []ApnsChannelInput

func (ApnsChannelArray) ElementType

func (ApnsChannelArray) ElementType() reflect.Type

func (ApnsChannelArray) ToApnsChannelArrayOutput

func (i ApnsChannelArray) ToApnsChannelArrayOutput() ApnsChannelArrayOutput

func (ApnsChannelArray) ToApnsChannelArrayOutputWithContext

func (i ApnsChannelArray) ToApnsChannelArrayOutputWithContext(ctx context.Context) ApnsChannelArrayOutput

type ApnsChannelArrayInput

type ApnsChannelArrayInput interface {
	pulumi.Input

	ToApnsChannelArrayOutput() ApnsChannelArrayOutput
	ToApnsChannelArrayOutputWithContext(context.Context) ApnsChannelArrayOutput
}

ApnsChannelArrayInput is an input type that accepts ApnsChannelArray and ApnsChannelArrayOutput values. You can construct a concrete instance of `ApnsChannelArrayInput` via:

ApnsChannelArray{ ApnsChannelArgs{...} }

type ApnsChannelArrayOutput

type ApnsChannelArrayOutput struct{ *pulumi.OutputState }

func (ApnsChannelArrayOutput) ElementType

func (ApnsChannelArrayOutput) ElementType() reflect.Type

func (ApnsChannelArrayOutput) Index

func (ApnsChannelArrayOutput) ToApnsChannelArrayOutput

func (o ApnsChannelArrayOutput) ToApnsChannelArrayOutput() ApnsChannelArrayOutput

func (ApnsChannelArrayOutput) ToApnsChannelArrayOutputWithContext

func (o ApnsChannelArrayOutput) ToApnsChannelArrayOutputWithContext(ctx context.Context) ApnsChannelArrayOutput

type ApnsChannelInput

type ApnsChannelInput interface {
	pulumi.Input

	ToApnsChannelOutput() ApnsChannelOutput
	ToApnsChannelOutputWithContext(ctx context.Context) ApnsChannelOutput
}

type ApnsChannelMap

type ApnsChannelMap map[string]ApnsChannelInput

func (ApnsChannelMap) ElementType

func (ApnsChannelMap) ElementType() reflect.Type

func (ApnsChannelMap) ToApnsChannelMapOutput

func (i ApnsChannelMap) ToApnsChannelMapOutput() ApnsChannelMapOutput

func (ApnsChannelMap) ToApnsChannelMapOutputWithContext

func (i ApnsChannelMap) ToApnsChannelMapOutputWithContext(ctx context.Context) ApnsChannelMapOutput

type ApnsChannelMapInput

type ApnsChannelMapInput interface {
	pulumi.Input

	ToApnsChannelMapOutput() ApnsChannelMapOutput
	ToApnsChannelMapOutputWithContext(context.Context) ApnsChannelMapOutput
}

ApnsChannelMapInput is an input type that accepts ApnsChannelMap and ApnsChannelMapOutput values. You can construct a concrete instance of `ApnsChannelMapInput` via:

ApnsChannelMap{ "key": ApnsChannelArgs{...} }

type ApnsChannelMapOutput

type ApnsChannelMapOutput struct{ *pulumi.OutputState }

func (ApnsChannelMapOutput) ElementType

func (ApnsChannelMapOutput) ElementType() reflect.Type

func (ApnsChannelMapOutput) MapIndex

func (ApnsChannelMapOutput) ToApnsChannelMapOutput

func (o ApnsChannelMapOutput) ToApnsChannelMapOutput() ApnsChannelMapOutput

func (ApnsChannelMapOutput) ToApnsChannelMapOutputWithContext

func (o ApnsChannelMapOutput) ToApnsChannelMapOutputWithContext(ctx context.Context) ApnsChannelMapOutput

type ApnsChannelOutput

type ApnsChannelOutput struct{ *pulumi.OutputState }

func (ApnsChannelOutput) ElementType

func (ApnsChannelOutput) ElementType() reflect.Type

func (ApnsChannelOutput) ToApnsChannelOutput

func (o ApnsChannelOutput) ToApnsChannelOutput() ApnsChannelOutput

func (ApnsChannelOutput) ToApnsChannelOutputWithContext

func (o ApnsChannelOutput) ToApnsChannelOutputWithContext(ctx context.Context) ApnsChannelOutput

func (ApnsChannelOutput) ToApnsChannelPtrOutput

func (o ApnsChannelOutput) ToApnsChannelPtrOutput() ApnsChannelPtrOutput

func (ApnsChannelOutput) ToApnsChannelPtrOutputWithContext

func (o ApnsChannelOutput) ToApnsChannelPtrOutputWithContext(ctx context.Context) ApnsChannelPtrOutput

type ApnsChannelPtrInput

type ApnsChannelPtrInput interface {
	pulumi.Input

	ToApnsChannelPtrOutput() ApnsChannelPtrOutput
	ToApnsChannelPtrOutputWithContext(ctx context.Context) ApnsChannelPtrOutput
}

type ApnsChannelPtrOutput

type ApnsChannelPtrOutput struct{ *pulumi.OutputState }

func (ApnsChannelPtrOutput) Elem added in v4.15.0

func (ApnsChannelPtrOutput) ElementType

func (ApnsChannelPtrOutput) ElementType() reflect.Type

func (ApnsChannelPtrOutput) ToApnsChannelPtrOutput

func (o ApnsChannelPtrOutput) ToApnsChannelPtrOutput() ApnsChannelPtrOutput

func (ApnsChannelPtrOutput) ToApnsChannelPtrOutputWithContext

func (o ApnsChannelPtrOutput) ToApnsChannelPtrOutputWithContext(ctx context.Context) ApnsChannelPtrOutput

type ApnsChannelState

type ApnsChannelState struct {
	// The application ID.
	ApplicationId pulumi.StringPtrInput
	// The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app.
	BundleId pulumi.StringPtrInput
	// The pem encoded TLS Certificate from Apple.
	Certificate pulumi.StringPtrInput
	// The default authentication method used for APNs.
	// __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console.
	// You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK.
	// If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type.
	DefaultAuthenticationMethod pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The Certificate Private Key file (ie. `.key` file).
	PrivateKey pulumi.StringPtrInput
	// The ID assigned to your Apple developer account team. This value is provided on the Membership page.
	TeamId pulumi.StringPtrInput
	// The `.p8` file that you download from your Apple developer account when you create an authentication key.
	TokenKey pulumi.StringPtrInput
	// The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.
	TokenKeyId pulumi.StringPtrInput
}

func (ApnsChannelState) ElementType

func (ApnsChannelState) ElementType() reflect.Type

type ApnsSandboxChannel

type ApnsSandboxChannel struct {
	pulumi.CustomResourceState

	// The application ID.
	ApplicationId pulumi.StringOutput `pulumi:"applicationId"`
	// The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app.
	BundleId pulumi.StringPtrOutput `pulumi:"bundleId"`
	// The pem encoded TLS Certificate from Apple.
	Certificate pulumi.StringPtrOutput `pulumi:"certificate"`
	// The default authentication method used for APNs Sandbox.
	// __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console.
	// You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK.
	// If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type.
	DefaultAuthenticationMethod pulumi.StringPtrOutput `pulumi:"defaultAuthenticationMethod"`
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The Certificate Private Key file (ie. `.key` file).
	PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"`
	// The ID assigned to your Apple developer account team. This value is provided on the Membership page.
	TeamId pulumi.StringPtrOutput `pulumi:"teamId"`
	// The `.p8` file that you download from your Apple developer account when you create an authentication key.
	TokenKey pulumi.StringPtrOutput `pulumi:"tokenKey"`
	// The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.
	TokenKeyId pulumi.StringPtrOutput `pulumi:"tokenKeyId"`
}

Provides a Pinpoint APNs Sandbox Channel resource.

## Import

Pinpoint APNs Sandbox Channel can be imported using the `application-id`, e.g.

```sh

$ pulumi import aws:pinpoint/apnsSandboxChannel:ApnsSandboxChannel apns_sandbox application-id

```

func GetApnsSandboxChannel

func GetApnsSandboxChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApnsSandboxChannelState, opts ...pulumi.ResourceOption) (*ApnsSandboxChannel, error)

GetApnsSandboxChannel gets an existing ApnsSandboxChannel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApnsSandboxChannel

func NewApnsSandboxChannel(ctx *pulumi.Context,
	name string, args *ApnsSandboxChannelArgs, opts ...pulumi.ResourceOption) (*ApnsSandboxChannel, error)

NewApnsSandboxChannel registers a new resource with the given unique name, arguments, and options.

func (*ApnsSandboxChannel) ElementType

func (*ApnsSandboxChannel) ElementType() reflect.Type

func (*ApnsSandboxChannel) ToApnsSandboxChannelOutput

func (i *ApnsSandboxChannel) ToApnsSandboxChannelOutput() ApnsSandboxChannelOutput

func (*ApnsSandboxChannel) ToApnsSandboxChannelOutputWithContext

func (i *ApnsSandboxChannel) ToApnsSandboxChannelOutputWithContext(ctx context.Context) ApnsSandboxChannelOutput

func (*ApnsSandboxChannel) ToApnsSandboxChannelPtrOutput

func (i *ApnsSandboxChannel) ToApnsSandboxChannelPtrOutput() ApnsSandboxChannelPtrOutput

func (*ApnsSandboxChannel) ToApnsSandboxChannelPtrOutputWithContext

func (i *ApnsSandboxChannel) ToApnsSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsSandboxChannelPtrOutput

type ApnsSandboxChannelArgs

type ApnsSandboxChannelArgs struct {
	// The application ID.
	ApplicationId pulumi.StringInput
	// The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app.
	BundleId pulumi.StringPtrInput
	// The pem encoded TLS Certificate from Apple.
	Certificate pulumi.StringPtrInput
	// The default authentication method used for APNs Sandbox.
	// __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console.
	// You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK.
	// If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type.
	DefaultAuthenticationMethod pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The Certificate Private Key file (ie. `.key` file).
	PrivateKey pulumi.StringPtrInput
	// The ID assigned to your Apple developer account team. This value is provided on the Membership page.
	TeamId pulumi.StringPtrInput
	// The `.p8` file that you download from your Apple developer account when you create an authentication key.
	TokenKey pulumi.StringPtrInput
	// The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.
	TokenKeyId pulumi.StringPtrInput
}

The set of arguments for constructing a ApnsSandboxChannel resource.

func (ApnsSandboxChannelArgs) ElementType

func (ApnsSandboxChannelArgs) ElementType() reflect.Type

type ApnsSandboxChannelArray

type ApnsSandboxChannelArray []ApnsSandboxChannelInput

func (ApnsSandboxChannelArray) ElementType

func (ApnsSandboxChannelArray) ElementType() reflect.Type

func (ApnsSandboxChannelArray) ToApnsSandboxChannelArrayOutput

func (i ApnsSandboxChannelArray) ToApnsSandboxChannelArrayOutput() ApnsSandboxChannelArrayOutput

func (ApnsSandboxChannelArray) ToApnsSandboxChannelArrayOutputWithContext

func (i ApnsSandboxChannelArray) ToApnsSandboxChannelArrayOutputWithContext(ctx context.Context) ApnsSandboxChannelArrayOutput

type ApnsSandboxChannelArrayInput

type ApnsSandboxChannelArrayInput interface {
	pulumi.Input

	ToApnsSandboxChannelArrayOutput() ApnsSandboxChannelArrayOutput
	ToApnsSandboxChannelArrayOutputWithContext(context.Context) ApnsSandboxChannelArrayOutput
}

ApnsSandboxChannelArrayInput is an input type that accepts ApnsSandboxChannelArray and ApnsSandboxChannelArrayOutput values. You can construct a concrete instance of `ApnsSandboxChannelArrayInput` via:

ApnsSandboxChannelArray{ ApnsSandboxChannelArgs{...} }

type ApnsSandboxChannelArrayOutput

type ApnsSandboxChannelArrayOutput struct{ *pulumi.OutputState }

func (ApnsSandboxChannelArrayOutput) ElementType

func (ApnsSandboxChannelArrayOutput) Index

func (ApnsSandboxChannelArrayOutput) ToApnsSandboxChannelArrayOutput

func (o ApnsSandboxChannelArrayOutput) ToApnsSandboxChannelArrayOutput() ApnsSandboxChannelArrayOutput

func (ApnsSandboxChannelArrayOutput) ToApnsSandboxChannelArrayOutputWithContext

func (o ApnsSandboxChannelArrayOutput) ToApnsSandboxChannelArrayOutputWithContext(ctx context.Context) ApnsSandboxChannelArrayOutput

type ApnsSandboxChannelInput

type ApnsSandboxChannelInput interface {
	pulumi.Input

	ToApnsSandboxChannelOutput() ApnsSandboxChannelOutput
	ToApnsSandboxChannelOutputWithContext(ctx context.Context) ApnsSandboxChannelOutput
}

type ApnsSandboxChannelMap

type ApnsSandboxChannelMap map[string]ApnsSandboxChannelInput

func (ApnsSandboxChannelMap) ElementType

func (ApnsSandboxChannelMap) ElementType() reflect.Type

func (ApnsSandboxChannelMap) ToApnsSandboxChannelMapOutput

func (i ApnsSandboxChannelMap) ToApnsSandboxChannelMapOutput() ApnsSandboxChannelMapOutput

func (ApnsSandboxChannelMap) ToApnsSandboxChannelMapOutputWithContext

func (i ApnsSandboxChannelMap) ToApnsSandboxChannelMapOutputWithContext(ctx context.Context) ApnsSandboxChannelMapOutput

type ApnsSandboxChannelMapInput

type ApnsSandboxChannelMapInput interface {
	pulumi.Input

	ToApnsSandboxChannelMapOutput() ApnsSandboxChannelMapOutput
	ToApnsSandboxChannelMapOutputWithContext(context.Context) ApnsSandboxChannelMapOutput
}

ApnsSandboxChannelMapInput is an input type that accepts ApnsSandboxChannelMap and ApnsSandboxChannelMapOutput values. You can construct a concrete instance of `ApnsSandboxChannelMapInput` via:

ApnsSandboxChannelMap{ "key": ApnsSandboxChannelArgs{...} }

type ApnsSandboxChannelMapOutput

type ApnsSandboxChannelMapOutput struct{ *pulumi.OutputState }

func (ApnsSandboxChannelMapOutput) ElementType

func (ApnsSandboxChannelMapOutput) MapIndex

func (ApnsSandboxChannelMapOutput) ToApnsSandboxChannelMapOutput

func (o ApnsSandboxChannelMapOutput) ToApnsSandboxChannelMapOutput() ApnsSandboxChannelMapOutput

func (ApnsSandboxChannelMapOutput) ToApnsSandboxChannelMapOutputWithContext

func (o ApnsSandboxChannelMapOutput) ToApnsSandboxChannelMapOutputWithContext(ctx context.Context) ApnsSandboxChannelMapOutput

type ApnsSandboxChannelOutput

type ApnsSandboxChannelOutput struct{ *pulumi.OutputState }

func (ApnsSandboxChannelOutput) ElementType

func (ApnsSandboxChannelOutput) ElementType() reflect.Type

func (ApnsSandboxChannelOutput) ToApnsSandboxChannelOutput

func (o ApnsSandboxChannelOutput) ToApnsSandboxChannelOutput() ApnsSandboxChannelOutput

func (ApnsSandboxChannelOutput) ToApnsSandboxChannelOutputWithContext

func (o ApnsSandboxChannelOutput) ToApnsSandboxChannelOutputWithContext(ctx context.Context) ApnsSandboxChannelOutput

func (ApnsSandboxChannelOutput) ToApnsSandboxChannelPtrOutput

func (o ApnsSandboxChannelOutput) ToApnsSandboxChannelPtrOutput() ApnsSandboxChannelPtrOutput

func (ApnsSandboxChannelOutput) ToApnsSandboxChannelPtrOutputWithContext

func (o ApnsSandboxChannelOutput) ToApnsSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsSandboxChannelPtrOutput

type ApnsSandboxChannelPtrInput

type ApnsSandboxChannelPtrInput interface {
	pulumi.Input

	ToApnsSandboxChannelPtrOutput() ApnsSandboxChannelPtrOutput
	ToApnsSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsSandboxChannelPtrOutput
}

type ApnsSandboxChannelPtrOutput

type ApnsSandboxChannelPtrOutput struct{ *pulumi.OutputState }

func (ApnsSandboxChannelPtrOutput) Elem added in v4.15.0

func (ApnsSandboxChannelPtrOutput) ElementType

func (ApnsSandboxChannelPtrOutput) ToApnsSandboxChannelPtrOutput

func (o ApnsSandboxChannelPtrOutput) ToApnsSandboxChannelPtrOutput() ApnsSandboxChannelPtrOutput

func (ApnsSandboxChannelPtrOutput) ToApnsSandboxChannelPtrOutputWithContext

func (o ApnsSandboxChannelPtrOutput) ToApnsSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsSandboxChannelPtrOutput

type ApnsSandboxChannelState

type ApnsSandboxChannelState struct {
	// The application ID.
	ApplicationId pulumi.StringPtrInput
	// The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app.
	BundleId pulumi.StringPtrInput
	// The pem encoded TLS Certificate from Apple.
	Certificate pulumi.StringPtrInput
	// The default authentication method used for APNs Sandbox.
	// __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console.
	// You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK.
	// If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type.
	DefaultAuthenticationMethod pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The Certificate Private Key file (ie. `.key` file).
	PrivateKey pulumi.StringPtrInput
	// The ID assigned to your Apple developer account team. This value is provided on the Membership page.
	TeamId pulumi.StringPtrInput
	// The `.p8` file that you download from your Apple developer account when you create an authentication key.
	TokenKey pulumi.StringPtrInput
	// The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.
	TokenKeyId pulumi.StringPtrInput
}

func (ApnsSandboxChannelState) ElementType

func (ApnsSandboxChannelState) ElementType() reflect.Type

type ApnsVoipChannel

type ApnsVoipChannel struct {
	pulumi.CustomResourceState

	// The application ID.
	ApplicationId pulumi.StringOutput `pulumi:"applicationId"`
	// The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app.
	BundleId pulumi.StringPtrOutput `pulumi:"bundleId"`
	// The pem encoded TLS Certificate from Apple.
	Certificate pulumi.StringPtrOutput `pulumi:"certificate"`
	// The default authentication method used for APNs.
	// __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console.
	// You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK.
	// If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type.
	DefaultAuthenticationMethod pulumi.StringPtrOutput `pulumi:"defaultAuthenticationMethod"`
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The Certificate Private Key file (ie. `.key` file).
	PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"`
	// The ID assigned to your Apple developer account team. This value is provided on the Membership page.
	TeamId pulumi.StringPtrOutput `pulumi:"teamId"`
	// The `.p8` file that you download from your Apple developer account when you create an authentication key.
	TokenKey pulumi.StringPtrOutput `pulumi:"tokenKey"`
	// The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.
	TokenKeyId pulumi.StringPtrOutput `pulumi:"tokenKeyId"`
}

Provides a Pinpoint APNs VoIP Channel resource.

## Import

Pinpoint APNs VoIP Channel can be imported using the `application-id`, e.g.

```sh

$ pulumi import aws:pinpoint/apnsVoipChannel:ApnsVoipChannel apns_voip application-id

```

func GetApnsVoipChannel

func GetApnsVoipChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApnsVoipChannelState, opts ...pulumi.ResourceOption) (*ApnsVoipChannel, error)

GetApnsVoipChannel gets an existing ApnsVoipChannel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApnsVoipChannel

func NewApnsVoipChannel(ctx *pulumi.Context,
	name string, args *ApnsVoipChannelArgs, opts ...pulumi.ResourceOption) (*ApnsVoipChannel, error)

NewApnsVoipChannel registers a new resource with the given unique name, arguments, and options.

func (*ApnsVoipChannel) ElementType

func (*ApnsVoipChannel) ElementType() reflect.Type

func (*ApnsVoipChannel) ToApnsVoipChannelOutput

func (i *ApnsVoipChannel) ToApnsVoipChannelOutput() ApnsVoipChannelOutput

func (*ApnsVoipChannel) ToApnsVoipChannelOutputWithContext

func (i *ApnsVoipChannel) ToApnsVoipChannelOutputWithContext(ctx context.Context) ApnsVoipChannelOutput

func (*ApnsVoipChannel) ToApnsVoipChannelPtrOutput

func (i *ApnsVoipChannel) ToApnsVoipChannelPtrOutput() ApnsVoipChannelPtrOutput

func (*ApnsVoipChannel) ToApnsVoipChannelPtrOutputWithContext

func (i *ApnsVoipChannel) ToApnsVoipChannelPtrOutputWithContext(ctx context.Context) ApnsVoipChannelPtrOutput

type ApnsVoipChannelArgs

type ApnsVoipChannelArgs struct {
	// The application ID.
	ApplicationId pulumi.StringInput
	// The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app.
	BundleId pulumi.StringPtrInput
	// The pem encoded TLS Certificate from Apple.
	Certificate pulumi.StringPtrInput
	// The default authentication method used for APNs.
	// __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console.
	// You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK.
	// If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type.
	DefaultAuthenticationMethod pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The Certificate Private Key file (ie. `.key` file).
	PrivateKey pulumi.StringPtrInput
	// The ID assigned to your Apple developer account team. This value is provided on the Membership page.
	TeamId pulumi.StringPtrInput
	// The `.p8` file that you download from your Apple developer account when you create an authentication key.
	TokenKey pulumi.StringPtrInput
	// The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.
	TokenKeyId pulumi.StringPtrInput
}

The set of arguments for constructing a ApnsVoipChannel resource.

func (ApnsVoipChannelArgs) ElementType

func (ApnsVoipChannelArgs) ElementType() reflect.Type

type ApnsVoipChannelArray

type ApnsVoipChannelArray []ApnsVoipChannelInput

func (ApnsVoipChannelArray) ElementType

func (ApnsVoipChannelArray) ElementType() reflect.Type

func (ApnsVoipChannelArray) ToApnsVoipChannelArrayOutput

func (i ApnsVoipChannelArray) ToApnsVoipChannelArrayOutput() ApnsVoipChannelArrayOutput

func (ApnsVoipChannelArray) ToApnsVoipChannelArrayOutputWithContext

func (i ApnsVoipChannelArray) ToApnsVoipChannelArrayOutputWithContext(ctx context.Context) ApnsVoipChannelArrayOutput

type ApnsVoipChannelArrayInput

type ApnsVoipChannelArrayInput interface {
	pulumi.Input

	ToApnsVoipChannelArrayOutput() ApnsVoipChannelArrayOutput
	ToApnsVoipChannelArrayOutputWithContext(context.Context) ApnsVoipChannelArrayOutput
}

ApnsVoipChannelArrayInput is an input type that accepts ApnsVoipChannelArray and ApnsVoipChannelArrayOutput values. You can construct a concrete instance of `ApnsVoipChannelArrayInput` via:

ApnsVoipChannelArray{ ApnsVoipChannelArgs{...} }

type ApnsVoipChannelArrayOutput

type ApnsVoipChannelArrayOutput struct{ *pulumi.OutputState }

func (ApnsVoipChannelArrayOutput) ElementType

func (ApnsVoipChannelArrayOutput) ElementType() reflect.Type

func (ApnsVoipChannelArrayOutput) Index

func (ApnsVoipChannelArrayOutput) ToApnsVoipChannelArrayOutput

func (o ApnsVoipChannelArrayOutput) ToApnsVoipChannelArrayOutput() ApnsVoipChannelArrayOutput

func (ApnsVoipChannelArrayOutput) ToApnsVoipChannelArrayOutputWithContext

func (o ApnsVoipChannelArrayOutput) ToApnsVoipChannelArrayOutputWithContext(ctx context.Context) ApnsVoipChannelArrayOutput

type ApnsVoipChannelInput

type ApnsVoipChannelInput interface {
	pulumi.Input

	ToApnsVoipChannelOutput() ApnsVoipChannelOutput
	ToApnsVoipChannelOutputWithContext(ctx context.Context) ApnsVoipChannelOutput
}

type ApnsVoipChannelMap

type ApnsVoipChannelMap map[string]ApnsVoipChannelInput

func (ApnsVoipChannelMap) ElementType

func (ApnsVoipChannelMap) ElementType() reflect.Type

func (ApnsVoipChannelMap) ToApnsVoipChannelMapOutput

func (i ApnsVoipChannelMap) ToApnsVoipChannelMapOutput() ApnsVoipChannelMapOutput

func (ApnsVoipChannelMap) ToApnsVoipChannelMapOutputWithContext

func (i ApnsVoipChannelMap) ToApnsVoipChannelMapOutputWithContext(ctx context.Context) ApnsVoipChannelMapOutput

type ApnsVoipChannelMapInput

type ApnsVoipChannelMapInput interface {
	pulumi.Input

	ToApnsVoipChannelMapOutput() ApnsVoipChannelMapOutput
	ToApnsVoipChannelMapOutputWithContext(context.Context) ApnsVoipChannelMapOutput
}

ApnsVoipChannelMapInput is an input type that accepts ApnsVoipChannelMap and ApnsVoipChannelMapOutput values. You can construct a concrete instance of `ApnsVoipChannelMapInput` via:

ApnsVoipChannelMap{ "key": ApnsVoipChannelArgs{...} }

type ApnsVoipChannelMapOutput

type ApnsVoipChannelMapOutput struct{ *pulumi.OutputState }

func (ApnsVoipChannelMapOutput) ElementType

func (ApnsVoipChannelMapOutput) ElementType() reflect.Type

func (ApnsVoipChannelMapOutput) MapIndex

func (ApnsVoipChannelMapOutput) ToApnsVoipChannelMapOutput

func (o ApnsVoipChannelMapOutput) ToApnsVoipChannelMapOutput() ApnsVoipChannelMapOutput

func (ApnsVoipChannelMapOutput) ToApnsVoipChannelMapOutputWithContext

func (o ApnsVoipChannelMapOutput) ToApnsVoipChannelMapOutputWithContext(ctx context.Context) ApnsVoipChannelMapOutput

type ApnsVoipChannelOutput

type ApnsVoipChannelOutput struct{ *pulumi.OutputState }

func (ApnsVoipChannelOutput) ElementType

func (ApnsVoipChannelOutput) ElementType() reflect.Type

func (ApnsVoipChannelOutput) ToApnsVoipChannelOutput

func (o ApnsVoipChannelOutput) ToApnsVoipChannelOutput() ApnsVoipChannelOutput

func (ApnsVoipChannelOutput) ToApnsVoipChannelOutputWithContext

func (o ApnsVoipChannelOutput) ToApnsVoipChannelOutputWithContext(ctx context.Context) ApnsVoipChannelOutput

func (ApnsVoipChannelOutput) ToApnsVoipChannelPtrOutput

func (o ApnsVoipChannelOutput) ToApnsVoipChannelPtrOutput() ApnsVoipChannelPtrOutput

func (ApnsVoipChannelOutput) ToApnsVoipChannelPtrOutputWithContext

func (o ApnsVoipChannelOutput) ToApnsVoipChannelPtrOutputWithContext(ctx context.Context) ApnsVoipChannelPtrOutput

type ApnsVoipChannelPtrInput

type ApnsVoipChannelPtrInput interface {
	pulumi.Input

	ToApnsVoipChannelPtrOutput() ApnsVoipChannelPtrOutput
	ToApnsVoipChannelPtrOutputWithContext(ctx context.Context) ApnsVoipChannelPtrOutput
}

type ApnsVoipChannelPtrOutput

type ApnsVoipChannelPtrOutput struct{ *pulumi.OutputState }

func (ApnsVoipChannelPtrOutput) Elem added in v4.15.0

func (ApnsVoipChannelPtrOutput) ElementType

func (ApnsVoipChannelPtrOutput) ElementType() reflect.Type

func (ApnsVoipChannelPtrOutput) ToApnsVoipChannelPtrOutput

func (o ApnsVoipChannelPtrOutput) ToApnsVoipChannelPtrOutput() ApnsVoipChannelPtrOutput

func (ApnsVoipChannelPtrOutput) ToApnsVoipChannelPtrOutputWithContext

func (o ApnsVoipChannelPtrOutput) ToApnsVoipChannelPtrOutputWithContext(ctx context.Context) ApnsVoipChannelPtrOutput

type ApnsVoipChannelState

type ApnsVoipChannelState struct {
	// The application ID.
	ApplicationId pulumi.StringPtrInput
	// The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app.
	BundleId pulumi.StringPtrInput
	// The pem encoded TLS Certificate from Apple.
	Certificate pulumi.StringPtrInput
	// The default authentication method used for APNs.
	// __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console.
	// You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK.
	// If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type.
	DefaultAuthenticationMethod pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The Certificate Private Key file (ie. `.key` file).
	PrivateKey pulumi.StringPtrInput
	// The ID assigned to your Apple developer account team. This value is provided on the Membership page.
	TeamId pulumi.StringPtrInput
	// The `.p8` file that you download from your Apple developer account when you create an authentication key.
	TokenKey pulumi.StringPtrInput
	// The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.
	TokenKeyId pulumi.StringPtrInput
}

func (ApnsVoipChannelState) ElementType

func (ApnsVoipChannelState) ElementType() reflect.Type

type ApnsVoipSandboxChannel

type ApnsVoipSandboxChannel struct {
	pulumi.CustomResourceState

	// The application ID.
	ApplicationId pulumi.StringOutput `pulumi:"applicationId"`
	// The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app.
	BundleId pulumi.StringPtrOutput `pulumi:"bundleId"`
	// The pem encoded TLS Certificate from Apple.
	Certificate pulumi.StringPtrOutput `pulumi:"certificate"`
	// The default authentication method used for APNs.
	// __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console.
	// You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK.
	// If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type.
	DefaultAuthenticationMethod pulumi.StringPtrOutput `pulumi:"defaultAuthenticationMethod"`
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The Certificate Private Key file (ie. `.key` file).
	PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"`
	// The ID assigned to your Apple developer account team. This value is provided on the Membership page.
	TeamId pulumi.StringPtrOutput `pulumi:"teamId"`
	// The `.p8` file that you download from your Apple developer account when you create an authentication key.
	TokenKey pulumi.StringPtrOutput `pulumi:"tokenKey"`
	// The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.
	TokenKeyId pulumi.StringPtrOutput `pulumi:"tokenKeyId"`
}

Provides a Pinpoint APNs VoIP Sandbox Channel resource.

## Import

Pinpoint APNs VoIP Sandbox Channel can be imported using the `application-id`, e.g.

```sh

$ pulumi import aws:pinpoint/apnsVoipSandboxChannel:ApnsVoipSandboxChannel apns_voip_sandbox application-id

```

func GetApnsVoipSandboxChannel

func GetApnsVoipSandboxChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApnsVoipSandboxChannelState, opts ...pulumi.ResourceOption) (*ApnsVoipSandboxChannel, error)

GetApnsVoipSandboxChannel gets an existing ApnsVoipSandboxChannel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApnsVoipSandboxChannel

func NewApnsVoipSandboxChannel(ctx *pulumi.Context,
	name string, args *ApnsVoipSandboxChannelArgs, opts ...pulumi.ResourceOption) (*ApnsVoipSandboxChannel, error)

NewApnsVoipSandboxChannel registers a new resource with the given unique name, arguments, and options.

func (*ApnsVoipSandboxChannel) ElementType

func (*ApnsVoipSandboxChannel) ElementType() reflect.Type

func (*ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelOutput

func (i *ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelOutput() ApnsVoipSandboxChannelOutput

func (*ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelOutputWithContext

func (i *ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelOutput

func (*ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelPtrOutput

func (i *ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelPtrOutput() ApnsVoipSandboxChannelPtrOutput

func (*ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelPtrOutputWithContext

func (i *ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelPtrOutput

type ApnsVoipSandboxChannelArgs

type ApnsVoipSandboxChannelArgs struct {
	// The application ID.
	ApplicationId pulumi.StringInput
	// The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app.
	BundleId pulumi.StringPtrInput
	// The pem encoded TLS Certificate from Apple.
	Certificate pulumi.StringPtrInput
	// The default authentication method used for APNs.
	// __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console.
	// You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK.
	// If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type.
	DefaultAuthenticationMethod pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The Certificate Private Key file (ie. `.key` file).
	PrivateKey pulumi.StringPtrInput
	// The ID assigned to your Apple developer account team. This value is provided on the Membership page.
	TeamId pulumi.StringPtrInput
	// The `.p8` file that you download from your Apple developer account when you create an authentication key.
	TokenKey pulumi.StringPtrInput
	// The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.
	TokenKeyId pulumi.StringPtrInput
}

The set of arguments for constructing a ApnsVoipSandboxChannel resource.

func (ApnsVoipSandboxChannelArgs) ElementType

func (ApnsVoipSandboxChannelArgs) ElementType() reflect.Type

type ApnsVoipSandboxChannelArray

type ApnsVoipSandboxChannelArray []ApnsVoipSandboxChannelInput

func (ApnsVoipSandboxChannelArray) ElementType

func (ApnsVoipSandboxChannelArray) ToApnsVoipSandboxChannelArrayOutput

func (i ApnsVoipSandboxChannelArray) ToApnsVoipSandboxChannelArrayOutput() ApnsVoipSandboxChannelArrayOutput

func (ApnsVoipSandboxChannelArray) ToApnsVoipSandboxChannelArrayOutputWithContext

func (i ApnsVoipSandboxChannelArray) ToApnsVoipSandboxChannelArrayOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelArrayOutput

type ApnsVoipSandboxChannelArrayInput

type ApnsVoipSandboxChannelArrayInput interface {
	pulumi.Input

	ToApnsVoipSandboxChannelArrayOutput() ApnsVoipSandboxChannelArrayOutput
	ToApnsVoipSandboxChannelArrayOutputWithContext(context.Context) ApnsVoipSandboxChannelArrayOutput
}

ApnsVoipSandboxChannelArrayInput is an input type that accepts ApnsVoipSandboxChannelArray and ApnsVoipSandboxChannelArrayOutput values. You can construct a concrete instance of `ApnsVoipSandboxChannelArrayInput` via:

ApnsVoipSandboxChannelArray{ ApnsVoipSandboxChannelArgs{...} }

type ApnsVoipSandboxChannelArrayOutput

type ApnsVoipSandboxChannelArrayOutput struct{ *pulumi.OutputState }

func (ApnsVoipSandboxChannelArrayOutput) ElementType

func (ApnsVoipSandboxChannelArrayOutput) Index

func (ApnsVoipSandboxChannelArrayOutput) ToApnsVoipSandboxChannelArrayOutput

func (o ApnsVoipSandboxChannelArrayOutput) ToApnsVoipSandboxChannelArrayOutput() ApnsVoipSandboxChannelArrayOutput

func (ApnsVoipSandboxChannelArrayOutput) ToApnsVoipSandboxChannelArrayOutputWithContext

func (o ApnsVoipSandboxChannelArrayOutput) ToApnsVoipSandboxChannelArrayOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelArrayOutput

type ApnsVoipSandboxChannelInput

type ApnsVoipSandboxChannelInput interface {
	pulumi.Input

	ToApnsVoipSandboxChannelOutput() ApnsVoipSandboxChannelOutput
	ToApnsVoipSandboxChannelOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelOutput
}

type ApnsVoipSandboxChannelMap

type ApnsVoipSandboxChannelMap map[string]ApnsVoipSandboxChannelInput

func (ApnsVoipSandboxChannelMap) ElementType

func (ApnsVoipSandboxChannelMap) ElementType() reflect.Type

func (ApnsVoipSandboxChannelMap) ToApnsVoipSandboxChannelMapOutput

func (i ApnsVoipSandboxChannelMap) ToApnsVoipSandboxChannelMapOutput() ApnsVoipSandboxChannelMapOutput

func (ApnsVoipSandboxChannelMap) ToApnsVoipSandboxChannelMapOutputWithContext

func (i ApnsVoipSandboxChannelMap) ToApnsVoipSandboxChannelMapOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelMapOutput

type ApnsVoipSandboxChannelMapInput

type ApnsVoipSandboxChannelMapInput interface {
	pulumi.Input

	ToApnsVoipSandboxChannelMapOutput() ApnsVoipSandboxChannelMapOutput
	ToApnsVoipSandboxChannelMapOutputWithContext(context.Context) ApnsVoipSandboxChannelMapOutput
}

ApnsVoipSandboxChannelMapInput is an input type that accepts ApnsVoipSandboxChannelMap and ApnsVoipSandboxChannelMapOutput values. You can construct a concrete instance of `ApnsVoipSandboxChannelMapInput` via:

ApnsVoipSandboxChannelMap{ "key": ApnsVoipSandboxChannelArgs{...} }

type ApnsVoipSandboxChannelMapOutput

type ApnsVoipSandboxChannelMapOutput struct{ *pulumi.OutputState }

func (ApnsVoipSandboxChannelMapOutput) ElementType

func (ApnsVoipSandboxChannelMapOutput) MapIndex

func (ApnsVoipSandboxChannelMapOutput) ToApnsVoipSandboxChannelMapOutput

func (o ApnsVoipSandboxChannelMapOutput) ToApnsVoipSandboxChannelMapOutput() ApnsVoipSandboxChannelMapOutput

func (ApnsVoipSandboxChannelMapOutput) ToApnsVoipSandboxChannelMapOutputWithContext

func (o ApnsVoipSandboxChannelMapOutput) ToApnsVoipSandboxChannelMapOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelMapOutput

type ApnsVoipSandboxChannelOutput

type ApnsVoipSandboxChannelOutput struct{ *pulumi.OutputState }

func (ApnsVoipSandboxChannelOutput) ElementType

func (ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelOutput

func (o ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelOutput() ApnsVoipSandboxChannelOutput

func (ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelOutputWithContext

func (o ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelOutput

func (ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelPtrOutput

func (o ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelPtrOutput() ApnsVoipSandboxChannelPtrOutput

func (ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelPtrOutputWithContext

func (o ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelPtrOutput

type ApnsVoipSandboxChannelPtrInput

type ApnsVoipSandboxChannelPtrInput interface {
	pulumi.Input

	ToApnsVoipSandboxChannelPtrOutput() ApnsVoipSandboxChannelPtrOutput
	ToApnsVoipSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelPtrOutput
}

type ApnsVoipSandboxChannelPtrOutput

type ApnsVoipSandboxChannelPtrOutput struct{ *pulumi.OutputState }

func (ApnsVoipSandboxChannelPtrOutput) Elem added in v4.15.0

func (ApnsVoipSandboxChannelPtrOutput) ElementType

func (ApnsVoipSandboxChannelPtrOutput) ToApnsVoipSandboxChannelPtrOutput

func (o ApnsVoipSandboxChannelPtrOutput) ToApnsVoipSandboxChannelPtrOutput() ApnsVoipSandboxChannelPtrOutput

func (ApnsVoipSandboxChannelPtrOutput) ToApnsVoipSandboxChannelPtrOutputWithContext

func (o ApnsVoipSandboxChannelPtrOutput) ToApnsVoipSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelPtrOutput

type ApnsVoipSandboxChannelState

type ApnsVoipSandboxChannelState struct {
	// The application ID.
	ApplicationId pulumi.StringPtrInput
	// The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app.
	BundleId pulumi.StringPtrInput
	// The pem encoded TLS Certificate from Apple.
	Certificate pulumi.StringPtrInput
	// The default authentication method used for APNs.
	// __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console.
	// You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK.
	// If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type.
	DefaultAuthenticationMethod pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The Certificate Private Key file (ie. `.key` file).
	PrivateKey pulumi.StringPtrInput
	// The ID assigned to your Apple developer account team. This value is provided on the Membership page.
	TeamId pulumi.StringPtrInput
	// The `.p8` file that you download from your Apple developer account when you create an authentication key.
	TokenKey pulumi.StringPtrInput
	// The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.
	TokenKeyId pulumi.StringPtrInput
}

func (ApnsVoipSandboxChannelState) ElementType

type App

type App struct {
	pulumi.CustomResourceState

	// The Application ID of the Pinpoint App.
	ApplicationId pulumi.StringOutput `pulumi:"applicationId"`
	// Amazon Resource Name (ARN) of the PinPoint Application
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Specifies settings for invoking an AWS Lambda function that customizes a segment for a campaign
	CampaignHook AppCampaignHookPtrOutput `pulumi:"campaignHook"`
	// The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own
	Limits AppLimitsPtrOutput `pulumi:"limits"`
	// The application name. By default generated by this provider
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Pinpoint application. Conflicts with `name`
	NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"`
	// The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own
	QuietTime AppQuietTimePtrOutput `pulumi:"quietTime"`
	// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a Pinpoint App resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/pinpoint"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pinpoint.NewApp(ctx, "example", &pinpoint.AppArgs{
			Limits: &pinpoint.AppLimitsArgs{
				MaximumDuration: pulumi.Int(600),
			},
			QuietTime: &pinpoint.AppQuietTimeArgs{
				End:   pulumi.String("06:00"),
				Start: pulumi.String("00:00"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Pinpoint App can be imported using the `application-id`, e.g.

```sh

$ pulumi import aws:pinpoint/app:App name application-id

```

func GetApp

func GetApp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AppState, opts ...pulumi.ResourceOption) (*App, error)

GetApp gets an existing App resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApp

func NewApp(ctx *pulumi.Context,
	name string, args *AppArgs, opts ...pulumi.ResourceOption) (*App, error)

NewApp registers a new resource with the given unique name, arguments, and options.

func (*App) ElementType

func (*App) ElementType() reflect.Type

func (*App) ToAppOutput

func (i *App) ToAppOutput() AppOutput

func (*App) ToAppOutputWithContext

func (i *App) ToAppOutputWithContext(ctx context.Context) AppOutput

func (*App) ToAppPtrOutput

func (i *App) ToAppPtrOutput() AppPtrOutput

func (*App) ToAppPtrOutputWithContext

func (i *App) ToAppPtrOutputWithContext(ctx context.Context) AppPtrOutput

type AppArgs

type AppArgs struct {
	// Specifies settings for invoking an AWS Lambda function that customizes a segment for a campaign
	CampaignHook AppCampaignHookPtrInput
	// The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own
	Limits AppLimitsPtrInput
	// The application name. By default generated by this provider
	Name pulumi.StringPtrInput
	// The name of the Pinpoint application. Conflicts with `name`
	NamePrefix pulumi.StringPtrInput
	// The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own
	QuietTime AppQuietTimePtrInput
	// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll pulumi.StringMapInput
}

The set of arguments for constructing a App resource.

func (AppArgs) ElementType

func (AppArgs) ElementType() reflect.Type

type AppArray

type AppArray []AppInput

func (AppArray) ElementType

func (AppArray) ElementType() reflect.Type

func (AppArray) ToAppArrayOutput

func (i AppArray) ToAppArrayOutput() AppArrayOutput

func (AppArray) ToAppArrayOutputWithContext

func (i AppArray) ToAppArrayOutputWithContext(ctx context.Context) AppArrayOutput

type AppArrayInput

type AppArrayInput interface {
	pulumi.Input

	ToAppArrayOutput() AppArrayOutput
	ToAppArrayOutputWithContext(context.Context) AppArrayOutput
}

AppArrayInput is an input type that accepts AppArray and AppArrayOutput values. You can construct a concrete instance of `AppArrayInput` via:

AppArray{ AppArgs{...} }

type AppArrayOutput

type AppArrayOutput struct{ *pulumi.OutputState }

func (AppArrayOutput) ElementType

func (AppArrayOutput) ElementType() reflect.Type

func (AppArrayOutput) Index

func (AppArrayOutput) ToAppArrayOutput

func (o AppArrayOutput) ToAppArrayOutput() AppArrayOutput

func (AppArrayOutput) ToAppArrayOutputWithContext

func (o AppArrayOutput) ToAppArrayOutputWithContext(ctx context.Context) AppArrayOutput

type AppCampaignHook

type AppCampaignHook struct {
	// Lambda function name or ARN to be called for delivery. Conflicts with `webUrl`
	LambdaFunctionName *string `pulumi:"lambdaFunctionName"`
	// What mode Lambda should be invoked in. Valid values for this parameter are `DELIVERY`, `FILTER`.
	Mode *string `pulumi:"mode"`
	// Web URL to call for hook. If the URL has authentication specified it will be added as authentication to the request. Conflicts with `lambdaFunctionName`
	WebUrl *string `pulumi:"webUrl"`
}

type AppCampaignHookArgs

type AppCampaignHookArgs struct {
	// Lambda function name or ARN to be called for delivery. Conflicts with `webUrl`
	LambdaFunctionName pulumi.StringPtrInput `pulumi:"lambdaFunctionName"`
	// What mode Lambda should be invoked in. Valid values for this parameter are `DELIVERY`, `FILTER`.
	Mode pulumi.StringPtrInput `pulumi:"mode"`
	// Web URL to call for hook. If the URL has authentication specified it will be added as authentication to the request. Conflicts with `lambdaFunctionName`
	WebUrl pulumi.StringPtrInput `pulumi:"webUrl"`
}

func (AppCampaignHookArgs) ElementType

func (AppCampaignHookArgs) ElementType() reflect.Type

func (AppCampaignHookArgs) ToAppCampaignHookOutput

func (i AppCampaignHookArgs) ToAppCampaignHookOutput() AppCampaignHookOutput

func (AppCampaignHookArgs) ToAppCampaignHookOutputWithContext

func (i AppCampaignHookArgs) ToAppCampaignHookOutputWithContext(ctx context.Context) AppCampaignHookOutput

func (AppCampaignHookArgs) ToAppCampaignHookPtrOutput

func (i AppCampaignHookArgs) ToAppCampaignHookPtrOutput() AppCampaignHookPtrOutput

func (AppCampaignHookArgs) ToAppCampaignHookPtrOutputWithContext

func (i AppCampaignHookArgs) ToAppCampaignHookPtrOutputWithContext(ctx context.Context) AppCampaignHookPtrOutput

type AppCampaignHookInput

type AppCampaignHookInput interface {
	pulumi.Input

	ToAppCampaignHookOutput() AppCampaignHookOutput
	ToAppCampaignHookOutputWithContext(context.Context) AppCampaignHookOutput
}

AppCampaignHookInput is an input type that accepts AppCampaignHookArgs and AppCampaignHookOutput values. You can construct a concrete instance of `AppCampaignHookInput` via:

AppCampaignHookArgs{...}

type AppCampaignHookOutput

type AppCampaignHookOutput struct{ *pulumi.OutputState }

func (AppCampaignHookOutput) ElementType

func (AppCampaignHookOutput) ElementType() reflect.Type

func (AppCampaignHookOutput) LambdaFunctionName

func (o AppCampaignHookOutput) LambdaFunctionName() pulumi.StringPtrOutput

Lambda function name or ARN to be called for delivery. Conflicts with `webUrl`

func (AppCampaignHookOutput) Mode

What mode Lambda should be invoked in. Valid values for this parameter are `DELIVERY`, `FILTER`.

func (AppCampaignHookOutput) ToAppCampaignHookOutput

func (o AppCampaignHookOutput) ToAppCampaignHookOutput() AppCampaignHookOutput

func (AppCampaignHookOutput) ToAppCampaignHookOutputWithContext

func (o AppCampaignHookOutput) ToAppCampaignHookOutputWithContext(ctx context.Context) AppCampaignHookOutput

func (AppCampaignHookOutput) ToAppCampaignHookPtrOutput

func (o AppCampaignHookOutput) ToAppCampaignHookPtrOutput() AppCampaignHookPtrOutput

func (AppCampaignHookOutput) ToAppCampaignHookPtrOutputWithContext

func (o AppCampaignHookOutput) ToAppCampaignHookPtrOutputWithContext(ctx context.Context) AppCampaignHookPtrOutput

func (AppCampaignHookOutput) WebUrl

Web URL to call for hook. If the URL has authentication specified it will be added as authentication to the request. Conflicts with `lambdaFunctionName`

type AppCampaignHookPtrInput

type AppCampaignHookPtrInput interface {
	pulumi.Input

	ToAppCampaignHookPtrOutput() AppCampaignHookPtrOutput
	ToAppCampaignHookPtrOutputWithContext(context.Context) AppCampaignHookPtrOutput
}

AppCampaignHookPtrInput is an input type that accepts AppCampaignHookArgs, AppCampaignHookPtr and AppCampaignHookPtrOutput values. You can construct a concrete instance of `AppCampaignHookPtrInput` via:

        AppCampaignHookArgs{...}

or:

        nil

type AppCampaignHookPtrOutput

type AppCampaignHookPtrOutput struct{ *pulumi.OutputState }

func (AppCampaignHookPtrOutput) Elem

func (AppCampaignHookPtrOutput) ElementType

func (AppCampaignHookPtrOutput) ElementType() reflect.Type

func (AppCampaignHookPtrOutput) LambdaFunctionName

func (o AppCampaignHookPtrOutput) LambdaFunctionName() pulumi.StringPtrOutput

Lambda function name or ARN to be called for delivery. Conflicts with `webUrl`

func (AppCampaignHookPtrOutput) Mode

What mode Lambda should be invoked in. Valid values for this parameter are `DELIVERY`, `FILTER`.

func (AppCampaignHookPtrOutput) ToAppCampaignHookPtrOutput

func (o AppCampaignHookPtrOutput) ToAppCampaignHookPtrOutput() AppCampaignHookPtrOutput

func (AppCampaignHookPtrOutput) ToAppCampaignHookPtrOutputWithContext

func (o AppCampaignHookPtrOutput) ToAppCampaignHookPtrOutputWithContext(ctx context.Context) AppCampaignHookPtrOutput

func (AppCampaignHookPtrOutput) WebUrl

Web URL to call for hook. If the URL has authentication specified it will be added as authentication to the request. Conflicts with `lambdaFunctionName`

type AppInput

type AppInput interface {
	pulumi.Input

	ToAppOutput() AppOutput
	ToAppOutputWithContext(ctx context.Context) AppOutput
}

type AppLimits

type AppLimits struct {
	// The maximum number of messages that the campaign can send daily.
	Daily *int `pulumi:"daily"`
	// The length of time (in seconds) that the campaign can run before it ends and message deliveries stop. This duration begins at the scheduled start time for the campaign. The minimum value is 60.
	MaximumDuration *int `pulumi:"maximumDuration"`
	// The number of messages that the campaign can send per second. The minimum value is 50, and the maximum is 20000.
	MessagesPerSecond *int `pulumi:"messagesPerSecond"`
	// The maximum total number of messages that the campaign can send.
	Total *int `pulumi:"total"`
}

type AppLimitsArgs

type AppLimitsArgs struct {
	// The maximum number of messages that the campaign can send daily.
	Daily pulumi.IntPtrInput `pulumi:"daily"`
	// The length of time (in seconds) that the campaign can run before it ends and message deliveries stop. This duration begins at the scheduled start time for the campaign. The minimum value is 60.
	MaximumDuration pulumi.IntPtrInput `pulumi:"maximumDuration"`
	// The number of messages that the campaign can send per second. The minimum value is 50, and the maximum is 20000.
	MessagesPerSecond pulumi.IntPtrInput `pulumi:"messagesPerSecond"`
	// The maximum total number of messages that the campaign can send.
	Total pulumi.IntPtrInput `pulumi:"total"`
}

func (AppLimitsArgs) ElementType

func (AppLimitsArgs) ElementType() reflect.Type

func (AppLimitsArgs) ToAppLimitsOutput

func (i AppLimitsArgs) ToAppLimitsOutput() AppLimitsOutput

func (AppLimitsArgs) ToAppLimitsOutputWithContext

func (i AppLimitsArgs) ToAppLimitsOutputWithContext(ctx context.Context) AppLimitsOutput

func (AppLimitsArgs) ToAppLimitsPtrOutput

func (i AppLimitsArgs) ToAppLimitsPtrOutput() AppLimitsPtrOutput

func (AppLimitsArgs) ToAppLimitsPtrOutputWithContext

func (i AppLimitsArgs) ToAppLimitsPtrOutputWithContext(ctx context.Context) AppLimitsPtrOutput

type AppLimitsInput

type AppLimitsInput interface {
	pulumi.Input

	ToAppLimitsOutput() AppLimitsOutput
	ToAppLimitsOutputWithContext(context.Context) AppLimitsOutput
}

AppLimitsInput is an input type that accepts AppLimitsArgs and AppLimitsOutput values. You can construct a concrete instance of `AppLimitsInput` via:

AppLimitsArgs{...}

type AppLimitsOutput

type AppLimitsOutput struct{ *pulumi.OutputState }

func (AppLimitsOutput) Daily

The maximum number of messages that the campaign can send daily.

func (AppLimitsOutput) ElementType

func (AppLimitsOutput) ElementType() reflect.Type

func (AppLimitsOutput) MaximumDuration

func (o AppLimitsOutput) MaximumDuration() pulumi.IntPtrOutput

The length of time (in seconds) that the campaign can run before it ends and message deliveries stop. This duration begins at the scheduled start time for the campaign. The minimum value is 60.

func (AppLimitsOutput) MessagesPerSecond

func (o AppLimitsOutput) MessagesPerSecond() pulumi.IntPtrOutput

The number of messages that the campaign can send per second. The minimum value is 50, and the maximum is 20000.

func (AppLimitsOutput) ToAppLimitsOutput

func (o AppLimitsOutput) ToAppLimitsOutput() AppLimitsOutput

func (AppLimitsOutput) ToAppLimitsOutputWithContext

func (o AppLimitsOutput) ToAppLimitsOutputWithContext(ctx context.Context) AppLimitsOutput

func (AppLimitsOutput) ToAppLimitsPtrOutput

func (o AppLimitsOutput) ToAppLimitsPtrOutput() AppLimitsPtrOutput

func (AppLimitsOutput) ToAppLimitsPtrOutputWithContext

func (o AppLimitsOutput) ToAppLimitsPtrOutputWithContext(ctx context.Context) AppLimitsPtrOutput

func (AppLimitsOutput) Total

The maximum total number of messages that the campaign can send.

type AppLimitsPtrInput

type AppLimitsPtrInput interface {
	pulumi.Input

	ToAppLimitsPtrOutput() AppLimitsPtrOutput
	ToAppLimitsPtrOutputWithContext(context.Context) AppLimitsPtrOutput
}

AppLimitsPtrInput is an input type that accepts AppLimitsArgs, AppLimitsPtr and AppLimitsPtrOutput values. You can construct a concrete instance of `AppLimitsPtrInput` via:

        AppLimitsArgs{...}

or:

        nil

func AppLimitsPtr

func AppLimitsPtr(v *AppLimitsArgs) AppLimitsPtrInput

type AppLimitsPtrOutput

type AppLimitsPtrOutput struct{ *pulumi.OutputState }

func (AppLimitsPtrOutput) Daily

The maximum number of messages that the campaign can send daily.

func (AppLimitsPtrOutput) Elem

func (AppLimitsPtrOutput) ElementType

func (AppLimitsPtrOutput) ElementType() reflect.Type

func (AppLimitsPtrOutput) MaximumDuration

func (o AppLimitsPtrOutput) MaximumDuration() pulumi.IntPtrOutput

The length of time (in seconds) that the campaign can run before it ends and message deliveries stop. This duration begins at the scheduled start time for the campaign. The minimum value is 60.

func (AppLimitsPtrOutput) MessagesPerSecond

func (o AppLimitsPtrOutput) MessagesPerSecond() pulumi.IntPtrOutput

The number of messages that the campaign can send per second. The minimum value is 50, and the maximum is 20000.

func (AppLimitsPtrOutput) ToAppLimitsPtrOutput

func (o AppLimitsPtrOutput) ToAppLimitsPtrOutput() AppLimitsPtrOutput

func (AppLimitsPtrOutput) ToAppLimitsPtrOutputWithContext

func (o AppLimitsPtrOutput) ToAppLimitsPtrOutputWithContext(ctx context.Context) AppLimitsPtrOutput

func (AppLimitsPtrOutput) Total

The maximum total number of messages that the campaign can send.

type AppMap

type AppMap map[string]AppInput

func (AppMap) ElementType

func (AppMap) ElementType() reflect.Type

func (AppMap) ToAppMapOutput

func (i AppMap) ToAppMapOutput() AppMapOutput

func (AppMap) ToAppMapOutputWithContext

func (i AppMap) ToAppMapOutputWithContext(ctx context.Context) AppMapOutput

type AppMapInput

type AppMapInput interface {
	pulumi.Input

	ToAppMapOutput() AppMapOutput
	ToAppMapOutputWithContext(context.Context) AppMapOutput
}

AppMapInput is an input type that accepts AppMap and AppMapOutput values. You can construct a concrete instance of `AppMapInput` via:

AppMap{ "key": AppArgs{...} }

type AppMapOutput

type AppMapOutput struct{ *pulumi.OutputState }

func (AppMapOutput) ElementType

func (AppMapOutput) ElementType() reflect.Type

func (AppMapOutput) MapIndex

func (o AppMapOutput) MapIndex(k pulumi.StringInput) AppOutput

func (AppMapOutput) ToAppMapOutput

func (o AppMapOutput) ToAppMapOutput() AppMapOutput

func (AppMapOutput) ToAppMapOutputWithContext

func (o AppMapOutput) ToAppMapOutputWithContext(ctx context.Context) AppMapOutput

type AppOutput

type AppOutput struct{ *pulumi.OutputState }

func (AppOutput) ElementType

func (AppOutput) ElementType() reflect.Type

func (AppOutput) ToAppOutput

func (o AppOutput) ToAppOutput() AppOutput

func (AppOutput) ToAppOutputWithContext

func (o AppOutput) ToAppOutputWithContext(ctx context.Context) AppOutput

func (AppOutput) ToAppPtrOutput

func (o AppOutput) ToAppPtrOutput() AppPtrOutput

func (AppOutput) ToAppPtrOutputWithContext

func (o AppOutput) ToAppPtrOutputWithContext(ctx context.Context) AppPtrOutput

type AppPtrInput

type AppPtrInput interface {
	pulumi.Input

	ToAppPtrOutput() AppPtrOutput
	ToAppPtrOutputWithContext(ctx context.Context) AppPtrOutput
}

type AppPtrOutput

type AppPtrOutput struct{ *pulumi.OutputState }

func (AppPtrOutput) Elem added in v4.15.0

func (o AppPtrOutput) Elem() AppOutput

func (AppPtrOutput) ElementType

func (AppPtrOutput) ElementType() reflect.Type

func (AppPtrOutput) ToAppPtrOutput

func (o AppPtrOutput) ToAppPtrOutput() AppPtrOutput

func (AppPtrOutput) ToAppPtrOutputWithContext

func (o AppPtrOutput) ToAppPtrOutputWithContext(ctx context.Context) AppPtrOutput

type AppQuietTime

type AppQuietTime struct {
	// The default end time for quiet time in ISO 8601 format. Required if `start` is set
	End *string `pulumi:"end"`
	// The default start time for quiet time in ISO 8601 format. Required if `end` is set
	Start *string `pulumi:"start"`
}

type AppQuietTimeArgs

type AppQuietTimeArgs struct {
	// The default end time for quiet time in ISO 8601 format. Required if `start` is set
	End pulumi.StringPtrInput `pulumi:"end"`
	// The default start time for quiet time in ISO 8601 format. Required if `end` is set
	Start pulumi.StringPtrInput `pulumi:"start"`
}

func (AppQuietTimeArgs) ElementType

func (AppQuietTimeArgs) ElementType() reflect.Type

func (AppQuietTimeArgs) ToAppQuietTimeOutput

func (i AppQuietTimeArgs) ToAppQuietTimeOutput() AppQuietTimeOutput

func (AppQuietTimeArgs) ToAppQuietTimeOutputWithContext

func (i AppQuietTimeArgs) ToAppQuietTimeOutputWithContext(ctx context.Context) AppQuietTimeOutput

func (AppQuietTimeArgs) ToAppQuietTimePtrOutput

func (i AppQuietTimeArgs) ToAppQuietTimePtrOutput() AppQuietTimePtrOutput

func (AppQuietTimeArgs) ToAppQuietTimePtrOutputWithContext

func (i AppQuietTimeArgs) ToAppQuietTimePtrOutputWithContext(ctx context.Context) AppQuietTimePtrOutput

type AppQuietTimeInput

type AppQuietTimeInput interface {
	pulumi.Input

	ToAppQuietTimeOutput() AppQuietTimeOutput
	ToAppQuietTimeOutputWithContext(context.Context) AppQuietTimeOutput
}

AppQuietTimeInput is an input type that accepts AppQuietTimeArgs and AppQuietTimeOutput values. You can construct a concrete instance of `AppQuietTimeInput` via:

AppQuietTimeArgs{...}

type AppQuietTimeOutput

type AppQuietTimeOutput struct{ *pulumi.OutputState }

func (AppQuietTimeOutput) ElementType

func (AppQuietTimeOutput) ElementType() reflect.Type

func (AppQuietTimeOutput) End

The default end time for quiet time in ISO 8601 format. Required if `start` is set

func (AppQuietTimeOutput) Start

The default start time for quiet time in ISO 8601 format. Required if `end` is set

func (AppQuietTimeOutput) ToAppQuietTimeOutput

func (o AppQuietTimeOutput) ToAppQuietTimeOutput() AppQuietTimeOutput

func (AppQuietTimeOutput) ToAppQuietTimeOutputWithContext

func (o AppQuietTimeOutput) ToAppQuietTimeOutputWithContext(ctx context.Context) AppQuietTimeOutput

func (AppQuietTimeOutput) ToAppQuietTimePtrOutput

func (o AppQuietTimeOutput) ToAppQuietTimePtrOutput() AppQuietTimePtrOutput

func (AppQuietTimeOutput) ToAppQuietTimePtrOutputWithContext

func (o AppQuietTimeOutput) ToAppQuietTimePtrOutputWithContext(ctx context.Context) AppQuietTimePtrOutput

type AppQuietTimePtrInput

type AppQuietTimePtrInput interface {
	pulumi.Input

	ToAppQuietTimePtrOutput() AppQuietTimePtrOutput
	ToAppQuietTimePtrOutputWithContext(context.Context) AppQuietTimePtrOutput
}

AppQuietTimePtrInput is an input type that accepts AppQuietTimeArgs, AppQuietTimePtr and AppQuietTimePtrOutput values. You can construct a concrete instance of `AppQuietTimePtrInput` via:

        AppQuietTimeArgs{...}

or:

        nil

type AppQuietTimePtrOutput

type AppQuietTimePtrOutput struct{ *pulumi.OutputState }

func (AppQuietTimePtrOutput) Elem

func (AppQuietTimePtrOutput) ElementType

func (AppQuietTimePtrOutput) ElementType() reflect.Type

func (AppQuietTimePtrOutput) End

The default end time for quiet time in ISO 8601 format. Required if `start` is set

func (AppQuietTimePtrOutput) Start

The default start time for quiet time in ISO 8601 format. Required if `end` is set

func (AppQuietTimePtrOutput) ToAppQuietTimePtrOutput

func (o AppQuietTimePtrOutput) ToAppQuietTimePtrOutput() AppQuietTimePtrOutput

func (AppQuietTimePtrOutput) ToAppQuietTimePtrOutputWithContext

func (o AppQuietTimePtrOutput) ToAppQuietTimePtrOutputWithContext(ctx context.Context) AppQuietTimePtrOutput

type AppState

type AppState struct {
	// The Application ID of the Pinpoint App.
	ApplicationId pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of the PinPoint Application
	Arn pulumi.StringPtrInput
	// Specifies settings for invoking an AWS Lambda function that customizes a segment for a campaign
	CampaignHook AppCampaignHookPtrInput
	// The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own
	Limits AppLimitsPtrInput
	// The application name. By default generated by this provider
	Name pulumi.StringPtrInput
	// The name of the Pinpoint application. Conflicts with `name`
	NamePrefix pulumi.StringPtrInput
	// The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own
	QuietTime AppQuietTimePtrInput
	// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll pulumi.StringMapInput
}

func (AppState) ElementType

func (AppState) ElementType() reflect.Type

type BaiduChannel

type BaiduChannel struct {
	pulumi.CustomResourceState

	// Platform credential API key from Baidu.
	ApiKey pulumi.StringOutput `pulumi:"apiKey"`
	// The application ID.
	ApplicationId pulumi.StringOutput `pulumi:"applicationId"`
	// Specifies whether to enable the channel. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Platform credential Secret key from Baidu.
	SecretKey pulumi.StringOutput `pulumi:"secretKey"`
}

Provides a Pinpoint Baidu Channel resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/pinpoint"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		app, err := pinpoint.NewApp(ctx, "app", nil)
		if err != nil {
			return err
		}
		_, err = pinpoint.NewBaiduChannel(ctx, "channel", &pinpoint.BaiduChannelArgs{
			ApplicationId: app.ApplicationId,
			ApiKey:        pulumi.String(""),
			SecretKey:     pulumi.String(""),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Pinpoint Baidu Channel can be imported using the `application-id`, e.g.

```sh

$ pulumi import aws:pinpoint/baiduChannel:BaiduChannel channel application-id

```

func GetBaiduChannel

func GetBaiduChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BaiduChannelState, opts ...pulumi.ResourceOption) (*BaiduChannel, error)

GetBaiduChannel gets an existing BaiduChannel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBaiduChannel

func NewBaiduChannel(ctx *pulumi.Context,
	name string, args *BaiduChannelArgs, opts ...pulumi.ResourceOption) (*BaiduChannel, error)

NewBaiduChannel registers a new resource with the given unique name, arguments, and options.

func (*BaiduChannel) ElementType

func (*BaiduChannel) ElementType() reflect.Type

func (*BaiduChannel) ToBaiduChannelOutput

func (i *BaiduChannel) ToBaiduChannelOutput() BaiduChannelOutput

func (*BaiduChannel) ToBaiduChannelOutputWithContext

func (i *BaiduChannel) ToBaiduChannelOutputWithContext(ctx context.Context) BaiduChannelOutput

func (*BaiduChannel) ToBaiduChannelPtrOutput

func (i *BaiduChannel) ToBaiduChannelPtrOutput() BaiduChannelPtrOutput

func (*BaiduChannel) ToBaiduChannelPtrOutputWithContext

func (i *BaiduChannel) ToBaiduChannelPtrOutputWithContext(ctx context.Context) BaiduChannelPtrOutput

type BaiduChannelArgs

type BaiduChannelArgs struct {
	// Platform credential API key from Baidu.
	ApiKey pulumi.StringInput
	// The application ID.
	ApplicationId pulumi.StringInput
	// Specifies whether to enable the channel. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// Platform credential Secret key from Baidu.
	SecretKey pulumi.StringInput
}

The set of arguments for constructing a BaiduChannel resource.

func (BaiduChannelArgs) ElementType

func (BaiduChannelArgs) ElementType() reflect.Type

type BaiduChannelArray

type BaiduChannelArray []BaiduChannelInput

func (BaiduChannelArray) ElementType

func (BaiduChannelArray) ElementType() reflect.Type

func (BaiduChannelArray) ToBaiduChannelArrayOutput

func (i BaiduChannelArray) ToBaiduChannelArrayOutput() BaiduChannelArrayOutput

func (BaiduChannelArray) ToBaiduChannelArrayOutputWithContext

func (i BaiduChannelArray) ToBaiduChannelArrayOutputWithContext(ctx context.Context) BaiduChannelArrayOutput

type BaiduChannelArrayInput

type BaiduChannelArrayInput interface {
	pulumi.Input

	ToBaiduChannelArrayOutput() BaiduChannelArrayOutput
	ToBaiduChannelArrayOutputWithContext(context.Context) BaiduChannelArrayOutput
}

BaiduChannelArrayInput is an input type that accepts BaiduChannelArray and BaiduChannelArrayOutput values. You can construct a concrete instance of `BaiduChannelArrayInput` via:

BaiduChannelArray{ BaiduChannelArgs{...} }

type BaiduChannelArrayOutput

type BaiduChannelArrayOutput struct{ *pulumi.OutputState }

func (BaiduChannelArrayOutput) ElementType

func (BaiduChannelArrayOutput) ElementType() reflect.Type

func (BaiduChannelArrayOutput) Index

func (BaiduChannelArrayOutput) ToBaiduChannelArrayOutput

func (o BaiduChannelArrayOutput) ToBaiduChannelArrayOutput() BaiduChannelArrayOutput

func (BaiduChannelArrayOutput) ToBaiduChannelArrayOutputWithContext

func (o BaiduChannelArrayOutput) ToBaiduChannelArrayOutputWithContext(ctx context.Context) BaiduChannelArrayOutput

type BaiduChannelInput

type BaiduChannelInput interface {
	pulumi.Input

	ToBaiduChannelOutput() BaiduChannelOutput
	ToBaiduChannelOutputWithContext(ctx context.Context) BaiduChannelOutput
}

type BaiduChannelMap

type BaiduChannelMap map[string]BaiduChannelInput

func (BaiduChannelMap) ElementType

func (BaiduChannelMap) ElementType() reflect.Type

func (BaiduChannelMap) ToBaiduChannelMapOutput

func (i BaiduChannelMap) ToBaiduChannelMapOutput() BaiduChannelMapOutput

func (BaiduChannelMap) ToBaiduChannelMapOutputWithContext

func (i BaiduChannelMap) ToBaiduChannelMapOutputWithContext(ctx context.Context) BaiduChannelMapOutput

type BaiduChannelMapInput

type BaiduChannelMapInput interface {
	pulumi.Input

	ToBaiduChannelMapOutput() BaiduChannelMapOutput
	ToBaiduChannelMapOutputWithContext(context.Context) BaiduChannelMapOutput
}

BaiduChannelMapInput is an input type that accepts BaiduChannelMap and BaiduChannelMapOutput values. You can construct a concrete instance of `BaiduChannelMapInput` via:

BaiduChannelMap{ "key": BaiduChannelArgs{...} }

type BaiduChannelMapOutput

type BaiduChannelMapOutput struct{ *pulumi.OutputState }

func (BaiduChannelMapOutput) ElementType

func (BaiduChannelMapOutput) ElementType() reflect.Type

func (BaiduChannelMapOutput) MapIndex

func (BaiduChannelMapOutput) ToBaiduChannelMapOutput

func (o BaiduChannelMapOutput) ToBaiduChannelMapOutput() BaiduChannelMapOutput

func (BaiduChannelMapOutput) ToBaiduChannelMapOutputWithContext

func (o BaiduChannelMapOutput) ToBaiduChannelMapOutputWithContext(ctx context.Context) BaiduChannelMapOutput

type BaiduChannelOutput

type BaiduChannelOutput struct{ *pulumi.OutputState }

func (BaiduChannelOutput) ElementType

func (BaiduChannelOutput) ElementType() reflect.Type

func (BaiduChannelOutput) ToBaiduChannelOutput

func (o BaiduChannelOutput) ToBaiduChannelOutput() BaiduChannelOutput

func (BaiduChannelOutput) ToBaiduChannelOutputWithContext

func (o BaiduChannelOutput) ToBaiduChannelOutputWithContext(ctx context.Context) BaiduChannelOutput

func (BaiduChannelOutput) ToBaiduChannelPtrOutput

func (o BaiduChannelOutput) ToBaiduChannelPtrOutput() BaiduChannelPtrOutput

func (BaiduChannelOutput) ToBaiduChannelPtrOutputWithContext

func (o BaiduChannelOutput) ToBaiduChannelPtrOutputWithContext(ctx context.Context) BaiduChannelPtrOutput

type BaiduChannelPtrInput

type BaiduChannelPtrInput interface {
	pulumi.Input

	ToBaiduChannelPtrOutput() BaiduChannelPtrOutput
	ToBaiduChannelPtrOutputWithContext(ctx context.Context) BaiduChannelPtrOutput
}

type BaiduChannelPtrOutput

type BaiduChannelPtrOutput struct{ *pulumi.OutputState }

func (BaiduChannelPtrOutput) Elem added in v4.15.0

func (BaiduChannelPtrOutput) ElementType

func (BaiduChannelPtrOutput) ElementType() reflect.Type

func (BaiduChannelPtrOutput) ToBaiduChannelPtrOutput

func (o BaiduChannelPtrOutput) ToBaiduChannelPtrOutput() BaiduChannelPtrOutput

func (BaiduChannelPtrOutput) ToBaiduChannelPtrOutputWithContext

func (o BaiduChannelPtrOutput) ToBaiduChannelPtrOutputWithContext(ctx context.Context) BaiduChannelPtrOutput

type BaiduChannelState

type BaiduChannelState struct {
	// Platform credential API key from Baidu.
	ApiKey pulumi.StringPtrInput
	// The application ID.
	ApplicationId pulumi.StringPtrInput
	// Specifies whether to enable the channel. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// Platform credential Secret key from Baidu.
	SecretKey pulumi.StringPtrInput
}

func (BaiduChannelState) ElementType

func (BaiduChannelState) ElementType() reflect.Type

type EmailChannel

type EmailChannel struct {
	pulumi.CustomResourceState

	// The application ID.
	ApplicationId pulumi.StringOutput `pulumi:"applicationId"`
	// The ARN of the Amazon SES configuration set that you want to apply to messages that you send through the channel.
	ConfigurationSet pulumi.StringPtrOutput `pulumi:"configurationSet"`
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The email address used to send emails from. You can use email only (`user@example.com`) or friendly address (`User <user@example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt).
	FromAddress pulumi.StringOutput `pulumi:"fromAddress"`
	// The ARN of an identity verified with SES.
	Identity pulumi.StringOutput `pulumi:"identity"`
	// Messages per second that can be sent.
	MessagesPerSecond pulumi.IntOutput `pulumi:"messagesPerSecond"`
	// The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service.
	RoleArn pulumi.StringPtrOutput `pulumi:"roleArn"`
}

Provides a Pinpoint Email Channel resource.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/pinpoint"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		app, err := pinpoint.NewApp(ctx, "app", nil)
		if err != nil {
			return err
		}
		role, err := iam.NewRole(ctx, "role", &iam.RoleArgs{
			AssumeRolePolicy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", "  \"Version\": \"2012-10-17\",\n", "  \"Statement\": [\n", "    {\n", "      \"Action\": \"sts:AssumeRole\",\n", "      \"Principal\": {\n", "        \"Service\": \"pinpoint.amazonaws.com\"\n", "      },\n", "      \"Effect\": \"Allow\",\n", "      \"Sid\": \"\"\n", "    }\n", "  ]\n", "}\n")),
		})
		if err != nil {
			return err
		}
		_, err = pinpoint.NewEmailChannel(ctx, "email", &pinpoint.EmailChannelArgs{
			ApplicationId: app.ApplicationId,
			FromAddress:   pulumi.String("user@example.com"),
			RoleArn:       role.Arn,
		})
		if err != nil {
			return err
		}
		_, err = ses.NewDomainIdentity(ctx, "identity", &ses.DomainIdentityArgs{
			Domain: pulumi.String("example.com"),
		})
		if err != nil {
			return err
		}
		_, err = iam.NewRolePolicy(ctx, "rolePolicy", &iam.RolePolicyArgs{
			Role:   role.ID(),
			Policy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", "  \"Version\": \"2012-10-17\",\n", "  \"Statement\": {\n", "    \"Action\": [\n", "      \"mobileanalytics:PutEvents\",\n", "      \"mobileanalytics:PutItems\"\n", "    ],\n", "    \"Effect\": \"Allow\",\n", "    \"Resource\": [\n", "      \"*\"\n", "    ]\n", "  }\n", "}\n")),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Pinpoint Email Channel can be imported using the `application-id`, e.g.

```sh

$ pulumi import aws:pinpoint/emailChannel:EmailChannel email application-id

```

func GetEmailChannel

func GetEmailChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EmailChannelState, opts ...pulumi.ResourceOption) (*EmailChannel, error)

GetEmailChannel gets an existing EmailChannel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEmailChannel

func NewEmailChannel(ctx *pulumi.Context,
	name string, args *EmailChannelArgs, opts ...pulumi.ResourceOption) (*EmailChannel, error)

NewEmailChannel registers a new resource with the given unique name, arguments, and options.

func (*EmailChannel) ElementType

func (*EmailChannel) ElementType() reflect.Type

func (*EmailChannel) ToEmailChannelOutput

func (i *EmailChannel) ToEmailChannelOutput() EmailChannelOutput

func (*EmailChannel) ToEmailChannelOutputWithContext

func (i *EmailChannel) ToEmailChannelOutputWithContext(ctx context.Context) EmailChannelOutput

func (*EmailChannel) ToEmailChannelPtrOutput

func (i *EmailChannel) ToEmailChannelPtrOutput() EmailChannelPtrOutput

func (*EmailChannel) ToEmailChannelPtrOutputWithContext

func (i *EmailChannel) ToEmailChannelPtrOutputWithContext(ctx context.Context) EmailChannelPtrOutput

type EmailChannelArgs

type EmailChannelArgs struct {
	// The application ID.
	ApplicationId pulumi.StringInput
	// The ARN of the Amazon SES configuration set that you want to apply to messages that you send through the channel.
	ConfigurationSet pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The email address used to send emails from. You can use email only (`user@example.com`) or friendly address (`User <user@example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt).
	FromAddress pulumi.StringInput
	// The ARN of an identity verified with SES.
	Identity pulumi.StringInput
	// The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service.
	RoleArn pulumi.StringPtrInput
}

The set of arguments for constructing a EmailChannel resource.

func (EmailChannelArgs) ElementType

func (EmailChannelArgs) ElementType() reflect.Type

type EmailChannelArray

type EmailChannelArray []EmailChannelInput

func (EmailChannelArray) ElementType

func (EmailChannelArray) ElementType() reflect.Type

func (EmailChannelArray) ToEmailChannelArrayOutput

func (i EmailChannelArray) ToEmailChannelArrayOutput() EmailChannelArrayOutput

func (EmailChannelArray) ToEmailChannelArrayOutputWithContext

func (i EmailChannelArray) ToEmailChannelArrayOutputWithContext(ctx context.Context) EmailChannelArrayOutput

type EmailChannelArrayInput

type EmailChannelArrayInput interface {
	pulumi.Input

	ToEmailChannelArrayOutput() EmailChannelArrayOutput
	ToEmailChannelArrayOutputWithContext(context.Context) EmailChannelArrayOutput
}

EmailChannelArrayInput is an input type that accepts EmailChannelArray and EmailChannelArrayOutput values. You can construct a concrete instance of `EmailChannelArrayInput` via:

EmailChannelArray{ EmailChannelArgs{...} }

type EmailChannelArrayOutput

type EmailChannelArrayOutput struct{ *pulumi.OutputState }

func (EmailChannelArrayOutput) ElementType

func (EmailChannelArrayOutput) ElementType() reflect.Type

func (EmailChannelArrayOutput) Index

func (EmailChannelArrayOutput) ToEmailChannelArrayOutput

func (o EmailChannelArrayOutput) ToEmailChannelArrayOutput() EmailChannelArrayOutput

func (EmailChannelArrayOutput) ToEmailChannelArrayOutputWithContext

func (o EmailChannelArrayOutput) ToEmailChannelArrayOutputWithContext(ctx context.Context) EmailChannelArrayOutput

type EmailChannelInput

type EmailChannelInput interface {
	pulumi.Input

	ToEmailChannelOutput() EmailChannelOutput
	ToEmailChannelOutputWithContext(ctx context.Context) EmailChannelOutput
}

type EmailChannelMap

type EmailChannelMap map[string]EmailChannelInput

func (EmailChannelMap) ElementType

func (EmailChannelMap) ElementType() reflect.Type

func (EmailChannelMap) ToEmailChannelMapOutput

func (i EmailChannelMap) ToEmailChannelMapOutput() EmailChannelMapOutput

func (EmailChannelMap) ToEmailChannelMapOutputWithContext

func (i EmailChannelMap) ToEmailChannelMapOutputWithContext(ctx context.Context) EmailChannelMapOutput

type EmailChannelMapInput

type EmailChannelMapInput interface {
	pulumi.Input

	ToEmailChannelMapOutput() EmailChannelMapOutput
	ToEmailChannelMapOutputWithContext(context.Context) EmailChannelMapOutput
}

EmailChannelMapInput is an input type that accepts EmailChannelMap and EmailChannelMapOutput values. You can construct a concrete instance of `EmailChannelMapInput` via:

EmailChannelMap{ "key": EmailChannelArgs{...} }

type EmailChannelMapOutput

type EmailChannelMapOutput struct{ *pulumi.OutputState }

func (EmailChannelMapOutput) ElementType

func (EmailChannelMapOutput) ElementType() reflect.Type

func (EmailChannelMapOutput) MapIndex

func (EmailChannelMapOutput) ToEmailChannelMapOutput

func (o EmailChannelMapOutput) ToEmailChannelMapOutput() EmailChannelMapOutput

func (EmailChannelMapOutput) ToEmailChannelMapOutputWithContext

func (o EmailChannelMapOutput) ToEmailChannelMapOutputWithContext(ctx context.Context) EmailChannelMapOutput

type EmailChannelOutput

type EmailChannelOutput struct{ *pulumi.OutputState }

func (EmailChannelOutput) ElementType

func (EmailChannelOutput) ElementType() reflect.Type

func (EmailChannelOutput) ToEmailChannelOutput

func (o EmailChannelOutput) ToEmailChannelOutput() EmailChannelOutput

func (EmailChannelOutput) ToEmailChannelOutputWithContext

func (o EmailChannelOutput) ToEmailChannelOutputWithContext(ctx context.Context) EmailChannelOutput

func (EmailChannelOutput) ToEmailChannelPtrOutput

func (o EmailChannelOutput) ToEmailChannelPtrOutput() EmailChannelPtrOutput

func (EmailChannelOutput) ToEmailChannelPtrOutputWithContext

func (o EmailChannelOutput) ToEmailChannelPtrOutputWithContext(ctx context.Context) EmailChannelPtrOutput

type EmailChannelPtrInput

type EmailChannelPtrInput interface {
	pulumi.Input

	ToEmailChannelPtrOutput() EmailChannelPtrOutput
	ToEmailChannelPtrOutputWithContext(ctx context.Context) EmailChannelPtrOutput
}

type EmailChannelPtrOutput

type EmailChannelPtrOutput struct{ *pulumi.OutputState }

func (EmailChannelPtrOutput) Elem added in v4.15.0

func (EmailChannelPtrOutput) ElementType

func (EmailChannelPtrOutput) ElementType() reflect.Type

func (EmailChannelPtrOutput) ToEmailChannelPtrOutput

func (o EmailChannelPtrOutput) ToEmailChannelPtrOutput() EmailChannelPtrOutput

func (EmailChannelPtrOutput) ToEmailChannelPtrOutputWithContext

func (o EmailChannelPtrOutput) ToEmailChannelPtrOutputWithContext(ctx context.Context) EmailChannelPtrOutput

type EmailChannelState

type EmailChannelState struct {
	// The application ID.
	ApplicationId pulumi.StringPtrInput
	// The ARN of the Amazon SES configuration set that you want to apply to messages that you send through the channel.
	ConfigurationSet pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The email address used to send emails from. You can use email only (`user@example.com`) or friendly address (`User <user@example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt).
	FromAddress pulumi.StringPtrInput
	// The ARN of an identity verified with SES.
	Identity pulumi.StringPtrInput
	// Messages per second that can be sent.
	MessagesPerSecond pulumi.IntPtrInput
	// The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service.
	RoleArn pulumi.StringPtrInput
}

func (EmailChannelState) ElementType

func (EmailChannelState) ElementType() reflect.Type

type EventStream

type EventStream struct {
	pulumi.CustomResourceState

	// The application ID.
	ApplicationId pulumi.StringOutput `pulumi:"applicationId"`
	// The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events.
	DestinationStreamArn pulumi.StringOutput `pulumi:"destinationStreamArn"`
	// The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.
	RoleArn pulumi.StringOutput `pulumi:"roleArn"`
}

Provides a Pinpoint Event Stream resource.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/kinesis"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/pinpoint"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		app, err := pinpoint.NewApp(ctx, "app", nil)
		if err != nil {
			return err
		}
		testStream, err := kinesis.NewStream(ctx, "testStream", &kinesis.StreamArgs{
			ShardCount: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		testRole, err := iam.NewRole(ctx, "testRole", &iam.RoleArgs{
			AssumeRolePolicy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", "  \"Version\": \"2012-10-17\",\n", "  \"Statement\": [\n", "    {\n", "      \"Action\": \"sts:AssumeRole\",\n", "      \"Principal\": {\n", "        \"Service\": \"pinpoint.us-east-1.amazonaws.com\"\n", "      },\n", "      \"Effect\": \"Allow\",\n", "      \"Sid\": \"\"\n", "    }\n", "  ]\n", "}\n")),
		})
		if err != nil {
			return err
		}
		_, err = pinpoint.NewEventStream(ctx, "stream", &pinpoint.EventStreamArgs{
			ApplicationId:        app.ApplicationId,
			DestinationStreamArn: testStream.Arn,
			RoleArn:              testRole.Arn,
		})
		if err != nil {
			return err
		}
		_, err = iam.NewRolePolicy(ctx, "testRolePolicy", &iam.RolePolicyArgs{
			Role:   testRole.ID(),
			Policy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", "  \"Version\": \"2012-10-17\",\n", "  \"Statement\": {\n", "    \"Action\": [\n", "      \"kinesis:PutRecords\",\n", "      \"kinesis:DescribeStream\"\n", "    ],\n", "    \"Effect\": \"Allow\",\n", "    \"Resource\": [\n", "      \"arn:aws:kinesis:us-east-1:*:*/*\"\n", "    ]\n", "  }\n", "}\n")),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Pinpoint Event Stream can be imported using the `application-id`, e.g.

```sh

$ pulumi import aws:pinpoint/eventStream:EventStream stream application-id

```

func GetEventStream

func GetEventStream(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventStreamState, opts ...pulumi.ResourceOption) (*EventStream, error)

GetEventStream gets an existing EventStream resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEventStream

func NewEventStream(ctx *pulumi.Context,
	name string, args *EventStreamArgs, opts ...pulumi.ResourceOption) (*EventStream, error)

NewEventStream registers a new resource with the given unique name, arguments, and options.

func (*EventStream) ElementType

func (*EventStream) ElementType() reflect.Type

func (*EventStream) ToEventStreamOutput

func (i *EventStream) ToEventStreamOutput() EventStreamOutput

func (*EventStream) ToEventStreamOutputWithContext

func (i *EventStream) ToEventStreamOutputWithContext(ctx context.Context) EventStreamOutput

func (*EventStream) ToEventStreamPtrOutput

func (i *EventStream) ToEventStreamPtrOutput() EventStreamPtrOutput

func (*EventStream) ToEventStreamPtrOutputWithContext

func (i *EventStream) ToEventStreamPtrOutputWithContext(ctx context.Context) EventStreamPtrOutput

type EventStreamArgs

type EventStreamArgs struct {
	// The application ID.
	ApplicationId pulumi.StringInput
	// The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events.
	DestinationStreamArn pulumi.StringInput
	// The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.
	RoleArn pulumi.StringInput
}

The set of arguments for constructing a EventStream resource.

func (EventStreamArgs) ElementType

func (EventStreamArgs) ElementType() reflect.Type

type EventStreamArray

type EventStreamArray []EventStreamInput

func (EventStreamArray) ElementType

func (EventStreamArray) ElementType() reflect.Type

func (EventStreamArray) ToEventStreamArrayOutput

func (i EventStreamArray) ToEventStreamArrayOutput() EventStreamArrayOutput

func (EventStreamArray) ToEventStreamArrayOutputWithContext

func (i EventStreamArray) ToEventStreamArrayOutputWithContext(ctx context.Context) EventStreamArrayOutput

type EventStreamArrayInput

type EventStreamArrayInput interface {
	pulumi.Input

	ToEventStreamArrayOutput() EventStreamArrayOutput
	ToEventStreamArrayOutputWithContext(context.Context) EventStreamArrayOutput
}

EventStreamArrayInput is an input type that accepts EventStreamArray and EventStreamArrayOutput values. You can construct a concrete instance of `EventStreamArrayInput` via:

EventStreamArray{ EventStreamArgs{...} }

type EventStreamArrayOutput

type EventStreamArrayOutput struct{ *pulumi.OutputState }

func (EventStreamArrayOutput) ElementType

func (EventStreamArrayOutput) ElementType() reflect.Type

func (EventStreamArrayOutput) Index

func (EventStreamArrayOutput) ToEventStreamArrayOutput

func (o EventStreamArrayOutput) ToEventStreamArrayOutput() EventStreamArrayOutput

func (EventStreamArrayOutput) ToEventStreamArrayOutputWithContext

func (o EventStreamArrayOutput) ToEventStreamArrayOutputWithContext(ctx context.Context) EventStreamArrayOutput

type EventStreamInput

type EventStreamInput interface {
	pulumi.Input

	ToEventStreamOutput() EventStreamOutput
	ToEventStreamOutputWithContext(ctx context.Context) EventStreamOutput
}

type EventStreamMap

type EventStreamMap map[string]EventStreamInput

func (EventStreamMap) ElementType

func (EventStreamMap) ElementType() reflect.Type

func (EventStreamMap) ToEventStreamMapOutput

func (i EventStreamMap) ToEventStreamMapOutput() EventStreamMapOutput

func (EventStreamMap) ToEventStreamMapOutputWithContext

func (i EventStreamMap) ToEventStreamMapOutputWithContext(ctx context.Context) EventStreamMapOutput

type EventStreamMapInput

type EventStreamMapInput interface {
	pulumi.Input

	ToEventStreamMapOutput() EventStreamMapOutput
	ToEventStreamMapOutputWithContext(context.Context) EventStreamMapOutput
}

EventStreamMapInput is an input type that accepts EventStreamMap and EventStreamMapOutput values. You can construct a concrete instance of `EventStreamMapInput` via:

EventStreamMap{ "key": EventStreamArgs{...} }

type EventStreamMapOutput

type EventStreamMapOutput struct{ *pulumi.OutputState }

func (EventStreamMapOutput) ElementType

func (EventStreamMapOutput) ElementType() reflect.Type

func (EventStreamMapOutput) MapIndex

func (EventStreamMapOutput) ToEventStreamMapOutput

func (o EventStreamMapOutput) ToEventStreamMapOutput() EventStreamMapOutput

func (EventStreamMapOutput) ToEventStreamMapOutputWithContext

func (o EventStreamMapOutput) ToEventStreamMapOutputWithContext(ctx context.Context) EventStreamMapOutput

type EventStreamOutput

type EventStreamOutput struct{ *pulumi.OutputState }

func (EventStreamOutput) ElementType

func (EventStreamOutput) ElementType() reflect.Type

func (EventStreamOutput) ToEventStreamOutput

func (o EventStreamOutput) ToEventStreamOutput() EventStreamOutput

func (EventStreamOutput) ToEventStreamOutputWithContext

func (o EventStreamOutput) ToEventStreamOutputWithContext(ctx context.Context) EventStreamOutput

func (EventStreamOutput) ToEventStreamPtrOutput

func (o EventStreamOutput) ToEventStreamPtrOutput() EventStreamPtrOutput

func (EventStreamOutput) ToEventStreamPtrOutputWithContext

func (o EventStreamOutput) ToEventStreamPtrOutputWithContext(ctx context.Context) EventStreamPtrOutput

type EventStreamPtrInput

type EventStreamPtrInput interface {
	pulumi.Input

	ToEventStreamPtrOutput() EventStreamPtrOutput
	ToEventStreamPtrOutputWithContext(ctx context.Context) EventStreamPtrOutput
}

type EventStreamPtrOutput

type EventStreamPtrOutput struct{ *pulumi.OutputState }

func (EventStreamPtrOutput) Elem added in v4.15.0

func (EventStreamPtrOutput) ElementType

func (EventStreamPtrOutput) ElementType() reflect.Type

func (EventStreamPtrOutput) ToEventStreamPtrOutput

func (o EventStreamPtrOutput) ToEventStreamPtrOutput() EventStreamPtrOutput

func (EventStreamPtrOutput) ToEventStreamPtrOutputWithContext

func (o EventStreamPtrOutput) ToEventStreamPtrOutputWithContext(ctx context.Context) EventStreamPtrOutput

type EventStreamState

type EventStreamState struct {
	// The application ID.
	ApplicationId pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events.
	DestinationStreamArn pulumi.StringPtrInput
	// The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.
	RoleArn pulumi.StringPtrInput
}

func (EventStreamState) ElementType

func (EventStreamState) ElementType() reflect.Type

type GcmChannel

type GcmChannel struct {
	pulumi.CustomResourceState

	// Platform credential API key from Google.
	ApiKey pulumi.StringOutput `pulumi:"apiKey"`
	// The application ID.
	ApplicationId pulumi.StringOutput `pulumi:"applicationId"`
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
}

Provides a Pinpoint GCM Channel resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/pinpoint"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		app, err := pinpoint.NewApp(ctx, "app", nil)
		if err != nil {
			return err
		}
		_, err = pinpoint.NewGcmChannel(ctx, "gcm", &pinpoint.GcmChannelArgs{
			ApplicationId: app.ApplicationId,
			ApiKey:        pulumi.String("api_key"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Pinpoint GCM Channel can be imported using the `application-id`, e.g.

```sh

$ pulumi import aws:pinpoint/gcmChannel:GcmChannel gcm application-id

```

func GetGcmChannel

func GetGcmChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GcmChannelState, opts ...pulumi.ResourceOption) (*GcmChannel, error)

GetGcmChannel gets an existing GcmChannel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGcmChannel

func NewGcmChannel(ctx *pulumi.Context,
	name string, args *GcmChannelArgs, opts ...pulumi.ResourceOption) (*GcmChannel, error)

NewGcmChannel registers a new resource with the given unique name, arguments, and options.

func (*GcmChannel) ElementType

func (*GcmChannel) ElementType() reflect.Type

func (*GcmChannel) ToGcmChannelOutput

func (i *GcmChannel) ToGcmChannelOutput() GcmChannelOutput

func (*GcmChannel) ToGcmChannelOutputWithContext

func (i *GcmChannel) ToGcmChannelOutputWithContext(ctx context.Context) GcmChannelOutput

func (*GcmChannel) ToGcmChannelPtrOutput

func (i *GcmChannel) ToGcmChannelPtrOutput() GcmChannelPtrOutput

func (*GcmChannel) ToGcmChannelPtrOutputWithContext

func (i *GcmChannel) ToGcmChannelPtrOutputWithContext(ctx context.Context) GcmChannelPtrOutput

type GcmChannelArgs

type GcmChannelArgs struct {
	// Platform credential API key from Google.
	ApiKey pulumi.StringInput
	// The application ID.
	ApplicationId pulumi.StringInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
}

The set of arguments for constructing a GcmChannel resource.

func (GcmChannelArgs) ElementType

func (GcmChannelArgs) ElementType() reflect.Type

type GcmChannelArray

type GcmChannelArray []GcmChannelInput

func (GcmChannelArray) ElementType

func (GcmChannelArray) ElementType() reflect.Type

func (GcmChannelArray) ToGcmChannelArrayOutput

func (i GcmChannelArray) ToGcmChannelArrayOutput() GcmChannelArrayOutput

func (GcmChannelArray) ToGcmChannelArrayOutputWithContext

func (i GcmChannelArray) ToGcmChannelArrayOutputWithContext(ctx context.Context) GcmChannelArrayOutput

type GcmChannelArrayInput

type GcmChannelArrayInput interface {
	pulumi.Input

	ToGcmChannelArrayOutput() GcmChannelArrayOutput
	ToGcmChannelArrayOutputWithContext(context.Context) GcmChannelArrayOutput
}

GcmChannelArrayInput is an input type that accepts GcmChannelArray and GcmChannelArrayOutput values. You can construct a concrete instance of `GcmChannelArrayInput` via:

GcmChannelArray{ GcmChannelArgs{...} }

type GcmChannelArrayOutput

type GcmChannelArrayOutput struct{ *pulumi.OutputState }

func (GcmChannelArrayOutput) ElementType

func (GcmChannelArrayOutput) ElementType() reflect.Type

func (GcmChannelArrayOutput) Index

func (GcmChannelArrayOutput) ToGcmChannelArrayOutput

func (o GcmChannelArrayOutput) ToGcmChannelArrayOutput() GcmChannelArrayOutput

func (GcmChannelArrayOutput) ToGcmChannelArrayOutputWithContext

func (o GcmChannelArrayOutput) ToGcmChannelArrayOutputWithContext(ctx context.Context) GcmChannelArrayOutput

type GcmChannelInput

type GcmChannelInput interface {
	pulumi.Input

	ToGcmChannelOutput() GcmChannelOutput
	ToGcmChannelOutputWithContext(ctx context.Context) GcmChannelOutput
}

type GcmChannelMap

type GcmChannelMap map[string]GcmChannelInput

func (GcmChannelMap) ElementType

func (GcmChannelMap) ElementType() reflect.Type

func (GcmChannelMap) ToGcmChannelMapOutput

func (i GcmChannelMap) ToGcmChannelMapOutput() GcmChannelMapOutput

func (GcmChannelMap) ToGcmChannelMapOutputWithContext

func (i GcmChannelMap) ToGcmChannelMapOutputWithContext(ctx context.Context) GcmChannelMapOutput

type GcmChannelMapInput

type GcmChannelMapInput interface {
	pulumi.Input

	ToGcmChannelMapOutput() GcmChannelMapOutput
	ToGcmChannelMapOutputWithContext(context.Context) GcmChannelMapOutput
}

GcmChannelMapInput is an input type that accepts GcmChannelMap and GcmChannelMapOutput values. You can construct a concrete instance of `GcmChannelMapInput` via:

GcmChannelMap{ "key": GcmChannelArgs{...} }

type GcmChannelMapOutput

type GcmChannelMapOutput struct{ *pulumi.OutputState }

func (GcmChannelMapOutput) ElementType

func (GcmChannelMapOutput) ElementType() reflect.Type

func (GcmChannelMapOutput) MapIndex

func (GcmChannelMapOutput) ToGcmChannelMapOutput

func (o GcmChannelMapOutput) ToGcmChannelMapOutput() GcmChannelMapOutput

func (GcmChannelMapOutput) ToGcmChannelMapOutputWithContext

func (o GcmChannelMapOutput) ToGcmChannelMapOutputWithContext(ctx context.Context) GcmChannelMapOutput

type GcmChannelOutput

type GcmChannelOutput struct{ *pulumi.OutputState }

func (GcmChannelOutput) ElementType

func (GcmChannelOutput) ElementType() reflect.Type

func (GcmChannelOutput) ToGcmChannelOutput

func (o GcmChannelOutput) ToGcmChannelOutput() GcmChannelOutput

func (GcmChannelOutput) ToGcmChannelOutputWithContext

func (o GcmChannelOutput) ToGcmChannelOutputWithContext(ctx context.Context) GcmChannelOutput

func (GcmChannelOutput) ToGcmChannelPtrOutput

func (o GcmChannelOutput) ToGcmChannelPtrOutput() GcmChannelPtrOutput

func (GcmChannelOutput) ToGcmChannelPtrOutputWithContext

func (o GcmChannelOutput) ToGcmChannelPtrOutputWithContext(ctx context.Context) GcmChannelPtrOutput

type GcmChannelPtrInput

type GcmChannelPtrInput interface {
	pulumi.Input

	ToGcmChannelPtrOutput() GcmChannelPtrOutput
	ToGcmChannelPtrOutputWithContext(ctx context.Context) GcmChannelPtrOutput
}

type GcmChannelPtrOutput

type GcmChannelPtrOutput struct{ *pulumi.OutputState }

func (GcmChannelPtrOutput) Elem added in v4.15.0

func (GcmChannelPtrOutput) ElementType

func (GcmChannelPtrOutput) ElementType() reflect.Type

func (GcmChannelPtrOutput) ToGcmChannelPtrOutput

func (o GcmChannelPtrOutput) ToGcmChannelPtrOutput() GcmChannelPtrOutput

func (GcmChannelPtrOutput) ToGcmChannelPtrOutputWithContext

func (o GcmChannelPtrOutput) ToGcmChannelPtrOutputWithContext(ctx context.Context) GcmChannelPtrOutput

type GcmChannelState

type GcmChannelState struct {
	// Platform credential API key from Google.
	ApiKey pulumi.StringPtrInput
	// The application ID.
	ApplicationId pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
}

func (GcmChannelState) ElementType

func (GcmChannelState) ElementType() reflect.Type

type SmsChannel

type SmsChannel struct {
	pulumi.CustomResourceState

	// The application ID.
	ApplicationId pulumi.StringOutput `pulumi:"applicationId"`
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Promotional messages per second that can be sent.
	PromotionalMessagesPerSecond pulumi.IntOutput `pulumi:"promotionalMessagesPerSecond"`
	// Sender identifier of your messages.
	SenderId pulumi.StringPtrOutput `pulumi:"senderId"`
	// The Short Code registered with the phone provider.
	ShortCode pulumi.StringPtrOutput `pulumi:"shortCode"`
	// Transactional messages per second that can be sent.
	TransactionalMessagesPerSecond pulumi.IntOutput `pulumi:"transactionalMessagesPerSecond"`
}

Provides a Pinpoint SMS Channel resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/pinpoint"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		app, err := pinpoint.NewApp(ctx, "app", nil)
		if err != nil {
			return err
		}
		_, err = pinpoint.NewSmsChannel(ctx, "sms", &pinpoint.SmsChannelArgs{
			ApplicationId: app.ApplicationId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Pinpoint SMS Channel can be imported using the `application-id`, e.g.

```sh

$ pulumi import aws:pinpoint/smsChannel:SmsChannel sms application-id

```

func GetSmsChannel

func GetSmsChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SmsChannelState, opts ...pulumi.ResourceOption) (*SmsChannel, error)

GetSmsChannel gets an existing SmsChannel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSmsChannel

func NewSmsChannel(ctx *pulumi.Context,
	name string, args *SmsChannelArgs, opts ...pulumi.ResourceOption) (*SmsChannel, error)

NewSmsChannel registers a new resource with the given unique name, arguments, and options.

func (*SmsChannel) ElementType

func (*SmsChannel) ElementType() reflect.Type

func (*SmsChannel) ToSmsChannelOutput

func (i *SmsChannel) ToSmsChannelOutput() SmsChannelOutput

func (*SmsChannel) ToSmsChannelOutputWithContext

func (i *SmsChannel) ToSmsChannelOutputWithContext(ctx context.Context) SmsChannelOutput

func (*SmsChannel) ToSmsChannelPtrOutput

func (i *SmsChannel) ToSmsChannelPtrOutput() SmsChannelPtrOutput

func (*SmsChannel) ToSmsChannelPtrOutputWithContext

func (i *SmsChannel) ToSmsChannelPtrOutputWithContext(ctx context.Context) SmsChannelPtrOutput

type SmsChannelArgs

type SmsChannelArgs struct {
	// The application ID.
	ApplicationId pulumi.StringInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// Sender identifier of your messages.
	SenderId pulumi.StringPtrInput
	// The Short Code registered with the phone provider.
	ShortCode pulumi.StringPtrInput
}

The set of arguments for constructing a SmsChannel resource.

func (SmsChannelArgs) ElementType

func (SmsChannelArgs) ElementType() reflect.Type

type SmsChannelArray

type SmsChannelArray []SmsChannelInput

func (SmsChannelArray) ElementType

func (SmsChannelArray) ElementType() reflect.Type

func (SmsChannelArray) ToSmsChannelArrayOutput

func (i SmsChannelArray) ToSmsChannelArrayOutput() SmsChannelArrayOutput

func (SmsChannelArray) ToSmsChannelArrayOutputWithContext

func (i SmsChannelArray) ToSmsChannelArrayOutputWithContext(ctx context.Context) SmsChannelArrayOutput

type SmsChannelArrayInput

type SmsChannelArrayInput interface {
	pulumi.Input

	ToSmsChannelArrayOutput() SmsChannelArrayOutput
	ToSmsChannelArrayOutputWithContext(context.Context) SmsChannelArrayOutput
}

SmsChannelArrayInput is an input type that accepts SmsChannelArray and SmsChannelArrayOutput values. You can construct a concrete instance of `SmsChannelArrayInput` via:

SmsChannelArray{ SmsChannelArgs{...} }

type SmsChannelArrayOutput

type SmsChannelArrayOutput struct{ *pulumi.OutputState }

func (SmsChannelArrayOutput) ElementType

func (SmsChannelArrayOutput) ElementType() reflect.Type

func (SmsChannelArrayOutput) Index

func (SmsChannelArrayOutput) ToSmsChannelArrayOutput

func (o SmsChannelArrayOutput) ToSmsChannelArrayOutput() SmsChannelArrayOutput

func (SmsChannelArrayOutput) ToSmsChannelArrayOutputWithContext

func (o SmsChannelArrayOutput) ToSmsChannelArrayOutputWithContext(ctx context.Context) SmsChannelArrayOutput

type SmsChannelInput

type SmsChannelInput interface {
	pulumi.Input

	ToSmsChannelOutput() SmsChannelOutput
	ToSmsChannelOutputWithContext(ctx context.Context) SmsChannelOutput
}

type SmsChannelMap

type SmsChannelMap map[string]SmsChannelInput

func (SmsChannelMap) ElementType

func (SmsChannelMap) ElementType() reflect.Type

func (SmsChannelMap) ToSmsChannelMapOutput

func (i SmsChannelMap) ToSmsChannelMapOutput() SmsChannelMapOutput

func (SmsChannelMap) ToSmsChannelMapOutputWithContext

func (i SmsChannelMap) ToSmsChannelMapOutputWithContext(ctx context.Context) SmsChannelMapOutput

type SmsChannelMapInput

type SmsChannelMapInput interface {
	pulumi.Input

	ToSmsChannelMapOutput() SmsChannelMapOutput
	ToSmsChannelMapOutputWithContext(context.Context) SmsChannelMapOutput
}

SmsChannelMapInput is an input type that accepts SmsChannelMap and SmsChannelMapOutput values. You can construct a concrete instance of `SmsChannelMapInput` via:

SmsChannelMap{ "key": SmsChannelArgs{...} }

type SmsChannelMapOutput

type SmsChannelMapOutput struct{ *pulumi.OutputState }

func (SmsChannelMapOutput) ElementType

func (SmsChannelMapOutput) ElementType() reflect.Type

func (SmsChannelMapOutput) MapIndex

func (SmsChannelMapOutput) ToSmsChannelMapOutput

func (o SmsChannelMapOutput) ToSmsChannelMapOutput() SmsChannelMapOutput

func (SmsChannelMapOutput) ToSmsChannelMapOutputWithContext

func (o SmsChannelMapOutput) ToSmsChannelMapOutputWithContext(ctx context.Context) SmsChannelMapOutput

type SmsChannelOutput

type SmsChannelOutput struct{ *pulumi.OutputState }

func (SmsChannelOutput) ElementType

func (SmsChannelOutput) ElementType() reflect.Type

func (SmsChannelOutput) ToSmsChannelOutput

func (o SmsChannelOutput) ToSmsChannelOutput() SmsChannelOutput

func (SmsChannelOutput) ToSmsChannelOutputWithContext

func (o SmsChannelOutput) ToSmsChannelOutputWithContext(ctx context.Context) SmsChannelOutput

func (SmsChannelOutput) ToSmsChannelPtrOutput

func (o SmsChannelOutput) ToSmsChannelPtrOutput() SmsChannelPtrOutput

func (SmsChannelOutput) ToSmsChannelPtrOutputWithContext

func (o SmsChannelOutput) ToSmsChannelPtrOutputWithContext(ctx context.Context) SmsChannelPtrOutput

type SmsChannelPtrInput

type SmsChannelPtrInput interface {
	pulumi.Input

	ToSmsChannelPtrOutput() SmsChannelPtrOutput
	ToSmsChannelPtrOutputWithContext(ctx context.Context) SmsChannelPtrOutput
}

type SmsChannelPtrOutput

type SmsChannelPtrOutput struct{ *pulumi.OutputState }

func (SmsChannelPtrOutput) Elem added in v4.15.0

func (SmsChannelPtrOutput) ElementType

func (SmsChannelPtrOutput) ElementType() reflect.Type

func (SmsChannelPtrOutput) ToSmsChannelPtrOutput

func (o SmsChannelPtrOutput) ToSmsChannelPtrOutput() SmsChannelPtrOutput

func (SmsChannelPtrOutput) ToSmsChannelPtrOutputWithContext

func (o SmsChannelPtrOutput) ToSmsChannelPtrOutputWithContext(ctx context.Context) SmsChannelPtrOutput

type SmsChannelState

type SmsChannelState struct {
	// The application ID.
	ApplicationId pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// Promotional messages per second that can be sent.
	PromotionalMessagesPerSecond pulumi.IntPtrInput
	// Sender identifier of your messages.
	SenderId pulumi.StringPtrInput
	// The Short Code registered with the phone provider.
	ShortCode pulumi.StringPtrInput
	// Transactional messages per second that can be sent.
	TransactionalMessagesPerSecond pulumi.IntPtrInput
}

func (SmsChannelState) ElementType

func (SmsChannelState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL