pinpoint

package
v6.51.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 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.

> **Note:** All arguments including the Client ID and Client Secret will be stored in the raw state as plain-text. ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/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

Using `pulumi import`, import Pinpoint ADM Channel using the `application-id`. For example:

```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

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) ApplicationId

func (o AdmChannelOutput) ApplicationId() pulumi.StringOutput

The application ID.

func (AdmChannelOutput) ClientId

func (o AdmChannelOutput) ClientId() pulumi.StringOutput

Client ID (part of OAuth Credentials) obtained via Amazon Developer Account.

func (AdmChannelOutput) ClientSecret

func (o AdmChannelOutput) ClientSecret() pulumi.StringOutput

Client Secret (part of OAuth Credentials) obtained via Amazon Developer Account.

func (AdmChannelOutput) ElementType

func (AdmChannelOutput) ElementType() reflect.Type

func (AdmChannelOutput) Enabled

Specifies whether to enable the channel. Defaults to `true`.

func (AdmChannelOutput) ToAdmChannelOutput

func (o AdmChannelOutput) ToAdmChannelOutput() AdmChannelOutput

func (AdmChannelOutput) ToAdmChannelOutputWithContext

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

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.
	//
	// One of the following sets of credentials is also required.
	//
	// If you choose to use __Certificate credentials__ you will have to provide:
	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).
	//
	// If you choose to use __Key credentials__ you will have to provide:
	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.

> **Note:** All arguments, including certificates and tokens, will be stored in the raw state as plain-text. ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint"
"github.com/pulumi/pulumi-std/sdk/go/std"
"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
		}
		invokeFile, err := std.File(ctx, &std.FileArgs{
			Input: "./certificate.pem",
		}, nil)
		if err != nil {
			return err
		}
		invokeFile1, err := std.File(ctx, &std.FileArgs{
			Input: "./private_key.key",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pinpoint.NewApnsChannel(ctx, "apns", &pinpoint.ApnsChannelArgs{
			ApplicationId: app.ApplicationId,
			Certificate:   pulumi.String(invokeFile.Result),
			PrivateKey:    pulumi.String(invokeFile1.Result),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Pinpoint APNs Channel using the `application-id`. For example:

```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

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.
	//
	// One of the following sets of credentials is also required.
	//
	// If you choose to use __Certificate credentials__ you will have to provide:
	DefaultAuthenticationMethod pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The Certificate Private Key file (ie. `.key` file).
	//
	// If you choose to use __Key credentials__ you will have to provide:
	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) ApplicationId

func (o ApnsChannelOutput) ApplicationId() pulumi.StringOutput

The application ID.

func (ApnsChannelOutput) BundleId

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.

func (ApnsChannelOutput) Certificate

func (o ApnsChannelOutput) Certificate() pulumi.StringPtrOutput

The pem encoded TLS Certificate from Apple.

func (ApnsChannelOutput) DefaultAuthenticationMethod

func (o ApnsChannelOutput) DefaultAuthenticationMethod() pulumi.StringPtrOutput

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.

One of the following sets of credentials is also required.

If you choose to use __Certificate credentials__ you will have to provide:

func (ApnsChannelOutput) ElementType

func (ApnsChannelOutput) ElementType() reflect.Type

func (ApnsChannelOutput) Enabled

Whether the channel is enabled or disabled. Defaults to `true`.

func (ApnsChannelOutput) PrivateKey

func (o ApnsChannelOutput) PrivateKey() pulumi.StringPtrOutput

The Certificate Private Key file (ie. `.key` file).

If you choose to use __Key credentials__ you will have to provide:

func (ApnsChannelOutput) TeamId

The ID assigned to your Apple developer account team. This value is provided on the Membership page.

func (ApnsChannelOutput) ToApnsChannelOutput

func (o ApnsChannelOutput) ToApnsChannelOutput() ApnsChannelOutput

func (ApnsChannelOutput) ToApnsChannelOutputWithContext

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

func (ApnsChannelOutput) TokenKey

The `.p8` file that you download from your Apple developer account when you create an authentication key.

func (ApnsChannelOutput) TokenKeyId

func (o ApnsChannelOutput) TokenKeyId() pulumi.StringPtrOutput

The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.

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.
	//
	// One of the following sets of credentials is also required.
	//
	// If you choose to use __Certificate credentials__ you will have to provide:
	DefaultAuthenticationMethod pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The Certificate Private Key file (ie. `.key` file).
	//
	// If you choose to use __Key credentials__ you will have to provide:
	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.
	//
	// One of the following sets of credentials is also required.
	//
	// If you choose to use __Certificate credentials__ you will have to provide:
	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).
	//
	// If you choose to use __Key credentials__ you will have to provide:
	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.

> **Note:** All arguments, including certificates and tokens, will be stored in the raw state as plain-text. ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint"
"github.com/pulumi/pulumi-std/sdk/go/std"
"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
		}
		invokeFile, err := std.File(ctx, &std.FileArgs{
			Input: "./certificate.pem",
		}, nil)
		if err != nil {
			return err
		}
		invokeFile1, err := std.File(ctx, &std.FileArgs{
			Input: "./private_key.key",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pinpoint.NewApnsSandboxChannel(ctx, "apns_sandbox", &pinpoint.ApnsSandboxChannelArgs{
			ApplicationId: app.ApplicationId,
			Certificate:   pulumi.String(invokeFile.Result),
			PrivateKey:    pulumi.String(invokeFile1.Result),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Pinpoint APNs Sandbox Channel using the `application-id`. For example:

```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

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.
	//
	// One of the following sets of credentials is also required.
	//
	// If you choose to use __Certificate credentials__ you will have to provide:
	DefaultAuthenticationMethod pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The Certificate Private Key file (ie. `.key` file).
	//
	// If you choose to use __Key credentials__ you will have to provide:
	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) ApplicationId

func (o ApnsSandboxChannelOutput) ApplicationId() pulumi.StringOutput

The application ID.

func (ApnsSandboxChannelOutput) BundleId

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.

func (ApnsSandboxChannelOutput) Certificate

The pem encoded TLS Certificate from Apple.

func (ApnsSandboxChannelOutput) DefaultAuthenticationMethod

func (o ApnsSandboxChannelOutput) DefaultAuthenticationMethod() pulumi.StringPtrOutput

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.

One of the following sets of credentials is also required.

If you choose to use __Certificate credentials__ you will have to provide:

func (ApnsSandboxChannelOutput) ElementType

func (ApnsSandboxChannelOutput) ElementType() reflect.Type

func (ApnsSandboxChannelOutput) Enabled

Whether the channel is enabled or disabled. Defaults to `true`.

func (ApnsSandboxChannelOutput) PrivateKey

The Certificate Private Key file (ie. `.key` file).

If you choose to use __Key credentials__ you will have to provide:

func (ApnsSandboxChannelOutput) TeamId

The ID assigned to your Apple developer account team. This value is provided on the Membership page.

func (ApnsSandboxChannelOutput) ToApnsSandboxChannelOutput

func (o ApnsSandboxChannelOutput) ToApnsSandboxChannelOutput() ApnsSandboxChannelOutput

func (ApnsSandboxChannelOutput) ToApnsSandboxChannelOutputWithContext

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

func (ApnsSandboxChannelOutput) TokenKey

The `.p8` file that you download from your Apple developer account when you create an authentication key.

func (ApnsSandboxChannelOutput) TokenKeyId

The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.

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.
	//
	// One of the following sets of credentials is also required.
	//
	// If you choose to use __Certificate credentials__ you will have to provide:
	DefaultAuthenticationMethod pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The Certificate Private Key file (ie. `.key` file).
	//
	// If you choose to use __Key credentials__ you will have to provide:
	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.
	//
	// One of the following sets of credentials is also required.
	//
	// If you choose to use __Certificate credentials__ you will have to provide:
	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).
	//
	// If you choose to use __Key credentials__ you will have to provide:
	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.

> **Note:** All arguments, including certificates and tokens, will be stored in the raw state as plain-text. ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint"
"github.com/pulumi/pulumi-std/sdk/go/std"
"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
		}
		invokeFile, err := std.File(ctx, &std.FileArgs{
			Input: "./certificate.pem",
		}, nil)
		if err != nil {
			return err
		}
		invokeFile1, err := std.File(ctx, &std.FileArgs{
			Input: "./private_key.key",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pinpoint.NewApnsVoipChannel(ctx, "apns_voip", &pinpoint.ApnsVoipChannelArgs{
			ApplicationId: app.ApplicationId,
			Certificate:   pulumi.String(invokeFile.Result),
			PrivateKey:    pulumi.String(invokeFile1.Result),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Pinpoint APNs VoIP Channel using the `application-id`. For example:

```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

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.
	//
	// One of the following sets of credentials is also required.
	//
	// If you choose to use __Certificate credentials__ you will have to provide:
	DefaultAuthenticationMethod pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The Certificate Private Key file (ie. `.key` file).
	//
	// If you choose to use __Key credentials__ you will have to provide:
	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) ApplicationId

func (o ApnsVoipChannelOutput) ApplicationId() pulumi.StringOutput

The application ID.

func (ApnsVoipChannelOutput) BundleId

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.

func (ApnsVoipChannelOutput) Certificate

The pem encoded TLS Certificate from Apple.

func (ApnsVoipChannelOutput) DefaultAuthenticationMethod

func (o ApnsVoipChannelOutput) DefaultAuthenticationMethod() pulumi.StringPtrOutput

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.

One of the following sets of credentials is also required.

If you choose to use __Certificate credentials__ you will have to provide:

func (ApnsVoipChannelOutput) ElementType

func (ApnsVoipChannelOutput) ElementType() reflect.Type

func (ApnsVoipChannelOutput) Enabled

Whether the channel is enabled or disabled. Defaults to `true`.

func (ApnsVoipChannelOutput) PrivateKey

The Certificate Private Key file (ie. `.key` file).

If you choose to use __Key credentials__ you will have to provide:

func (ApnsVoipChannelOutput) TeamId

The ID assigned to your Apple developer account team. This value is provided on the Membership page.

func (ApnsVoipChannelOutput) ToApnsVoipChannelOutput

func (o ApnsVoipChannelOutput) ToApnsVoipChannelOutput() ApnsVoipChannelOutput

func (ApnsVoipChannelOutput) ToApnsVoipChannelOutputWithContext

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

func (ApnsVoipChannelOutput) TokenKey

The `.p8` file that you download from your Apple developer account when you create an authentication key.

func (ApnsVoipChannelOutput) TokenKeyId

The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.

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.
	//
	// One of the following sets of credentials is also required.
	//
	// If you choose to use __Certificate credentials__ you will have to provide:
	DefaultAuthenticationMethod pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The Certificate Private Key file (ie. `.key` file).
	//
	// If you choose to use __Key credentials__ you will have to provide:
	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.
	//
	// One of the following sets of credentials is also required.
	//
	// If you choose to use __Certificate credentials__ you will have to provide:
	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).
	//
	// If you choose to use __Key credentials__ you will have to provide:
	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.

> **Note:** All arguments, including certificates and tokens, will be stored in the raw state as plain-text. ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint"
"github.com/pulumi/pulumi-std/sdk/go/std"
"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
		}
		invokeFile, err := std.File(ctx, &std.FileArgs{
			Input: "./certificate.pem",
		}, nil)
		if err != nil {
			return err
		}
		invokeFile1, err := std.File(ctx, &std.FileArgs{
			Input: "./private_key.key",
		}, nil)
		if err != nil {
			return err
		}
		_, err = pinpoint.NewApnsVoipSandboxChannel(ctx, "apns_voip_sandbox", &pinpoint.ApnsVoipSandboxChannelArgs{
			ApplicationId: app.ApplicationId,
			Certificate:   pulumi.String(invokeFile.Result),
			PrivateKey:    pulumi.String(invokeFile1.Result),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Pinpoint APNs VoIP Sandbox Channel using the `application-id`. For example:

```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

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.
	//
	// One of the following sets of credentials is also required.
	//
	// If you choose to use __Certificate credentials__ you will have to provide:
	DefaultAuthenticationMethod pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The Certificate Private Key file (ie. `.key` file).
	//
	// If you choose to use __Key credentials__ you will have to provide:
	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) ApplicationId

The application ID.

func (ApnsVoipSandboxChannelOutput) BundleId

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.

func (ApnsVoipSandboxChannelOutput) Certificate

The pem encoded TLS Certificate from Apple.

func (ApnsVoipSandboxChannelOutput) DefaultAuthenticationMethod

func (o ApnsVoipSandboxChannelOutput) DefaultAuthenticationMethod() pulumi.StringPtrOutput

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.

One of the following sets of credentials is also required.

If you choose to use __Certificate credentials__ you will have to provide:

func (ApnsVoipSandboxChannelOutput) ElementType

func (ApnsVoipSandboxChannelOutput) Enabled

Whether the channel is enabled or disabled. Defaults to `true`.

func (ApnsVoipSandboxChannelOutput) PrivateKey

The Certificate Private Key file (ie. `.key` file).

If you choose to use __Key credentials__ you will have to provide:

func (ApnsVoipSandboxChannelOutput) TeamId

The ID assigned to your Apple developer account team. This value is provided on the Membership page.

func (ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelOutput

func (o ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelOutput() ApnsVoipSandboxChannelOutput

func (ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelOutputWithContext

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

func (ApnsVoipSandboxChannelOutput) TokenKey

The `.p8` file that you download from your Apple developer account when you create an authentication key.

func (ApnsVoipSandboxChannelOutput) TokenKeyId

The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.

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.
	//
	// One of the following sets of credentials is also required.
	//
	// If you choose to use __Certificate credentials__ you will have to provide:
	DefaultAuthenticationMethod pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The Certificate Private Key file (ie. `.key` file).
	//
	// If you choose to use __Key credentials__ you will have to provide:
	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 Pulumi
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Pinpoint application. Conflicts with `name`
	NamePrefix pulumi.StringOutput `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 `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a Pinpoint App resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/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{
			Name: pulumi.String("test-app"),
			Limits: &pinpoint.AppLimitsArgs{
				MaximumDuration: pulumi.Int(600),
			},
			QuietTime: &pinpoint.AppQuietTimeArgs{
				Start: pulumi.String("00:00"),
				End:   pulumi.String("06:00"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Pinpoint App using the `application-id`. For example:

```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

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 Pulumi
	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
}

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) ApplicationId

func (o AppOutput) ApplicationId() pulumi.StringOutput

The Application ID of the Pinpoint App.

func (AppOutput) Arn

func (o AppOutput) Arn() pulumi.StringOutput

Amazon Resource Name (ARN) of the PinPoint Application

func (AppOutput) CampaignHook

func (o AppOutput) CampaignHook() AppCampaignHookPtrOutput

Specifies settings for invoking an AWS Lambda function that customizes a segment for a campaign

func (AppOutput) ElementType

func (AppOutput) ElementType() reflect.Type

func (AppOutput) Limits

func (o AppOutput) Limits() AppLimitsPtrOutput

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

func (AppOutput) Name

func (o AppOutput) Name() pulumi.StringOutput

The application name. By default generated by Pulumi

func (AppOutput) NamePrefix

func (o AppOutput) NamePrefix() pulumi.StringOutput

The name of the Pinpoint application. Conflicts with `name`

func (AppOutput) QuietTime

func (o AppOutput) QuietTime() AppQuietTimePtrOutput

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

func (AppOutput) Tags

func (o AppOutput) Tags() pulumi.StringMapOutput

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.

func (AppOutput) TagsAll deprecated

func (o AppOutput) TagsAll() pulumi.StringMapOutput

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (AppOutput) ToAppOutput

func (o AppOutput) ToAppOutput() AppOutput

func (AppOutput) ToAppOutputWithContext

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

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 Pulumi
	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 `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	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.

> **Note:** All arguments including the Api Key and Secret Key will be stored in the raw state as plain-text. ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/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

Using `pulumi import`, import Pinpoint Baidu Channel using the `application-id`. For example:

```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

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) ApiKey

Platform credential API key from Baidu.

func (BaiduChannelOutput) ApplicationId

func (o BaiduChannelOutput) ApplicationId() pulumi.StringOutput

The application ID.

func (BaiduChannelOutput) ElementType

func (BaiduChannelOutput) ElementType() reflect.Type

func (BaiduChannelOutput) Enabled

Specifies whether to enable the channel. Defaults to `true`.

func (BaiduChannelOutput) SecretKey

func (o BaiduChannelOutput) SecretKey() pulumi.StringOutput

Platform credential Secret key from Baidu.

func (BaiduChannelOutput) ToBaiduChannelOutput

func (o BaiduChannelOutput) ToBaiduChannelOutput() BaiduChannelOutput

func (BaiduChannelOutput) ToBaiduChannelOutputWithContext

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

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"`
	// *Deprecated* 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 (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint"
"github.com/pulumi/pulumi-aws/sdk/v6/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
		}
		assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Effect: pulumi.StringRef("Allow"),
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"pinpoint.amazonaws.com",
							},
						},
					},
					Actions: []string{
						"sts:AssumeRole",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		role, err := iam.NewRole(ctx, "role", &iam.RoleArgs{
			AssumeRolePolicy: pulumi.String(assumeRole.Json),
		})
		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
		}
		rolePolicy, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Effect: pulumi.StringRef("Allow"),
					Actions: []string{
						"mobileanalytics:PutEvents",
						"mobileanalytics:PutItems",
					},
					Resources: []string{
						"*",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = iam.NewRolePolicy(ctx, "role_policy", &iam.RolePolicyArgs{
			Name:   pulumi.String("role_policy"),
			Role:   role.ID(),
			Policy: pulumi.String(rolePolicy.Json),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Pinpoint Email Channel using the `application-id`. For example:

```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

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
	// *Deprecated* 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) ApplicationId

func (o EmailChannelOutput) ApplicationId() pulumi.StringOutput

The application ID.

func (EmailChannelOutput) ConfigurationSet

func (o EmailChannelOutput) ConfigurationSet() pulumi.StringPtrOutput

The ARN of the Amazon SES configuration set that you want to apply to messages that you send through the channel.

func (EmailChannelOutput) ElementType

func (EmailChannelOutput) ElementType() reflect.Type

func (EmailChannelOutput) Enabled

Whether the channel is enabled or disabled. Defaults to `true`.

func (EmailChannelOutput) FromAddress

func (o EmailChannelOutput) FromAddress() pulumi.StringOutput

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).

func (EmailChannelOutput) Identity

func (o EmailChannelOutput) Identity() pulumi.StringOutput

The ARN of an identity verified with SES.

func (EmailChannelOutput) MessagesPerSecond

func (o EmailChannelOutput) MessagesPerSecond() pulumi.IntOutput

Messages per second that can be sent.

func (EmailChannelOutput) RoleArn

*Deprecated* The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service.

func (EmailChannelOutput) ToEmailChannelOutput

func (o EmailChannelOutput) ToEmailChannelOutput() EmailChannelOutput

func (EmailChannelOutput) ToEmailChannelOutputWithContext

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

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
	// *Deprecated* 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 EmailTemplate added in v6.50.0

type EmailTemplate struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of the message template.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Specifies the content and settings for a message template that can be used in messages that are sent through the email channel. See Email Template
	EmailTemplates EmailTemplateEmailTemplateArrayOutput `pulumi:"emailTemplates"`
	Tags           pulumi.StringMapOutput                `pulumi:"tags"`
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
	TemplateName pulumi.StringOutput `pulumi:"templateName"`
}

Provides a Pinpoint Email Template resource

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pinpoint.NewEmailTemplate(ctx, "test", &pinpoint.EmailTemplateArgs{
			TemplateName: pulumi.String("testing"),
			EmailTemplates: pinpoint.EmailTemplateEmailTemplateArray{
				&pinpoint.EmailTemplateEmailTemplateArgs{
					Subject:  pulumi.String("testing"),
					TextPart: pulumi.String("we are testing template text part"),
					Headers: pinpoint.EmailTemplateEmailTemplateHeaderArray{
						&pinpoint.EmailTemplateEmailTemplateHeaderArgs{
							Name:  pulumi.String("testingname"),
							Value: pulumi.String("testingvalue"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Pinpoint Email Template using the `template_name`. For example:

```sh $ pulumi import aws:pinpoint/emailTemplate:EmailTemplate reset template_name ```

func GetEmailTemplate added in v6.50.0

func GetEmailTemplate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EmailTemplateState, opts ...pulumi.ResourceOption) (*EmailTemplate, error)

GetEmailTemplate gets an existing EmailTemplate 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 NewEmailTemplate added in v6.50.0

func NewEmailTemplate(ctx *pulumi.Context,
	name string, args *EmailTemplateArgs, opts ...pulumi.ResourceOption) (*EmailTemplate, error)

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

func (*EmailTemplate) ElementType added in v6.50.0

func (*EmailTemplate) ElementType() reflect.Type

func (*EmailTemplate) ToEmailTemplateOutput added in v6.50.0

func (i *EmailTemplate) ToEmailTemplateOutput() EmailTemplateOutput

func (*EmailTemplate) ToEmailTemplateOutputWithContext added in v6.50.0

func (i *EmailTemplate) ToEmailTemplateOutputWithContext(ctx context.Context) EmailTemplateOutput

type EmailTemplateArgs added in v6.50.0

type EmailTemplateArgs struct {
	// Specifies the content and settings for a message template that can be used in messages that are sent through the email channel. See Email Template
	EmailTemplates EmailTemplateEmailTemplateArrayInput
	Tags           pulumi.StringMapInput
	// name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
	TemplateName pulumi.StringInput
}

The set of arguments for constructing a EmailTemplate resource.

func (EmailTemplateArgs) ElementType added in v6.50.0

func (EmailTemplateArgs) ElementType() reflect.Type

type EmailTemplateArray added in v6.50.0

type EmailTemplateArray []EmailTemplateInput

func (EmailTemplateArray) ElementType added in v6.50.0

func (EmailTemplateArray) ElementType() reflect.Type

func (EmailTemplateArray) ToEmailTemplateArrayOutput added in v6.50.0

func (i EmailTemplateArray) ToEmailTemplateArrayOutput() EmailTemplateArrayOutput

func (EmailTemplateArray) ToEmailTemplateArrayOutputWithContext added in v6.50.0

func (i EmailTemplateArray) ToEmailTemplateArrayOutputWithContext(ctx context.Context) EmailTemplateArrayOutput

type EmailTemplateArrayInput added in v6.50.0

type EmailTemplateArrayInput interface {
	pulumi.Input

	ToEmailTemplateArrayOutput() EmailTemplateArrayOutput
	ToEmailTemplateArrayOutputWithContext(context.Context) EmailTemplateArrayOutput
}

EmailTemplateArrayInput is an input type that accepts EmailTemplateArray and EmailTemplateArrayOutput values. You can construct a concrete instance of `EmailTemplateArrayInput` via:

EmailTemplateArray{ EmailTemplateArgs{...} }

type EmailTemplateArrayOutput added in v6.50.0

type EmailTemplateArrayOutput struct{ *pulumi.OutputState }

func (EmailTemplateArrayOutput) ElementType added in v6.50.0

func (EmailTemplateArrayOutput) ElementType() reflect.Type

func (EmailTemplateArrayOutput) Index added in v6.50.0

func (EmailTemplateArrayOutput) ToEmailTemplateArrayOutput added in v6.50.0

func (o EmailTemplateArrayOutput) ToEmailTemplateArrayOutput() EmailTemplateArrayOutput

func (EmailTemplateArrayOutput) ToEmailTemplateArrayOutputWithContext added in v6.50.0

func (o EmailTemplateArrayOutput) ToEmailTemplateArrayOutputWithContext(ctx context.Context) EmailTemplateArrayOutput

type EmailTemplateEmailTemplate added in v6.50.0

type EmailTemplateEmailTemplate struct {
	// JSON object that specifies the default values to use for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable. When you create a message that's based on the template, you can override these defaults with message-specific and address-specific variables and values.
	DefaultSubstitutions *string                            `pulumi:"defaultSubstitutions"`
	Description          *string                            `pulumi:"description"`
	Headers              []EmailTemplateEmailTemplateHeader `pulumi:"headers"`
	// The message body, in HTML format, to use in email messages that are based on the message template. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.
	HtmlPart *string `pulumi:"htmlPart"`
	// The unique identifier for the recommender model to use for the message template. Amazon Pinpoint uses this value to determine how to retrieve and process data from a recommender model when it sends messages that use the template, if the template contains message variables for recommendation data.
	RecommenderId *string `pulumi:"recommenderId"`
	// Subject line, or title, to use in email messages that are based on the message template.
	Subject *string `pulumi:"subject"`
	// Message body, in plain text format, to use in email messages that are based on the message template. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.
	TextPart *string `pulumi:"textPart"`
}

type EmailTemplateEmailTemplateArgs added in v6.50.0

type EmailTemplateEmailTemplateArgs struct {
	// JSON object that specifies the default values to use for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable. When you create a message that's based on the template, you can override these defaults with message-specific and address-specific variables and values.
	DefaultSubstitutions pulumi.StringPtrInput                      `pulumi:"defaultSubstitutions"`
	Description          pulumi.StringPtrInput                      `pulumi:"description"`
	Headers              EmailTemplateEmailTemplateHeaderArrayInput `pulumi:"headers"`
	// The message body, in HTML format, to use in email messages that are based on the message template. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.
	HtmlPart pulumi.StringPtrInput `pulumi:"htmlPart"`
	// The unique identifier for the recommender model to use for the message template. Amazon Pinpoint uses this value to determine how to retrieve and process data from a recommender model when it sends messages that use the template, if the template contains message variables for recommendation data.
	RecommenderId pulumi.StringPtrInput `pulumi:"recommenderId"`
	// Subject line, or title, to use in email messages that are based on the message template.
	Subject pulumi.StringPtrInput `pulumi:"subject"`
	// Message body, in plain text format, to use in email messages that are based on the message template. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.
	TextPart pulumi.StringPtrInput `pulumi:"textPart"`
}

func (EmailTemplateEmailTemplateArgs) ElementType added in v6.50.0

func (EmailTemplateEmailTemplateArgs) ToEmailTemplateEmailTemplateOutput added in v6.50.0

func (i EmailTemplateEmailTemplateArgs) ToEmailTemplateEmailTemplateOutput() EmailTemplateEmailTemplateOutput

func (EmailTemplateEmailTemplateArgs) ToEmailTemplateEmailTemplateOutputWithContext added in v6.50.0

func (i EmailTemplateEmailTemplateArgs) ToEmailTemplateEmailTemplateOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateOutput

type EmailTemplateEmailTemplateArray added in v6.50.0

type EmailTemplateEmailTemplateArray []EmailTemplateEmailTemplateInput

func (EmailTemplateEmailTemplateArray) ElementType added in v6.50.0

func (EmailTemplateEmailTemplateArray) ToEmailTemplateEmailTemplateArrayOutput added in v6.50.0

func (i EmailTemplateEmailTemplateArray) ToEmailTemplateEmailTemplateArrayOutput() EmailTemplateEmailTemplateArrayOutput

func (EmailTemplateEmailTemplateArray) ToEmailTemplateEmailTemplateArrayOutputWithContext added in v6.50.0

func (i EmailTemplateEmailTemplateArray) ToEmailTemplateEmailTemplateArrayOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateArrayOutput

type EmailTemplateEmailTemplateArrayInput added in v6.50.0

type EmailTemplateEmailTemplateArrayInput interface {
	pulumi.Input

	ToEmailTemplateEmailTemplateArrayOutput() EmailTemplateEmailTemplateArrayOutput
	ToEmailTemplateEmailTemplateArrayOutputWithContext(context.Context) EmailTemplateEmailTemplateArrayOutput
}

EmailTemplateEmailTemplateArrayInput is an input type that accepts EmailTemplateEmailTemplateArray and EmailTemplateEmailTemplateArrayOutput values. You can construct a concrete instance of `EmailTemplateEmailTemplateArrayInput` via:

EmailTemplateEmailTemplateArray{ EmailTemplateEmailTemplateArgs{...} }

type EmailTemplateEmailTemplateArrayOutput added in v6.50.0

type EmailTemplateEmailTemplateArrayOutput struct{ *pulumi.OutputState }

func (EmailTemplateEmailTemplateArrayOutput) ElementType added in v6.50.0

func (EmailTemplateEmailTemplateArrayOutput) Index added in v6.50.0

func (EmailTemplateEmailTemplateArrayOutput) ToEmailTemplateEmailTemplateArrayOutput added in v6.50.0

func (o EmailTemplateEmailTemplateArrayOutput) ToEmailTemplateEmailTemplateArrayOutput() EmailTemplateEmailTemplateArrayOutput

func (EmailTemplateEmailTemplateArrayOutput) ToEmailTemplateEmailTemplateArrayOutputWithContext added in v6.50.0

func (o EmailTemplateEmailTemplateArrayOutput) ToEmailTemplateEmailTemplateArrayOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateArrayOutput

type EmailTemplateEmailTemplateHeader added in v6.50.0

type EmailTemplateEmailTemplateHeader struct {
	// Name of the message header. The header name can contain up to 126 characters.
	Name *string `pulumi:"name"`
	// Value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the {CreationDate} attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length.
	Value *string `pulumi:"value"`
}

type EmailTemplateEmailTemplateHeaderArgs added in v6.50.0

type EmailTemplateEmailTemplateHeaderArgs struct {
	// Name of the message header. The header name can contain up to 126 characters.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the {CreationDate} attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (EmailTemplateEmailTemplateHeaderArgs) ElementType added in v6.50.0

func (EmailTemplateEmailTemplateHeaderArgs) ToEmailTemplateEmailTemplateHeaderOutput added in v6.50.0

func (i EmailTemplateEmailTemplateHeaderArgs) ToEmailTemplateEmailTemplateHeaderOutput() EmailTemplateEmailTemplateHeaderOutput

func (EmailTemplateEmailTemplateHeaderArgs) ToEmailTemplateEmailTemplateHeaderOutputWithContext added in v6.50.0

func (i EmailTemplateEmailTemplateHeaderArgs) ToEmailTemplateEmailTemplateHeaderOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateHeaderOutput

type EmailTemplateEmailTemplateHeaderArray added in v6.50.0

type EmailTemplateEmailTemplateHeaderArray []EmailTemplateEmailTemplateHeaderInput

func (EmailTemplateEmailTemplateHeaderArray) ElementType added in v6.50.0

func (EmailTemplateEmailTemplateHeaderArray) ToEmailTemplateEmailTemplateHeaderArrayOutput added in v6.50.0

func (i EmailTemplateEmailTemplateHeaderArray) ToEmailTemplateEmailTemplateHeaderArrayOutput() EmailTemplateEmailTemplateHeaderArrayOutput

func (EmailTemplateEmailTemplateHeaderArray) ToEmailTemplateEmailTemplateHeaderArrayOutputWithContext added in v6.50.0

func (i EmailTemplateEmailTemplateHeaderArray) ToEmailTemplateEmailTemplateHeaderArrayOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateHeaderArrayOutput

type EmailTemplateEmailTemplateHeaderArrayInput added in v6.50.0

type EmailTemplateEmailTemplateHeaderArrayInput interface {
	pulumi.Input

	ToEmailTemplateEmailTemplateHeaderArrayOutput() EmailTemplateEmailTemplateHeaderArrayOutput
	ToEmailTemplateEmailTemplateHeaderArrayOutputWithContext(context.Context) EmailTemplateEmailTemplateHeaderArrayOutput
}

EmailTemplateEmailTemplateHeaderArrayInput is an input type that accepts EmailTemplateEmailTemplateHeaderArray and EmailTemplateEmailTemplateHeaderArrayOutput values. You can construct a concrete instance of `EmailTemplateEmailTemplateHeaderArrayInput` via:

EmailTemplateEmailTemplateHeaderArray{ EmailTemplateEmailTemplateHeaderArgs{...} }

type EmailTemplateEmailTemplateHeaderArrayOutput added in v6.50.0

type EmailTemplateEmailTemplateHeaderArrayOutput struct{ *pulumi.OutputState }

func (EmailTemplateEmailTemplateHeaderArrayOutput) ElementType added in v6.50.0

func (EmailTemplateEmailTemplateHeaderArrayOutput) Index added in v6.50.0

func (EmailTemplateEmailTemplateHeaderArrayOutput) ToEmailTemplateEmailTemplateHeaderArrayOutput added in v6.50.0

func (o EmailTemplateEmailTemplateHeaderArrayOutput) ToEmailTemplateEmailTemplateHeaderArrayOutput() EmailTemplateEmailTemplateHeaderArrayOutput

func (EmailTemplateEmailTemplateHeaderArrayOutput) ToEmailTemplateEmailTemplateHeaderArrayOutputWithContext added in v6.50.0

func (o EmailTemplateEmailTemplateHeaderArrayOutput) ToEmailTemplateEmailTemplateHeaderArrayOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateHeaderArrayOutput

type EmailTemplateEmailTemplateHeaderInput added in v6.50.0

type EmailTemplateEmailTemplateHeaderInput interface {
	pulumi.Input

	ToEmailTemplateEmailTemplateHeaderOutput() EmailTemplateEmailTemplateHeaderOutput
	ToEmailTemplateEmailTemplateHeaderOutputWithContext(context.Context) EmailTemplateEmailTemplateHeaderOutput
}

EmailTemplateEmailTemplateHeaderInput is an input type that accepts EmailTemplateEmailTemplateHeaderArgs and EmailTemplateEmailTemplateHeaderOutput values. You can construct a concrete instance of `EmailTemplateEmailTemplateHeaderInput` via:

EmailTemplateEmailTemplateHeaderArgs{...}

type EmailTemplateEmailTemplateHeaderOutput added in v6.50.0

type EmailTemplateEmailTemplateHeaderOutput struct{ *pulumi.OutputState }

func (EmailTemplateEmailTemplateHeaderOutput) ElementType added in v6.50.0

func (EmailTemplateEmailTemplateHeaderOutput) Name added in v6.50.0

Name of the message header. The header name can contain up to 126 characters.

func (EmailTemplateEmailTemplateHeaderOutput) ToEmailTemplateEmailTemplateHeaderOutput added in v6.50.0

func (o EmailTemplateEmailTemplateHeaderOutput) ToEmailTemplateEmailTemplateHeaderOutput() EmailTemplateEmailTemplateHeaderOutput

func (EmailTemplateEmailTemplateHeaderOutput) ToEmailTemplateEmailTemplateHeaderOutputWithContext added in v6.50.0

func (o EmailTemplateEmailTemplateHeaderOutput) ToEmailTemplateEmailTemplateHeaderOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateHeaderOutput

func (EmailTemplateEmailTemplateHeaderOutput) Value added in v6.50.0

Value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the {CreationDate} attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length.

type EmailTemplateEmailTemplateInput added in v6.50.0

type EmailTemplateEmailTemplateInput interface {
	pulumi.Input

	ToEmailTemplateEmailTemplateOutput() EmailTemplateEmailTemplateOutput
	ToEmailTemplateEmailTemplateOutputWithContext(context.Context) EmailTemplateEmailTemplateOutput
}

EmailTemplateEmailTemplateInput is an input type that accepts EmailTemplateEmailTemplateArgs and EmailTemplateEmailTemplateOutput values. You can construct a concrete instance of `EmailTemplateEmailTemplateInput` via:

EmailTemplateEmailTemplateArgs{...}

type EmailTemplateEmailTemplateOutput added in v6.50.0

type EmailTemplateEmailTemplateOutput struct{ *pulumi.OutputState }

func (EmailTemplateEmailTemplateOutput) DefaultSubstitutions added in v6.50.0

func (o EmailTemplateEmailTemplateOutput) DefaultSubstitutions() pulumi.StringPtrOutput

JSON object that specifies the default values to use for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable. When you create a message that's based on the template, you can override these defaults with message-specific and address-specific variables and values.

func (EmailTemplateEmailTemplateOutput) Description added in v6.50.0

func (EmailTemplateEmailTemplateOutput) ElementType added in v6.50.0

func (EmailTemplateEmailTemplateOutput) Headers added in v6.50.0

func (EmailTemplateEmailTemplateOutput) HtmlPart added in v6.50.0

The message body, in HTML format, to use in email messages that are based on the message template. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.

func (EmailTemplateEmailTemplateOutput) RecommenderId added in v6.50.0

The unique identifier for the recommender model to use for the message template. Amazon Pinpoint uses this value to determine how to retrieve and process data from a recommender model when it sends messages that use the template, if the template contains message variables for recommendation data.

func (EmailTemplateEmailTemplateOutput) Subject added in v6.50.0

Subject line, or title, to use in email messages that are based on the message template.

func (EmailTemplateEmailTemplateOutput) TextPart added in v6.50.0

Message body, in plain text format, to use in email messages that are based on the message template. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.

func (EmailTemplateEmailTemplateOutput) ToEmailTemplateEmailTemplateOutput added in v6.50.0

func (o EmailTemplateEmailTemplateOutput) ToEmailTemplateEmailTemplateOutput() EmailTemplateEmailTemplateOutput

func (EmailTemplateEmailTemplateOutput) ToEmailTemplateEmailTemplateOutputWithContext added in v6.50.0

func (o EmailTemplateEmailTemplateOutput) ToEmailTemplateEmailTemplateOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateOutput

type EmailTemplateInput added in v6.50.0

type EmailTemplateInput interface {
	pulumi.Input

	ToEmailTemplateOutput() EmailTemplateOutput
	ToEmailTemplateOutputWithContext(ctx context.Context) EmailTemplateOutput
}

type EmailTemplateMap added in v6.50.0

type EmailTemplateMap map[string]EmailTemplateInput

func (EmailTemplateMap) ElementType added in v6.50.0

func (EmailTemplateMap) ElementType() reflect.Type

func (EmailTemplateMap) ToEmailTemplateMapOutput added in v6.50.0

func (i EmailTemplateMap) ToEmailTemplateMapOutput() EmailTemplateMapOutput

func (EmailTemplateMap) ToEmailTemplateMapOutputWithContext added in v6.50.0

func (i EmailTemplateMap) ToEmailTemplateMapOutputWithContext(ctx context.Context) EmailTemplateMapOutput

type EmailTemplateMapInput added in v6.50.0

type EmailTemplateMapInput interface {
	pulumi.Input

	ToEmailTemplateMapOutput() EmailTemplateMapOutput
	ToEmailTemplateMapOutputWithContext(context.Context) EmailTemplateMapOutput
}

EmailTemplateMapInput is an input type that accepts EmailTemplateMap and EmailTemplateMapOutput values. You can construct a concrete instance of `EmailTemplateMapInput` via:

EmailTemplateMap{ "key": EmailTemplateArgs{...} }

type EmailTemplateMapOutput added in v6.50.0

type EmailTemplateMapOutput struct{ *pulumi.OutputState }

func (EmailTemplateMapOutput) ElementType added in v6.50.0

func (EmailTemplateMapOutput) ElementType() reflect.Type

func (EmailTemplateMapOutput) MapIndex added in v6.50.0

func (EmailTemplateMapOutput) ToEmailTemplateMapOutput added in v6.50.0

func (o EmailTemplateMapOutput) ToEmailTemplateMapOutput() EmailTemplateMapOutput

func (EmailTemplateMapOutput) ToEmailTemplateMapOutputWithContext added in v6.50.0

func (o EmailTemplateMapOutput) ToEmailTemplateMapOutputWithContext(ctx context.Context) EmailTemplateMapOutput

type EmailTemplateOutput added in v6.50.0

type EmailTemplateOutput struct{ *pulumi.OutputState }

func (EmailTemplateOutput) Arn added in v6.50.0

Amazon Resource Name (ARN) of the message template.

func (EmailTemplateOutput) ElementType added in v6.50.0

func (EmailTemplateOutput) ElementType() reflect.Type

func (EmailTemplateOutput) EmailTemplates added in v6.50.0

Specifies the content and settings for a message template that can be used in messages that are sent through the email channel. See Email Template

func (EmailTemplateOutput) Tags added in v6.50.0

func (EmailTemplateOutput) TagsAll deprecated added in v6.50.0

Deprecated: Please use `tags` instead.

func (EmailTemplateOutput) TemplateName added in v6.50.0

func (o EmailTemplateOutput) TemplateName() pulumi.StringOutput

name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

func (EmailTemplateOutput) ToEmailTemplateOutput added in v6.50.0

func (o EmailTemplateOutput) ToEmailTemplateOutput() EmailTemplateOutput

func (EmailTemplateOutput) ToEmailTemplateOutputWithContext added in v6.50.0

func (o EmailTemplateOutput) ToEmailTemplateOutputWithContext(ctx context.Context) EmailTemplateOutput

type EmailTemplateState added in v6.50.0

type EmailTemplateState struct {
	// Amazon Resource Name (ARN) of the message template.
	Arn pulumi.StringPtrInput
	// Specifies the content and settings for a message template that can be used in messages that are sent through the email channel. See Email Template
	EmailTemplates EmailTemplateEmailTemplateArrayInput
	Tags           pulumi.StringMapInput
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
	TemplateName pulumi.StringPtrInput
}

func (EmailTemplateState) ElementType added in v6.50.0

func (EmailTemplateState) 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 (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kinesis"
"github.com/pulumi/pulumi-aws/sdk/v6/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, "test_stream", &kinesis.StreamArgs{
			Name:       pulumi.String("pinpoint-kinesis-test"),
			ShardCount: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Effect: pulumi.StringRef("Allow"),
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"pinpoint.us-east-1.amazonaws.com",
							},
						},
					},
					Actions: []string{
						"sts:AssumeRole",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		testRole, err := iam.NewRole(ctx, "test_role", &iam.RoleArgs{
			AssumeRolePolicy: pulumi.String(assumeRole.Json),
		})
		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
		}
		testRolePolicy, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Effect: pulumi.StringRef("Allow"),
					Actions: []string{
						"kinesis:PutRecords",
						"kinesis:DescribeStream",
					},
					Resources: []string{
						"arn:aws:kinesis:us-east-1:*:*/*",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = iam.NewRolePolicy(ctx, "test_role_policy", &iam.RolePolicyArgs{
			Name:   pulumi.String("test_policy"),
			Role:   testRole.ID(),
			Policy: pulumi.String(testRolePolicy.Json),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Pinpoint Event Stream using the `application-id`. For example:

```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

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) ApplicationId

func (o EventStreamOutput) ApplicationId() pulumi.StringOutput

The application ID.

func (EventStreamOutput) DestinationStreamArn

func (o EventStreamOutput) DestinationStreamArn() pulumi.StringOutput

The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events.

func (EventStreamOutput) ElementType

func (EventStreamOutput) ElementType() reflect.Type

func (EventStreamOutput) RoleArn

The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.

func (EventStreamOutput) ToEventStreamOutput

func (o EventStreamOutput) ToEventStreamOutput() EventStreamOutput

func (EventStreamOutput) ToEventStreamOutputWithContext

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

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.StringPtrOutput `pulumi:"apiKey"`
	// The application ID.
	ApplicationId               pulumi.StringOutput    `pulumi:"applicationId"`
	DefaultAuthenticationMethod pulumi.StringPtrOutput `pulumi:"defaultAuthenticationMethod"`
	// Whether the channel is enabled or disabled. Defaults to `true`.
	Enabled     pulumi.BoolPtrOutput   `pulumi:"enabled"`
	ServiceJson pulumi.StringPtrOutput `pulumi:"serviceJson"`
}

Provides a Pinpoint GCM Channel resource.

> **Note:** Credentials (Service Account JSON and API Key) will be stored in the raw state as plain-text. ## Import

Using `pulumi import`, import Pinpoint GCM Channel using the `application-id`. For example:

```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

type GcmChannelArgs

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

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) ApiKey

Platform credential API key from Google.

func (GcmChannelOutput) ApplicationId

func (o GcmChannelOutput) ApplicationId() pulumi.StringOutput

The application ID.

func (GcmChannelOutput) DefaultAuthenticationMethod added in v6.50.1

func (o GcmChannelOutput) DefaultAuthenticationMethod() pulumi.StringPtrOutput

func (GcmChannelOutput) ElementType

func (GcmChannelOutput) ElementType() reflect.Type

func (GcmChannelOutput) Enabled

Whether the channel is enabled or disabled. Defaults to `true`.

func (GcmChannelOutput) ServiceJson added in v6.50.1

func (o GcmChannelOutput) ServiceJson() pulumi.StringPtrOutput

func (GcmChannelOutput) ToGcmChannelOutput

func (o GcmChannelOutput) ToGcmChannelOutput() GcmChannelOutput

func (GcmChannelOutput) ToGcmChannelOutputWithContext

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

type GcmChannelState

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

func (GcmChannelState) ElementType

func (GcmChannelState) ElementType() reflect.Type

type SmsChannel

type SmsChannel struct {
	pulumi.CustomResourceState

	// ID of the application.
	ApplicationId pulumi.StringOutput `pulumi:"applicationId"`
	// Whether the channel is enabled or disabled. By default, it is set to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Maximum number of promotional messages that can be sent per second.
	PromotionalMessagesPerSecond pulumi.IntOutput `pulumi:"promotionalMessagesPerSecond"`
	// Identifier of the sender for your messages.
	SenderId pulumi.StringPtrOutput `pulumi:"senderId"`
	// Short Code registered with the phone provider.
	ShortCode pulumi.StringPtrOutput `pulumi:"shortCode"`
	// Maximum number of transactional messages per second that can be sent.
	TransactionalMessagesPerSecond pulumi.IntOutput `pulumi:"transactionalMessagesPerSecond"`
}

Use the `pinpoint.SmsChannel` resource to manage Pinpoint SMS Channels.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/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

Using `pulumi import`, import the Pinpoint SMS Channel using the `application_id`. For example:

```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

type SmsChannelArgs

type SmsChannelArgs struct {
	// ID of the application.
	ApplicationId pulumi.StringInput
	// Whether the channel is enabled or disabled. By default, it is set to `true`.
	Enabled pulumi.BoolPtrInput
	// Identifier of the sender for your messages.
	SenderId pulumi.StringPtrInput
	// 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) ApplicationId

func (o SmsChannelOutput) ApplicationId() pulumi.StringOutput

ID of the application.

func (SmsChannelOutput) ElementType

func (SmsChannelOutput) ElementType() reflect.Type

func (SmsChannelOutput) Enabled

Whether the channel is enabled or disabled. By default, it is set to `true`.

func (SmsChannelOutput) PromotionalMessagesPerSecond

func (o SmsChannelOutput) PromotionalMessagesPerSecond() pulumi.IntOutput

Maximum number of promotional messages that can be sent per second.

func (SmsChannelOutput) SenderId

Identifier of the sender for your messages.

func (SmsChannelOutput) ShortCode

func (o SmsChannelOutput) ShortCode() pulumi.StringPtrOutput

Short Code registered with the phone provider.

func (SmsChannelOutput) ToSmsChannelOutput

func (o SmsChannelOutput) ToSmsChannelOutput() SmsChannelOutput

func (SmsChannelOutput) ToSmsChannelOutputWithContext

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

func (SmsChannelOutput) TransactionalMessagesPerSecond

func (o SmsChannelOutput) TransactionalMessagesPerSecond() pulumi.IntOutput

Maximum number of transactional messages per second that can be sent.

type SmsChannelState

type SmsChannelState struct {
	// ID of the application.
	ApplicationId pulumi.StringPtrInput
	// Whether the channel is enabled or disabled. By default, it is set to `true`.
	Enabled pulumi.BoolPtrInput
	// Maximum number of promotional messages that can be sent per second.
	PromotionalMessagesPerSecond pulumi.IntPtrInput
	// Identifier of the sender for your messages.
	SenderId pulumi.StringPtrInput
	// Short Code registered with the phone provider.
	ShortCode pulumi.StringPtrInput
	// Maximum number of 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