ses

package
v4.23.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveReceiptRuleSet

type ActiveReceiptRuleSet struct {
	pulumi.CustomResourceState

	// The SES receipt rule set ARN.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The name of the rule set
	RuleSetName pulumi.StringOutput `pulumi:"ruleSetName"`
}

Provides a resource to designate the active SES receipt rule set

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ses.NewActiveReceiptRuleSet(ctx, "main", &ses.ActiveReceiptRuleSetArgs{
			RuleSetName: pulumi.String("primary-rules"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetActiveReceiptRuleSet

func GetActiveReceiptRuleSet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ActiveReceiptRuleSetState, opts ...pulumi.ResourceOption) (*ActiveReceiptRuleSet, error)

GetActiveReceiptRuleSet gets an existing ActiveReceiptRuleSet 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 NewActiveReceiptRuleSet

func NewActiveReceiptRuleSet(ctx *pulumi.Context,
	name string, args *ActiveReceiptRuleSetArgs, opts ...pulumi.ResourceOption) (*ActiveReceiptRuleSet, error)

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

func (*ActiveReceiptRuleSet) ElementType

func (*ActiveReceiptRuleSet) ElementType() reflect.Type

func (*ActiveReceiptRuleSet) ToActiveReceiptRuleSetOutput

func (i *ActiveReceiptRuleSet) ToActiveReceiptRuleSetOutput() ActiveReceiptRuleSetOutput

func (*ActiveReceiptRuleSet) ToActiveReceiptRuleSetOutputWithContext

func (i *ActiveReceiptRuleSet) ToActiveReceiptRuleSetOutputWithContext(ctx context.Context) ActiveReceiptRuleSetOutput

func (*ActiveReceiptRuleSet) ToActiveReceiptRuleSetPtrOutput

func (i *ActiveReceiptRuleSet) ToActiveReceiptRuleSetPtrOutput() ActiveReceiptRuleSetPtrOutput

func (*ActiveReceiptRuleSet) ToActiveReceiptRuleSetPtrOutputWithContext

func (i *ActiveReceiptRuleSet) ToActiveReceiptRuleSetPtrOutputWithContext(ctx context.Context) ActiveReceiptRuleSetPtrOutput

type ActiveReceiptRuleSetArgs

type ActiveReceiptRuleSetArgs struct {
	// The name of the rule set
	RuleSetName pulumi.StringInput
}

The set of arguments for constructing a ActiveReceiptRuleSet resource.

func (ActiveReceiptRuleSetArgs) ElementType

func (ActiveReceiptRuleSetArgs) ElementType() reflect.Type

type ActiveReceiptRuleSetArray

type ActiveReceiptRuleSetArray []ActiveReceiptRuleSetInput

func (ActiveReceiptRuleSetArray) ElementType

func (ActiveReceiptRuleSetArray) ElementType() reflect.Type

func (ActiveReceiptRuleSetArray) ToActiveReceiptRuleSetArrayOutput

func (i ActiveReceiptRuleSetArray) ToActiveReceiptRuleSetArrayOutput() ActiveReceiptRuleSetArrayOutput

func (ActiveReceiptRuleSetArray) ToActiveReceiptRuleSetArrayOutputWithContext

func (i ActiveReceiptRuleSetArray) ToActiveReceiptRuleSetArrayOutputWithContext(ctx context.Context) ActiveReceiptRuleSetArrayOutput

type ActiveReceiptRuleSetArrayInput

type ActiveReceiptRuleSetArrayInput interface {
	pulumi.Input

	ToActiveReceiptRuleSetArrayOutput() ActiveReceiptRuleSetArrayOutput
	ToActiveReceiptRuleSetArrayOutputWithContext(context.Context) ActiveReceiptRuleSetArrayOutput
}

ActiveReceiptRuleSetArrayInput is an input type that accepts ActiveReceiptRuleSetArray and ActiveReceiptRuleSetArrayOutput values. You can construct a concrete instance of `ActiveReceiptRuleSetArrayInput` via:

ActiveReceiptRuleSetArray{ ActiveReceiptRuleSetArgs{...} }

type ActiveReceiptRuleSetArrayOutput

type ActiveReceiptRuleSetArrayOutput struct{ *pulumi.OutputState }

func (ActiveReceiptRuleSetArrayOutput) ElementType

func (ActiveReceiptRuleSetArrayOutput) Index

func (ActiveReceiptRuleSetArrayOutput) ToActiveReceiptRuleSetArrayOutput

func (o ActiveReceiptRuleSetArrayOutput) ToActiveReceiptRuleSetArrayOutput() ActiveReceiptRuleSetArrayOutput

func (ActiveReceiptRuleSetArrayOutput) ToActiveReceiptRuleSetArrayOutputWithContext

func (o ActiveReceiptRuleSetArrayOutput) ToActiveReceiptRuleSetArrayOutputWithContext(ctx context.Context) ActiveReceiptRuleSetArrayOutput

type ActiveReceiptRuleSetInput

type ActiveReceiptRuleSetInput interface {
	pulumi.Input

	ToActiveReceiptRuleSetOutput() ActiveReceiptRuleSetOutput
	ToActiveReceiptRuleSetOutputWithContext(ctx context.Context) ActiveReceiptRuleSetOutput
}

type ActiveReceiptRuleSetMap

type ActiveReceiptRuleSetMap map[string]ActiveReceiptRuleSetInput

func (ActiveReceiptRuleSetMap) ElementType

func (ActiveReceiptRuleSetMap) ElementType() reflect.Type

func (ActiveReceiptRuleSetMap) ToActiveReceiptRuleSetMapOutput

func (i ActiveReceiptRuleSetMap) ToActiveReceiptRuleSetMapOutput() ActiveReceiptRuleSetMapOutput

func (ActiveReceiptRuleSetMap) ToActiveReceiptRuleSetMapOutputWithContext

func (i ActiveReceiptRuleSetMap) ToActiveReceiptRuleSetMapOutputWithContext(ctx context.Context) ActiveReceiptRuleSetMapOutput

type ActiveReceiptRuleSetMapInput

type ActiveReceiptRuleSetMapInput interface {
	pulumi.Input

	ToActiveReceiptRuleSetMapOutput() ActiveReceiptRuleSetMapOutput
	ToActiveReceiptRuleSetMapOutputWithContext(context.Context) ActiveReceiptRuleSetMapOutput
}

ActiveReceiptRuleSetMapInput is an input type that accepts ActiveReceiptRuleSetMap and ActiveReceiptRuleSetMapOutput values. You can construct a concrete instance of `ActiveReceiptRuleSetMapInput` via:

ActiveReceiptRuleSetMap{ "key": ActiveReceiptRuleSetArgs{...} }

type ActiveReceiptRuleSetMapOutput

type ActiveReceiptRuleSetMapOutput struct{ *pulumi.OutputState }

func (ActiveReceiptRuleSetMapOutput) ElementType

func (ActiveReceiptRuleSetMapOutput) MapIndex

func (ActiveReceiptRuleSetMapOutput) ToActiveReceiptRuleSetMapOutput

func (o ActiveReceiptRuleSetMapOutput) ToActiveReceiptRuleSetMapOutput() ActiveReceiptRuleSetMapOutput

func (ActiveReceiptRuleSetMapOutput) ToActiveReceiptRuleSetMapOutputWithContext

func (o ActiveReceiptRuleSetMapOutput) ToActiveReceiptRuleSetMapOutputWithContext(ctx context.Context) ActiveReceiptRuleSetMapOutput

type ActiveReceiptRuleSetOutput

type ActiveReceiptRuleSetOutput struct{ *pulumi.OutputState }

func (ActiveReceiptRuleSetOutput) ElementType

func (ActiveReceiptRuleSetOutput) ElementType() reflect.Type

func (ActiveReceiptRuleSetOutput) ToActiveReceiptRuleSetOutput

func (o ActiveReceiptRuleSetOutput) ToActiveReceiptRuleSetOutput() ActiveReceiptRuleSetOutput

func (ActiveReceiptRuleSetOutput) ToActiveReceiptRuleSetOutputWithContext

func (o ActiveReceiptRuleSetOutput) ToActiveReceiptRuleSetOutputWithContext(ctx context.Context) ActiveReceiptRuleSetOutput

func (ActiveReceiptRuleSetOutput) ToActiveReceiptRuleSetPtrOutput

func (o ActiveReceiptRuleSetOutput) ToActiveReceiptRuleSetPtrOutput() ActiveReceiptRuleSetPtrOutput

func (ActiveReceiptRuleSetOutput) ToActiveReceiptRuleSetPtrOutputWithContext

func (o ActiveReceiptRuleSetOutput) ToActiveReceiptRuleSetPtrOutputWithContext(ctx context.Context) ActiveReceiptRuleSetPtrOutput

type ActiveReceiptRuleSetPtrInput

type ActiveReceiptRuleSetPtrInput interface {
	pulumi.Input

	ToActiveReceiptRuleSetPtrOutput() ActiveReceiptRuleSetPtrOutput
	ToActiveReceiptRuleSetPtrOutputWithContext(ctx context.Context) ActiveReceiptRuleSetPtrOutput
}

type ActiveReceiptRuleSetPtrOutput

type ActiveReceiptRuleSetPtrOutput struct{ *pulumi.OutputState }

func (ActiveReceiptRuleSetPtrOutput) Elem added in v4.15.0

func (ActiveReceiptRuleSetPtrOutput) ElementType

func (ActiveReceiptRuleSetPtrOutput) ToActiveReceiptRuleSetPtrOutput

func (o ActiveReceiptRuleSetPtrOutput) ToActiveReceiptRuleSetPtrOutput() ActiveReceiptRuleSetPtrOutput

func (ActiveReceiptRuleSetPtrOutput) ToActiveReceiptRuleSetPtrOutputWithContext

func (o ActiveReceiptRuleSetPtrOutput) ToActiveReceiptRuleSetPtrOutputWithContext(ctx context.Context) ActiveReceiptRuleSetPtrOutput

type ActiveReceiptRuleSetState

type ActiveReceiptRuleSetState struct {
	// The SES receipt rule set ARN.
	Arn pulumi.StringPtrInput
	// The name of the rule set
	RuleSetName pulumi.StringPtrInput
}

func (ActiveReceiptRuleSetState) ElementType

func (ActiveReceiptRuleSetState) ElementType() reflect.Type

type ConfgurationSet deprecated

type ConfgurationSet struct {
	pulumi.CustomResourceState

	// SES configuration set ARN.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Configuration block. Detailed below.
	DeliveryOptions ConfgurationSetDeliveryOptionsPtrOutput `pulumi:"deliveryOptions"`
	// The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
	LastFreshStart pulumi.StringOutput `pulumi:"lastFreshStart"`
	// Name of the configuration set.
	Name pulumi.StringOutput `pulumi:"name"`
	// Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is `false`.
	ReputationMetricsEnabled pulumi.BoolPtrOutput `pulumi:"reputationMetricsEnabled"`
	// Whether email sending is enabled or disabled for the configuration set. The default value is `true`.
	SendingEnabled pulumi.BoolPtrOutput `pulumi:"sendingEnabled"`
}

Provides an SES configuration set resource.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ses.NewConfigurationSet(ctx, "test", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Require TLS Connections

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ses.NewConfigurationSet(ctx, "test", &ses.ConfigurationSetArgs{
			DeliveryOptions: &ses.ConfigurationSetDeliveryOptionsArgs{
				TlsPolicy: pulumi.String("Require"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SES Configuration Sets can be imported using their `name`, e.g.

```sh

$ pulumi import aws:ses/confgurationSet:ConfgurationSet test some-configuration-set-test

```

Deprecated: aws.ses.ConfgurationSet has been deprecated in favor of aws.ses.ConfigurationSet

func GetConfgurationSet

func GetConfgurationSet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfgurationSetState, opts ...pulumi.ResourceOption) (*ConfgurationSet, error)

GetConfgurationSet gets an existing ConfgurationSet 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 NewConfgurationSet

func NewConfgurationSet(ctx *pulumi.Context,
	name string, args *ConfgurationSetArgs, opts ...pulumi.ResourceOption) (*ConfgurationSet, error)

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

func (*ConfgurationSet) ElementType

func (*ConfgurationSet) ElementType() reflect.Type

func (*ConfgurationSet) ToConfgurationSetOutput

func (i *ConfgurationSet) ToConfgurationSetOutput() ConfgurationSetOutput

func (*ConfgurationSet) ToConfgurationSetOutputWithContext

func (i *ConfgurationSet) ToConfgurationSetOutputWithContext(ctx context.Context) ConfgurationSetOutput

func (*ConfgurationSet) ToConfgurationSetPtrOutput

func (i *ConfgurationSet) ToConfgurationSetPtrOutput() ConfgurationSetPtrOutput

func (*ConfgurationSet) ToConfgurationSetPtrOutputWithContext

func (i *ConfgurationSet) ToConfgurationSetPtrOutputWithContext(ctx context.Context) ConfgurationSetPtrOutput

type ConfgurationSetArgs

type ConfgurationSetArgs struct {
	// Configuration block. Detailed below.
	DeliveryOptions ConfgurationSetDeliveryOptionsPtrInput
	// Name of the configuration set.
	Name pulumi.StringPtrInput
	// Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is `false`.
	ReputationMetricsEnabled pulumi.BoolPtrInput
	// Whether email sending is enabled or disabled for the configuration set. The default value is `true`.
	SendingEnabled pulumi.BoolPtrInput
}

The set of arguments for constructing a ConfgurationSet resource.

func (ConfgurationSetArgs) ElementType

func (ConfgurationSetArgs) ElementType() reflect.Type

type ConfgurationSetArray

type ConfgurationSetArray []ConfgurationSetInput

func (ConfgurationSetArray) ElementType

func (ConfgurationSetArray) ElementType() reflect.Type

func (ConfgurationSetArray) ToConfgurationSetArrayOutput

func (i ConfgurationSetArray) ToConfgurationSetArrayOutput() ConfgurationSetArrayOutput

func (ConfgurationSetArray) ToConfgurationSetArrayOutputWithContext

func (i ConfgurationSetArray) ToConfgurationSetArrayOutputWithContext(ctx context.Context) ConfgurationSetArrayOutput

type ConfgurationSetArrayInput

type ConfgurationSetArrayInput interface {
	pulumi.Input

	ToConfgurationSetArrayOutput() ConfgurationSetArrayOutput
	ToConfgurationSetArrayOutputWithContext(context.Context) ConfgurationSetArrayOutput
}

ConfgurationSetArrayInput is an input type that accepts ConfgurationSetArray and ConfgurationSetArrayOutput values. You can construct a concrete instance of `ConfgurationSetArrayInput` via:

ConfgurationSetArray{ ConfgurationSetArgs{...} }

type ConfgurationSetArrayOutput

type ConfgurationSetArrayOutput struct{ *pulumi.OutputState }

func (ConfgurationSetArrayOutput) ElementType

func (ConfgurationSetArrayOutput) ElementType() reflect.Type

func (ConfgurationSetArrayOutput) Index

func (ConfgurationSetArrayOutput) ToConfgurationSetArrayOutput

func (o ConfgurationSetArrayOutput) ToConfgurationSetArrayOutput() ConfgurationSetArrayOutput

func (ConfgurationSetArrayOutput) ToConfgurationSetArrayOutputWithContext

func (o ConfgurationSetArrayOutput) ToConfgurationSetArrayOutputWithContext(ctx context.Context) ConfgurationSetArrayOutput

type ConfgurationSetDeliveryOptions

type ConfgurationSetDeliveryOptions struct {
	// Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is `Require`, messages are only delivered if a TLS connection can be established. If the value is `Optional`, messages can be delivered in plain text if a TLS connection can't be established. Valid values: `Require` or `Optional`. Defaults to `Optional`.
	TlsPolicy *string `pulumi:"tlsPolicy"`
}

type ConfgurationSetDeliveryOptionsArgs

type ConfgurationSetDeliveryOptionsArgs struct {
	// Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is `Require`, messages are only delivered if a TLS connection can be established. If the value is `Optional`, messages can be delivered in plain text if a TLS connection can't be established. Valid values: `Require` or `Optional`. Defaults to `Optional`.
	TlsPolicy pulumi.StringPtrInput `pulumi:"tlsPolicy"`
}

func (ConfgurationSetDeliveryOptionsArgs) ElementType

func (ConfgurationSetDeliveryOptionsArgs) ToConfgurationSetDeliveryOptionsOutput

func (i ConfgurationSetDeliveryOptionsArgs) ToConfgurationSetDeliveryOptionsOutput() ConfgurationSetDeliveryOptionsOutput

func (ConfgurationSetDeliveryOptionsArgs) ToConfgurationSetDeliveryOptionsOutputWithContext

func (i ConfgurationSetDeliveryOptionsArgs) ToConfgurationSetDeliveryOptionsOutputWithContext(ctx context.Context) ConfgurationSetDeliveryOptionsOutput

func (ConfgurationSetDeliveryOptionsArgs) ToConfgurationSetDeliveryOptionsPtrOutput

func (i ConfgurationSetDeliveryOptionsArgs) ToConfgurationSetDeliveryOptionsPtrOutput() ConfgurationSetDeliveryOptionsPtrOutput

func (ConfgurationSetDeliveryOptionsArgs) ToConfgurationSetDeliveryOptionsPtrOutputWithContext

func (i ConfgurationSetDeliveryOptionsArgs) ToConfgurationSetDeliveryOptionsPtrOutputWithContext(ctx context.Context) ConfgurationSetDeliveryOptionsPtrOutput

type ConfgurationSetDeliveryOptionsInput

type ConfgurationSetDeliveryOptionsInput interface {
	pulumi.Input

	ToConfgurationSetDeliveryOptionsOutput() ConfgurationSetDeliveryOptionsOutput
	ToConfgurationSetDeliveryOptionsOutputWithContext(context.Context) ConfgurationSetDeliveryOptionsOutput
}

ConfgurationSetDeliveryOptionsInput is an input type that accepts ConfgurationSetDeliveryOptionsArgs and ConfgurationSetDeliveryOptionsOutput values. You can construct a concrete instance of `ConfgurationSetDeliveryOptionsInput` via:

ConfgurationSetDeliveryOptionsArgs{...}

type ConfgurationSetDeliveryOptionsOutput

type ConfgurationSetDeliveryOptionsOutput struct{ *pulumi.OutputState }

func (ConfgurationSetDeliveryOptionsOutput) ElementType

func (ConfgurationSetDeliveryOptionsOutput) TlsPolicy

Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is `Require`, messages are only delivered if a TLS connection can be established. If the value is `Optional`, messages can be delivered in plain text if a TLS connection can't be established. Valid values: `Require` or `Optional`. Defaults to `Optional`.

func (ConfgurationSetDeliveryOptionsOutput) ToConfgurationSetDeliveryOptionsOutput

func (o ConfgurationSetDeliveryOptionsOutput) ToConfgurationSetDeliveryOptionsOutput() ConfgurationSetDeliveryOptionsOutput

func (ConfgurationSetDeliveryOptionsOutput) ToConfgurationSetDeliveryOptionsOutputWithContext

func (o ConfgurationSetDeliveryOptionsOutput) ToConfgurationSetDeliveryOptionsOutputWithContext(ctx context.Context) ConfgurationSetDeliveryOptionsOutput

func (ConfgurationSetDeliveryOptionsOutput) ToConfgurationSetDeliveryOptionsPtrOutput

func (o ConfgurationSetDeliveryOptionsOutput) ToConfgurationSetDeliveryOptionsPtrOutput() ConfgurationSetDeliveryOptionsPtrOutput

func (ConfgurationSetDeliveryOptionsOutput) ToConfgurationSetDeliveryOptionsPtrOutputWithContext

func (o ConfgurationSetDeliveryOptionsOutput) ToConfgurationSetDeliveryOptionsPtrOutputWithContext(ctx context.Context) ConfgurationSetDeliveryOptionsPtrOutput

type ConfgurationSetDeliveryOptionsPtrInput

type ConfgurationSetDeliveryOptionsPtrInput interface {
	pulumi.Input

	ToConfgurationSetDeliveryOptionsPtrOutput() ConfgurationSetDeliveryOptionsPtrOutput
	ToConfgurationSetDeliveryOptionsPtrOutputWithContext(context.Context) ConfgurationSetDeliveryOptionsPtrOutput
}

ConfgurationSetDeliveryOptionsPtrInput is an input type that accepts ConfgurationSetDeliveryOptionsArgs, ConfgurationSetDeliveryOptionsPtr and ConfgurationSetDeliveryOptionsPtrOutput values. You can construct a concrete instance of `ConfgurationSetDeliveryOptionsPtrInput` via:

        ConfgurationSetDeliveryOptionsArgs{...}

or:

        nil

type ConfgurationSetDeliveryOptionsPtrOutput

type ConfgurationSetDeliveryOptionsPtrOutput struct{ *pulumi.OutputState }

func (ConfgurationSetDeliveryOptionsPtrOutput) Elem

func (ConfgurationSetDeliveryOptionsPtrOutput) ElementType

func (ConfgurationSetDeliveryOptionsPtrOutput) TlsPolicy

Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is `Require`, messages are only delivered if a TLS connection can be established. If the value is `Optional`, messages can be delivered in plain text if a TLS connection can't be established. Valid values: `Require` or `Optional`. Defaults to `Optional`.

func (ConfgurationSetDeliveryOptionsPtrOutput) ToConfgurationSetDeliveryOptionsPtrOutput

func (o ConfgurationSetDeliveryOptionsPtrOutput) ToConfgurationSetDeliveryOptionsPtrOutput() ConfgurationSetDeliveryOptionsPtrOutput

func (ConfgurationSetDeliveryOptionsPtrOutput) ToConfgurationSetDeliveryOptionsPtrOutputWithContext

func (o ConfgurationSetDeliveryOptionsPtrOutput) ToConfgurationSetDeliveryOptionsPtrOutputWithContext(ctx context.Context) ConfgurationSetDeliveryOptionsPtrOutput

type ConfgurationSetInput

type ConfgurationSetInput interface {
	pulumi.Input

	ToConfgurationSetOutput() ConfgurationSetOutput
	ToConfgurationSetOutputWithContext(ctx context.Context) ConfgurationSetOutput
}

type ConfgurationSetMap

type ConfgurationSetMap map[string]ConfgurationSetInput

func (ConfgurationSetMap) ElementType

func (ConfgurationSetMap) ElementType() reflect.Type

func (ConfgurationSetMap) ToConfgurationSetMapOutput

func (i ConfgurationSetMap) ToConfgurationSetMapOutput() ConfgurationSetMapOutput

func (ConfgurationSetMap) ToConfgurationSetMapOutputWithContext

func (i ConfgurationSetMap) ToConfgurationSetMapOutputWithContext(ctx context.Context) ConfgurationSetMapOutput

type ConfgurationSetMapInput

type ConfgurationSetMapInput interface {
	pulumi.Input

	ToConfgurationSetMapOutput() ConfgurationSetMapOutput
	ToConfgurationSetMapOutputWithContext(context.Context) ConfgurationSetMapOutput
}

ConfgurationSetMapInput is an input type that accepts ConfgurationSetMap and ConfgurationSetMapOutput values. You can construct a concrete instance of `ConfgurationSetMapInput` via:

ConfgurationSetMap{ "key": ConfgurationSetArgs{...} }

type ConfgurationSetMapOutput

type ConfgurationSetMapOutput struct{ *pulumi.OutputState }

func (ConfgurationSetMapOutput) ElementType

func (ConfgurationSetMapOutput) ElementType() reflect.Type

func (ConfgurationSetMapOutput) MapIndex

func (ConfgurationSetMapOutput) ToConfgurationSetMapOutput

func (o ConfgurationSetMapOutput) ToConfgurationSetMapOutput() ConfgurationSetMapOutput

func (ConfgurationSetMapOutput) ToConfgurationSetMapOutputWithContext

func (o ConfgurationSetMapOutput) ToConfgurationSetMapOutputWithContext(ctx context.Context) ConfgurationSetMapOutput

type ConfgurationSetOutput

type ConfgurationSetOutput struct{ *pulumi.OutputState }

func (ConfgurationSetOutput) ElementType

func (ConfgurationSetOutput) ElementType() reflect.Type

func (ConfgurationSetOutput) ToConfgurationSetOutput

func (o ConfgurationSetOutput) ToConfgurationSetOutput() ConfgurationSetOutput

func (ConfgurationSetOutput) ToConfgurationSetOutputWithContext

func (o ConfgurationSetOutput) ToConfgurationSetOutputWithContext(ctx context.Context) ConfgurationSetOutput

func (ConfgurationSetOutput) ToConfgurationSetPtrOutput

func (o ConfgurationSetOutput) ToConfgurationSetPtrOutput() ConfgurationSetPtrOutput

func (ConfgurationSetOutput) ToConfgurationSetPtrOutputWithContext

func (o ConfgurationSetOutput) ToConfgurationSetPtrOutputWithContext(ctx context.Context) ConfgurationSetPtrOutput

type ConfgurationSetPtrInput

type ConfgurationSetPtrInput interface {
	pulumi.Input

	ToConfgurationSetPtrOutput() ConfgurationSetPtrOutput
	ToConfgurationSetPtrOutputWithContext(ctx context.Context) ConfgurationSetPtrOutput
}

type ConfgurationSetPtrOutput

type ConfgurationSetPtrOutput struct{ *pulumi.OutputState }

func (ConfgurationSetPtrOutput) Elem added in v4.15.0

func (ConfgurationSetPtrOutput) ElementType

func (ConfgurationSetPtrOutput) ElementType() reflect.Type

func (ConfgurationSetPtrOutput) ToConfgurationSetPtrOutput

func (o ConfgurationSetPtrOutput) ToConfgurationSetPtrOutput() ConfgurationSetPtrOutput

func (ConfgurationSetPtrOutput) ToConfgurationSetPtrOutputWithContext

func (o ConfgurationSetPtrOutput) ToConfgurationSetPtrOutputWithContext(ctx context.Context) ConfgurationSetPtrOutput

type ConfgurationSetState

type ConfgurationSetState struct {
	// SES configuration set ARN.
	Arn pulumi.StringPtrInput
	// Configuration block. Detailed below.
	DeliveryOptions ConfgurationSetDeliveryOptionsPtrInput
	// The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
	LastFreshStart pulumi.StringPtrInput
	// Name of the configuration set.
	Name pulumi.StringPtrInput
	// Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is `false`.
	ReputationMetricsEnabled pulumi.BoolPtrInput
	// Whether email sending is enabled or disabled for the configuration set. The default value is `true`.
	SendingEnabled pulumi.BoolPtrInput
}

func (ConfgurationSetState) ElementType

func (ConfgurationSetState) ElementType() reflect.Type

type ConfigurationSet

type ConfigurationSet struct {
	pulumi.CustomResourceState

	// SES configuration set ARN.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Configuration block. Detailed below.
	DeliveryOptions ConfigurationSetDeliveryOptionsPtrOutput `pulumi:"deliveryOptions"`
	// The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
	LastFreshStart pulumi.StringOutput `pulumi:"lastFreshStart"`
	// Name of the configuration set.
	Name pulumi.StringOutput `pulumi:"name"`
	// Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is `false`.
	ReputationMetricsEnabled pulumi.BoolPtrOutput `pulumi:"reputationMetricsEnabled"`
	// Whether email sending is enabled or disabled for the configuration set. The default value is `true`.
	SendingEnabled pulumi.BoolPtrOutput `pulumi:"sendingEnabled"`
}

Provides an SES configuration set resource.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ses.NewConfigurationSet(ctx, "test", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Require TLS Connections

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ses.NewConfigurationSet(ctx, "test", &ses.ConfigurationSetArgs{
			DeliveryOptions: &ses.ConfigurationSetDeliveryOptionsArgs{
				TlsPolicy: pulumi.String("Require"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SES Configuration Sets can be imported using their `name`, e.g.

```sh

$ pulumi import aws:ses/configurationSet:ConfigurationSet test some-configuration-set-test

```

func GetConfigurationSet

func GetConfigurationSet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigurationSetState, opts ...pulumi.ResourceOption) (*ConfigurationSet, error)

GetConfigurationSet gets an existing ConfigurationSet 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 NewConfigurationSet

func NewConfigurationSet(ctx *pulumi.Context,
	name string, args *ConfigurationSetArgs, opts ...pulumi.ResourceOption) (*ConfigurationSet, error)

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

func (*ConfigurationSet) ElementType

func (*ConfigurationSet) ElementType() reflect.Type

func (*ConfigurationSet) ToConfigurationSetOutput

func (i *ConfigurationSet) ToConfigurationSetOutput() ConfigurationSetOutput

func (*ConfigurationSet) ToConfigurationSetOutputWithContext

func (i *ConfigurationSet) ToConfigurationSetOutputWithContext(ctx context.Context) ConfigurationSetOutput

func (*ConfigurationSet) ToConfigurationSetPtrOutput

func (i *ConfigurationSet) ToConfigurationSetPtrOutput() ConfigurationSetPtrOutput

func (*ConfigurationSet) ToConfigurationSetPtrOutputWithContext

func (i *ConfigurationSet) ToConfigurationSetPtrOutputWithContext(ctx context.Context) ConfigurationSetPtrOutput

type ConfigurationSetArgs

type ConfigurationSetArgs struct {
	// Configuration block. Detailed below.
	DeliveryOptions ConfigurationSetDeliveryOptionsPtrInput
	// Name of the configuration set.
	Name pulumi.StringPtrInput
	// Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is `false`.
	ReputationMetricsEnabled pulumi.BoolPtrInput
	// Whether email sending is enabled or disabled for the configuration set. The default value is `true`.
	SendingEnabled pulumi.BoolPtrInput
}

The set of arguments for constructing a ConfigurationSet resource.

func (ConfigurationSetArgs) ElementType

func (ConfigurationSetArgs) ElementType() reflect.Type

type ConfigurationSetArray

type ConfigurationSetArray []ConfigurationSetInput

func (ConfigurationSetArray) ElementType

func (ConfigurationSetArray) ElementType() reflect.Type

func (ConfigurationSetArray) ToConfigurationSetArrayOutput

func (i ConfigurationSetArray) ToConfigurationSetArrayOutput() ConfigurationSetArrayOutput

func (ConfigurationSetArray) ToConfigurationSetArrayOutputWithContext

func (i ConfigurationSetArray) ToConfigurationSetArrayOutputWithContext(ctx context.Context) ConfigurationSetArrayOutput

type ConfigurationSetArrayInput

type ConfigurationSetArrayInput interface {
	pulumi.Input

	ToConfigurationSetArrayOutput() ConfigurationSetArrayOutput
	ToConfigurationSetArrayOutputWithContext(context.Context) ConfigurationSetArrayOutput
}

ConfigurationSetArrayInput is an input type that accepts ConfigurationSetArray and ConfigurationSetArrayOutput values. You can construct a concrete instance of `ConfigurationSetArrayInput` via:

ConfigurationSetArray{ ConfigurationSetArgs{...} }

type ConfigurationSetArrayOutput

type ConfigurationSetArrayOutput struct{ *pulumi.OutputState }

func (ConfigurationSetArrayOutput) ElementType

func (ConfigurationSetArrayOutput) Index

func (ConfigurationSetArrayOutput) ToConfigurationSetArrayOutput

func (o ConfigurationSetArrayOutput) ToConfigurationSetArrayOutput() ConfigurationSetArrayOutput

func (ConfigurationSetArrayOutput) ToConfigurationSetArrayOutputWithContext

func (o ConfigurationSetArrayOutput) ToConfigurationSetArrayOutputWithContext(ctx context.Context) ConfigurationSetArrayOutput

type ConfigurationSetDeliveryOptions

type ConfigurationSetDeliveryOptions struct {
	// Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is `Require`, messages are only delivered if a TLS connection can be established. If the value is `Optional`, messages can be delivered in plain text if a TLS connection can't be established. Valid values: `Require` or `Optional`. Defaults to `Optional`.
	TlsPolicy *string `pulumi:"tlsPolicy"`
}

type ConfigurationSetDeliveryOptionsArgs

type ConfigurationSetDeliveryOptionsArgs struct {
	// Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is `Require`, messages are only delivered if a TLS connection can be established. If the value is `Optional`, messages can be delivered in plain text if a TLS connection can't be established. Valid values: `Require` or `Optional`. Defaults to `Optional`.
	TlsPolicy pulumi.StringPtrInput `pulumi:"tlsPolicy"`
}

func (ConfigurationSetDeliveryOptionsArgs) ElementType

func (ConfigurationSetDeliveryOptionsArgs) ToConfigurationSetDeliveryOptionsOutput

func (i ConfigurationSetDeliveryOptionsArgs) ToConfigurationSetDeliveryOptionsOutput() ConfigurationSetDeliveryOptionsOutput

func (ConfigurationSetDeliveryOptionsArgs) ToConfigurationSetDeliveryOptionsOutputWithContext

func (i ConfigurationSetDeliveryOptionsArgs) ToConfigurationSetDeliveryOptionsOutputWithContext(ctx context.Context) ConfigurationSetDeliveryOptionsOutput

func (ConfigurationSetDeliveryOptionsArgs) ToConfigurationSetDeliveryOptionsPtrOutput

func (i ConfigurationSetDeliveryOptionsArgs) ToConfigurationSetDeliveryOptionsPtrOutput() ConfigurationSetDeliveryOptionsPtrOutput

func (ConfigurationSetDeliveryOptionsArgs) ToConfigurationSetDeliveryOptionsPtrOutputWithContext

func (i ConfigurationSetDeliveryOptionsArgs) ToConfigurationSetDeliveryOptionsPtrOutputWithContext(ctx context.Context) ConfigurationSetDeliveryOptionsPtrOutput

type ConfigurationSetDeliveryOptionsInput

type ConfigurationSetDeliveryOptionsInput interface {
	pulumi.Input

	ToConfigurationSetDeliveryOptionsOutput() ConfigurationSetDeliveryOptionsOutput
	ToConfigurationSetDeliveryOptionsOutputWithContext(context.Context) ConfigurationSetDeliveryOptionsOutput
}

ConfigurationSetDeliveryOptionsInput is an input type that accepts ConfigurationSetDeliveryOptionsArgs and ConfigurationSetDeliveryOptionsOutput values. You can construct a concrete instance of `ConfigurationSetDeliveryOptionsInput` via:

ConfigurationSetDeliveryOptionsArgs{...}

type ConfigurationSetDeliveryOptionsOutput

type ConfigurationSetDeliveryOptionsOutput struct{ *pulumi.OutputState }

func (ConfigurationSetDeliveryOptionsOutput) ElementType

func (ConfigurationSetDeliveryOptionsOutput) TlsPolicy

Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is `Require`, messages are only delivered if a TLS connection can be established. If the value is `Optional`, messages can be delivered in plain text if a TLS connection can't be established. Valid values: `Require` or `Optional`. Defaults to `Optional`.

func (ConfigurationSetDeliveryOptionsOutput) ToConfigurationSetDeliveryOptionsOutput

func (o ConfigurationSetDeliveryOptionsOutput) ToConfigurationSetDeliveryOptionsOutput() ConfigurationSetDeliveryOptionsOutput

func (ConfigurationSetDeliveryOptionsOutput) ToConfigurationSetDeliveryOptionsOutputWithContext

func (o ConfigurationSetDeliveryOptionsOutput) ToConfigurationSetDeliveryOptionsOutputWithContext(ctx context.Context) ConfigurationSetDeliveryOptionsOutput

func (ConfigurationSetDeliveryOptionsOutput) ToConfigurationSetDeliveryOptionsPtrOutput

func (o ConfigurationSetDeliveryOptionsOutput) ToConfigurationSetDeliveryOptionsPtrOutput() ConfigurationSetDeliveryOptionsPtrOutput

func (ConfigurationSetDeliveryOptionsOutput) ToConfigurationSetDeliveryOptionsPtrOutputWithContext

func (o ConfigurationSetDeliveryOptionsOutput) ToConfigurationSetDeliveryOptionsPtrOutputWithContext(ctx context.Context) ConfigurationSetDeliveryOptionsPtrOutput

type ConfigurationSetDeliveryOptionsPtrInput

type ConfigurationSetDeliveryOptionsPtrInput interface {
	pulumi.Input

	ToConfigurationSetDeliveryOptionsPtrOutput() ConfigurationSetDeliveryOptionsPtrOutput
	ToConfigurationSetDeliveryOptionsPtrOutputWithContext(context.Context) ConfigurationSetDeliveryOptionsPtrOutput
}

ConfigurationSetDeliveryOptionsPtrInput is an input type that accepts ConfigurationSetDeliveryOptionsArgs, ConfigurationSetDeliveryOptionsPtr and ConfigurationSetDeliveryOptionsPtrOutput values. You can construct a concrete instance of `ConfigurationSetDeliveryOptionsPtrInput` via:

        ConfigurationSetDeliveryOptionsArgs{...}

or:

        nil

type ConfigurationSetDeliveryOptionsPtrOutput

type ConfigurationSetDeliveryOptionsPtrOutput struct{ *pulumi.OutputState }

func (ConfigurationSetDeliveryOptionsPtrOutput) Elem

func (ConfigurationSetDeliveryOptionsPtrOutput) ElementType

func (ConfigurationSetDeliveryOptionsPtrOutput) TlsPolicy

Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is `Require`, messages are only delivered if a TLS connection can be established. If the value is `Optional`, messages can be delivered in plain text if a TLS connection can't be established. Valid values: `Require` or `Optional`. Defaults to `Optional`.

func (ConfigurationSetDeliveryOptionsPtrOutput) ToConfigurationSetDeliveryOptionsPtrOutput

func (o ConfigurationSetDeliveryOptionsPtrOutput) ToConfigurationSetDeliveryOptionsPtrOutput() ConfigurationSetDeliveryOptionsPtrOutput

func (ConfigurationSetDeliveryOptionsPtrOutput) ToConfigurationSetDeliveryOptionsPtrOutputWithContext

func (o ConfigurationSetDeliveryOptionsPtrOutput) ToConfigurationSetDeliveryOptionsPtrOutputWithContext(ctx context.Context) ConfigurationSetDeliveryOptionsPtrOutput

type ConfigurationSetInput

type ConfigurationSetInput interface {
	pulumi.Input

	ToConfigurationSetOutput() ConfigurationSetOutput
	ToConfigurationSetOutputWithContext(ctx context.Context) ConfigurationSetOutput
}

type ConfigurationSetMap

type ConfigurationSetMap map[string]ConfigurationSetInput

func (ConfigurationSetMap) ElementType

func (ConfigurationSetMap) ElementType() reflect.Type

func (ConfigurationSetMap) ToConfigurationSetMapOutput

func (i ConfigurationSetMap) ToConfigurationSetMapOutput() ConfigurationSetMapOutput

func (ConfigurationSetMap) ToConfigurationSetMapOutputWithContext

func (i ConfigurationSetMap) ToConfigurationSetMapOutputWithContext(ctx context.Context) ConfigurationSetMapOutput

type ConfigurationSetMapInput

type ConfigurationSetMapInput interface {
	pulumi.Input

	ToConfigurationSetMapOutput() ConfigurationSetMapOutput
	ToConfigurationSetMapOutputWithContext(context.Context) ConfigurationSetMapOutput
}

ConfigurationSetMapInput is an input type that accepts ConfigurationSetMap and ConfigurationSetMapOutput values. You can construct a concrete instance of `ConfigurationSetMapInput` via:

ConfigurationSetMap{ "key": ConfigurationSetArgs{...} }

type ConfigurationSetMapOutput

type ConfigurationSetMapOutput struct{ *pulumi.OutputState }

func (ConfigurationSetMapOutput) ElementType

func (ConfigurationSetMapOutput) ElementType() reflect.Type

func (ConfigurationSetMapOutput) MapIndex

func (ConfigurationSetMapOutput) ToConfigurationSetMapOutput

func (o ConfigurationSetMapOutput) ToConfigurationSetMapOutput() ConfigurationSetMapOutput

func (ConfigurationSetMapOutput) ToConfigurationSetMapOutputWithContext

func (o ConfigurationSetMapOutput) ToConfigurationSetMapOutputWithContext(ctx context.Context) ConfigurationSetMapOutput

type ConfigurationSetOutput

type ConfigurationSetOutput struct{ *pulumi.OutputState }

func (ConfigurationSetOutput) ElementType

func (ConfigurationSetOutput) ElementType() reflect.Type

func (ConfigurationSetOutput) ToConfigurationSetOutput

func (o ConfigurationSetOutput) ToConfigurationSetOutput() ConfigurationSetOutput

func (ConfigurationSetOutput) ToConfigurationSetOutputWithContext

func (o ConfigurationSetOutput) ToConfigurationSetOutputWithContext(ctx context.Context) ConfigurationSetOutput

func (ConfigurationSetOutput) ToConfigurationSetPtrOutput

func (o ConfigurationSetOutput) ToConfigurationSetPtrOutput() ConfigurationSetPtrOutput

func (ConfigurationSetOutput) ToConfigurationSetPtrOutputWithContext

func (o ConfigurationSetOutput) ToConfigurationSetPtrOutputWithContext(ctx context.Context) ConfigurationSetPtrOutput

type ConfigurationSetPtrInput

type ConfigurationSetPtrInput interface {
	pulumi.Input

	ToConfigurationSetPtrOutput() ConfigurationSetPtrOutput
	ToConfigurationSetPtrOutputWithContext(ctx context.Context) ConfigurationSetPtrOutput
}

type ConfigurationSetPtrOutput

type ConfigurationSetPtrOutput struct{ *pulumi.OutputState }

func (ConfigurationSetPtrOutput) Elem added in v4.15.0

func (ConfigurationSetPtrOutput) ElementType

func (ConfigurationSetPtrOutput) ElementType() reflect.Type

func (ConfigurationSetPtrOutput) ToConfigurationSetPtrOutput

func (o ConfigurationSetPtrOutput) ToConfigurationSetPtrOutput() ConfigurationSetPtrOutput

func (ConfigurationSetPtrOutput) ToConfigurationSetPtrOutputWithContext

func (o ConfigurationSetPtrOutput) ToConfigurationSetPtrOutputWithContext(ctx context.Context) ConfigurationSetPtrOutput

type ConfigurationSetState

type ConfigurationSetState struct {
	// SES configuration set ARN.
	Arn pulumi.StringPtrInput
	// Configuration block. Detailed below.
	DeliveryOptions ConfigurationSetDeliveryOptionsPtrInput
	// The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
	LastFreshStart pulumi.StringPtrInput
	// Name of the configuration set.
	Name pulumi.StringPtrInput
	// Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is `false`.
	ReputationMetricsEnabled pulumi.BoolPtrInput
	// Whether email sending is enabled or disabled for the configuration set. The default value is `true`.
	SendingEnabled pulumi.BoolPtrInput
}

func (ConfigurationSetState) ElementType

func (ConfigurationSetState) ElementType() reflect.Type

type DomainDkim

type DomainDkim struct {
	pulumi.CustomResourceState

	// DKIM tokens generated by SES.
	// These tokens should be used to create CNAME records used to verify SES Easy DKIM.
	// See below for an example of how this might be achieved
	// when the domain is hosted in Route 53 and managed by this provider.
	// Find out more about verifying domains in Amazon SES
	// in the [AWS SES docs](http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html).
	DkimTokens pulumi.StringArrayOutput `pulumi:"dkimTokens"`
	// Verified domain name to generate DKIM tokens for.
	Domain pulumi.StringOutput `pulumi:"domain"`
}

Provides an SES domain DKIM generation resource.

Domain ownership needs to be confirmed first using `ses.DomainIdentity` resource.

## Import

DKIM tokens can be imported using the `domain` attribute, e.g.

```sh

$ pulumi import aws:ses/domainDkim:DomainDkim example example.com

```

func GetDomainDkim

func GetDomainDkim(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DomainDkimState, opts ...pulumi.ResourceOption) (*DomainDkim, error)

GetDomainDkim gets an existing DomainDkim 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 NewDomainDkim

func NewDomainDkim(ctx *pulumi.Context,
	name string, args *DomainDkimArgs, opts ...pulumi.ResourceOption) (*DomainDkim, error)

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

func (*DomainDkim) ElementType

func (*DomainDkim) ElementType() reflect.Type

func (*DomainDkim) ToDomainDkimOutput

func (i *DomainDkim) ToDomainDkimOutput() DomainDkimOutput

func (*DomainDkim) ToDomainDkimOutputWithContext

func (i *DomainDkim) ToDomainDkimOutputWithContext(ctx context.Context) DomainDkimOutput

func (*DomainDkim) ToDomainDkimPtrOutput

func (i *DomainDkim) ToDomainDkimPtrOutput() DomainDkimPtrOutput

func (*DomainDkim) ToDomainDkimPtrOutputWithContext

func (i *DomainDkim) ToDomainDkimPtrOutputWithContext(ctx context.Context) DomainDkimPtrOutput

type DomainDkimArgs

type DomainDkimArgs struct {
	// Verified domain name to generate DKIM tokens for.
	Domain pulumi.StringInput
}

The set of arguments for constructing a DomainDkim resource.

func (DomainDkimArgs) ElementType

func (DomainDkimArgs) ElementType() reflect.Type

type DomainDkimArray

type DomainDkimArray []DomainDkimInput

func (DomainDkimArray) ElementType

func (DomainDkimArray) ElementType() reflect.Type

func (DomainDkimArray) ToDomainDkimArrayOutput

func (i DomainDkimArray) ToDomainDkimArrayOutput() DomainDkimArrayOutput

func (DomainDkimArray) ToDomainDkimArrayOutputWithContext

func (i DomainDkimArray) ToDomainDkimArrayOutputWithContext(ctx context.Context) DomainDkimArrayOutput

type DomainDkimArrayInput

type DomainDkimArrayInput interface {
	pulumi.Input

	ToDomainDkimArrayOutput() DomainDkimArrayOutput
	ToDomainDkimArrayOutputWithContext(context.Context) DomainDkimArrayOutput
}

DomainDkimArrayInput is an input type that accepts DomainDkimArray and DomainDkimArrayOutput values. You can construct a concrete instance of `DomainDkimArrayInput` via:

DomainDkimArray{ DomainDkimArgs{...} }

type DomainDkimArrayOutput

type DomainDkimArrayOutput struct{ *pulumi.OutputState }

func (DomainDkimArrayOutput) ElementType

func (DomainDkimArrayOutput) ElementType() reflect.Type

func (DomainDkimArrayOutput) Index

func (DomainDkimArrayOutput) ToDomainDkimArrayOutput

func (o DomainDkimArrayOutput) ToDomainDkimArrayOutput() DomainDkimArrayOutput

func (DomainDkimArrayOutput) ToDomainDkimArrayOutputWithContext

func (o DomainDkimArrayOutput) ToDomainDkimArrayOutputWithContext(ctx context.Context) DomainDkimArrayOutput

type DomainDkimInput

type DomainDkimInput interface {
	pulumi.Input

	ToDomainDkimOutput() DomainDkimOutput
	ToDomainDkimOutputWithContext(ctx context.Context) DomainDkimOutput
}

type DomainDkimMap

type DomainDkimMap map[string]DomainDkimInput

func (DomainDkimMap) ElementType

func (DomainDkimMap) ElementType() reflect.Type

func (DomainDkimMap) ToDomainDkimMapOutput

func (i DomainDkimMap) ToDomainDkimMapOutput() DomainDkimMapOutput

func (DomainDkimMap) ToDomainDkimMapOutputWithContext

func (i DomainDkimMap) ToDomainDkimMapOutputWithContext(ctx context.Context) DomainDkimMapOutput

type DomainDkimMapInput

type DomainDkimMapInput interface {
	pulumi.Input

	ToDomainDkimMapOutput() DomainDkimMapOutput
	ToDomainDkimMapOutputWithContext(context.Context) DomainDkimMapOutput
}

DomainDkimMapInput is an input type that accepts DomainDkimMap and DomainDkimMapOutput values. You can construct a concrete instance of `DomainDkimMapInput` via:

DomainDkimMap{ "key": DomainDkimArgs{...} }

type DomainDkimMapOutput

type DomainDkimMapOutput struct{ *pulumi.OutputState }

func (DomainDkimMapOutput) ElementType

func (DomainDkimMapOutput) ElementType() reflect.Type

func (DomainDkimMapOutput) MapIndex

func (DomainDkimMapOutput) ToDomainDkimMapOutput

func (o DomainDkimMapOutput) ToDomainDkimMapOutput() DomainDkimMapOutput

func (DomainDkimMapOutput) ToDomainDkimMapOutputWithContext

func (o DomainDkimMapOutput) ToDomainDkimMapOutputWithContext(ctx context.Context) DomainDkimMapOutput

type DomainDkimOutput

type DomainDkimOutput struct{ *pulumi.OutputState }

func (DomainDkimOutput) ElementType

func (DomainDkimOutput) ElementType() reflect.Type

func (DomainDkimOutput) ToDomainDkimOutput

func (o DomainDkimOutput) ToDomainDkimOutput() DomainDkimOutput

func (DomainDkimOutput) ToDomainDkimOutputWithContext

func (o DomainDkimOutput) ToDomainDkimOutputWithContext(ctx context.Context) DomainDkimOutput

func (DomainDkimOutput) ToDomainDkimPtrOutput

func (o DomainDkimOutput) ToDomainDkimPtrOutput() DomainDkimPtrOutput

func (DomainDkimOutput) ToDomainDkimPtrOutputWithContext

func (o DomainDkimOutput) ToDomainDkimPtrOutputWithContext(ctx context.Context) DomainDkimPtrOutput

type DomainDkimPtrInput

type DomainDkimPtrInput interface {
	pulumi.Input

	ToDomainDkimPtrOutput() DomainDkimPtrOutput
	ToDomainDkimPtrOutputWithContext(ctx context.Context) DomainDkimPtrOutput
}

type DomainDkimPtrOutput

type DomainDkimPtrOutput struct{ *pulumi.OutputState }

func (DomainDkimPtrOutput) Elem added in v4.15.0

func (DomainDkimPtrOutput) ElementType

func (DomainDkimPtrOutput) ElementType() reflect.Type

func (DomainDkimPtrOutput) ToDomainDkimPtrOutput

func (o DomainDkimPtrOutput) ToDomainDkimPtrOutput() DomainDkimPtrOutput

func (DomainDkimPtrOutput) ToDomainDkimPtrOutputWithContext

func (o DomainDkimPtrOutput) ToDomainDkimPtrOutputWithContext(ctx context.Context) DomainDkimPtrOutput

type DomainDkimState

type DomainDkimState struct {
	// DKIM tokens generated by SES.
	// These tokens should be used to create CNAME records used to verify SES Easy DKIM.
	// See below for an example of how this might be achieved
	// when the domain is hosted in Route 53 and managed by this provider.
	// Find out more about verifying domains in Amazon SES
	// in the [AWS SES docs](http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html).
	DkimTokens pulumi.StringArrayInput
	// Verified domain name to generate DKIM tokens for.
	Domain pulumi.StringPtrInput
}

func (DomainDkimState) ElementType

func (DomainDkimState) ElementType() reflect.Type

type DomainIdentity

type DomainIdentity struct {
	pulumi.CustomResourceState

	// The ARN of the domain identity.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The domain name to assign to SES
	Domain pulumi.StringOutput `pulumi:"domain"`
	// A code which when added to the domain as a TXT record
	// will signal to SES that the owner of the domain has authorised SES to act on
	// their behalf. The domain identity will be in state "verification pending"
	// until this is done. See below for an example of how this might be achieved
	// when the domain is hosted in Route 53 and managed by this provider.  Find out
	// more about verifying domains in Amazon SES in the [AWS SES
	// docs](http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-domains.html).
	VerificationToken pulumi.StringOutput `pulumi:"verificationToken"`
}

Provides an SES domain identity resource

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := ses.NewDomainIdentity(ctx, "example", &ses.DomainIdentityArgs{
			Domain: pulumi.String("example.com"),
		})
		if err != nil {
			return err
		}
		_, err = route53.NewRecord(ctx, "exampleAmazonsesVerificationRecord", &route53.RecordArgs{
			ZoneId: pulumi.String("ABCDEFGHIJ123"),
			Name:   pulumi.String("_amazonses.example.com"),
			Type:   pulumi.String("TXT"),
			Ttl:    pulumi.Int(600),
			Records: pulumi.StringArray{
				example.VerificationToken,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SES domain identities can be imported using the domain name.

```sh

$ pulumi import aws:ses/domainIdentity:DomainIdentity example example.com

```

func GetDomainIdentity

func GetDomainIdentity(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DomainIdentityState, opts ...pulumi.ResourceOption) (*DomainIdentity, error)

GetDomainIdentity gets an existing DomainIdentity 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 NewDomainIdentity

func NewDomainIdentity(ctx *pulumi.Context,
	name string, args *DomainIdentityArgs, opts ...pulumi.ResourceOption) (*DomainIdentity, error)

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

func (*DomainIdentity) ElementType

func (*DomainIdentity) ElementType() reflect.Type

func (*DomainIdentity) ToDomainIdentityOutput

func (i *DomainIdentity) ToDomainIdentityOutput() DomainIdentityOutput

func (*DomainIdentity) ToDomainIdentityOutputWithContext

func (i *DomainIdentity) ToDomainIdentityOutputWithContext(ctx context.Context) DomainIdentityOutput

func (*DomainIdentity) ToDomainIdentityPtrOutput

func (i *DomainIdentity) ToDomainIdentityPtrOutput() DomainIdentityPtrOutput

func (*DomainIdentity) ToDomainIdentityPtrOutputWithContext

func (i *DomainIdentity) ToDomainIdentityPtrOutputWithContext(ctx context.Context) DomainIdentityPtrOutput

type DomainIdentityArgs

type DomainIdentityArgs struct {
	// The domain name to assign to SES
	Domain pulumi.StringInput
}

The set of arguments for constructing a DomainIdentity resource.

func (DomainIdentityArgs) ElementType

func (DomainIdentityArgs) ElementType() reflect.Type

type DomainIdentityArray

type DomainIdentityArray []DomainIdentityInput

func (DomainIdentityArray) ElementType

func (DomainIdentityArray) ElementType() reflect.Type

func (DomainIdentityArray) ToDomainIdentityArrayOutput

func (i DomainIdentityArray) ToDomainIdentityArrayOutput() DomainIdentityArrayOutput

func (DomainIdentityArray) ToDomainIdentityArrayOutputWithContext

func (i DomainIdentityArray) ToDomainIdentityArrayOutputWithContext(ctx context.Context) DomainIdentityArrayOutput

type DomainIdentityArrayInput

type DomainIdentityArrayInput interface {
	pulumi.Input

	ToDomainIdentityArrayOutput() DomainIdentityArrayOutput
	ToDomainIdentityArrayOutputWithContext(context.Context) DomainIdentityArrayOutput
}

DomainIdentityArrayInput is an input type that accepts DomainIdentityArray and DomainIdentityArrayOutput values. You can construct a concrete instance of `DomainIdentityArrayInput` via:

DomainIdentityArray{ DomainIdentityArgs{...} }

type DomainIdentityArrayOutput

type DomainIdentityArrayOutput struct{ *pulumi.OutputState }

func (DomainIdentityArrayOutput) ElementType

func (DomainIdentityArrayOutput) ElementType() reflect.Type

func (DomainIdentityArrayOutput) Index

func (DomainIdentityArrayOutput) ToDomainIdentityArrayOutput

func (o DomainIdentityArrayOutput) ToDomainIdentityArrayOutput() DomainIdentityArrayOutput

func (DomainIdentityArrayOutput) ToDomainIdentityArrayOutputWithContext

func (o DomainIdentityArrayOutput) ToDomainIdentityArrayOutputWithContext(ctx context.Context) DomainIdentityArrayOutput

type DomainIdentityInput

type DomainIdentityInput interface {
	pulumi.Input

	ToDomainIdentityOutput() DomainIdentityOutput
	ToDomainIdentityOutputWithContext(ctx context.Context) DomainIdentityOutput
}

type DomainIdentityMap

type DomainIdentityMap map[string]DomainIdentityInput

func (DomainIdentityMap) ElementType

func (DomainIdentityMap) ElementType() reflect.Type

func (DomainIdentityMap) ToDomainIdentityMapOutput

func (i DomainIdentityMap) ToDomainIdentityMapOutput() DomainIdentityMapOutput

func (DomainIdentityMap) ToDomainIdentityMapOutputWithContext

func (i DomainIdentityMap) ToDomainIdentityMapOutputWithContext(ctx context.Context) DomainIdentityMapOutput

type DomainIdentityMapInput

type DomainIdentityMapInput interface {
	pulumi.Input

	ToDomainIdentityMapOutput() DomainIdentityMapOutput
	ToDomainIdentityMapOutputWithContext(context.Context) DomainIdentityMapOutput
}

DomainIdentityMapInput is an input type that accepts DomainIdentityMap and DomainIdentityMapOutput values. You can construct a concrete instance of `DomainIdentityMapInput` via:

DomainIdentityMap{ "key": DomainIdentityArgs{...} }

type DomainIdentityMapOutput

type DomainIdentityMapOutput struct{ *pulumi.OutputState }

func (DomainIdentityMapOutput) ElementType

func (DomainIdentityMapOutput) ElementType() reflect.Type

func (DomainIdentityMapOutput) MapIndex

func (DomainIdentityMapOutput) ToDomainIdentityMapOutput

func (o DomainIdentityMapOutput) ToDomainIdentityMapOutput() DomainIdentityMapOutput

func (DomainIdentityMapOutput) ToDomainIdentityMapOutputWithContext

func (o DomainIdentityMapOutput) ToDomainIdentityMapOutputWithContext(ctx context.Context) DomainIdentityMapOutput

type DomainIdentityOutput

type DomainIdentityOutput struct{ *pulumi.OutputState }

func (DomainIdentityOutput) ElementType

func (DomainIdentityOutput) ElementType() reflect.Type

func (DomainIdentityOutput) ToDomainIdentityOutput

func (o DomainIdentityOutput) ToDomainIdentityOutput() DomainIdentityOutput

func (DomainIdentityOutput) ToDomainIdentityOutputWithContext

func (o DomainIdentityOutput) ToDomainIdentityOutputWithContext(ctx context.Context) DomainIdentityOutput

func (DomainIdentityOutput) ToDomainIdentityPtrOutput

func (o DomainIdentityOutput) ToDomainIdentityPtrOutput() DomainIdentityPtrOutput

func (DomainIdentityOutput) ToDomainIdentityPtrOutputWithContext

func (o DomainIdentityOutput) ToDomainIdentityPtrOutputWithContext(ctx context.Context) DomainIdentityPtrOutput

type DomainIdentityPtrInput

type DomainIdentityPtrInput interface {
	pulumi.Input

	ToDomainIdentityPtrOutput() DomainIdentityPtrOutput
	ToDomainIdentityPtrOutputWithContext(ctx context.Context) DomainIdentityPtrOutput
}

type DomainIdentityPtrOutput

type DomainIdentityPtrOutput struct{ *pulumi.OutputState }

func (DomainIdentityPtrOutput) Elem added in v4.15.0

func (DomainIdentityPtrOutput) ElementType

func (DomainIdentityPtrOutput) ElementType() reflect.Type

func (DomainIdentityPtrOutput) ToDomainIdentityPtrOutput

func (o DomainIdentityPtrOutput) ToDomainIdentityPtrOutput() DomainIdentityPtrOutput

func (DomainIdentityPtrOutput) ToDomainIdentityPtrOutputWithContext

func (o DomainIdentityPtrOutput) ToDomainIdentityPtrOutputWithContext(ctx context.Context) DomainIdentityPtrOutput

type DomainIdentityState

type DomainIdentityState struct {
	// The ARN of the domain identity.
	Arn pulumi.StringPtrInput
	// The domain name to assign to SES
	Domain pulumi.StringPtrInput
	// A code which when added to the domain as a TXT record
	// will signal to SES that the owner of the domain has authorised SES to act on
	// their behalf. The domain identity will be in state "verification pending"
	// until this is done. See below for an example of how this might be achieved
	// when the domain is hosted in Route 53 and managed by this provider.  Find out
	// more about verifying domains in Amazon SES in the [AWS SES
	// docs](http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-domains.html).
	VerificationToken pulumi.StringPtrInput
}

func (DomainIdentityState) ElementType

func (DomainIdentityState) ElementType() reflect.Type

type DomainIdentityVerification

type DomainIdentityVerification struct {
	pulumi.CustomResourceState

	// The ARN of the domain identity.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The domain name of the SES domain identity to verify.
	Domain pulumi.StringOutput `pulumi:"domain"`
}

Represents a successful verification of an SES domain identity.

Most commonly, this resource is used together with `route53.Record` and `ses.DomainIdentity` to request an SES domain identity, deploy the required DNS verification records, and wait for verification to complete.

> **WARNING:** This resource implements a part of the verification workflow. It does not represent a real-world entity in AWS, therefore changing or deleting this resource on its own has no immediate effect.

## Example Usage

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := ses.NewDomainIdentity(ctx, "example", &ses.DomainIdentityArgs{
			Domain: pulumi.String("example.com"),
		})
		if err != nil {
			return err
		}
		exampleAmazonsesVerificationRecord, err := route53.NewRecord(ctx, "exampleAmazonsesVerificationRecord", &route53.RecordArgs{
			ZoneId: pulumi.Any(aws_route53_zone.Example.Zone_id),
			Name: example.ID().ApplyT(func(id string) (string, error) {
				return fmt.Sprintf("%v%v", "_amazonses.", id), nil
			}).(pulumi.StringOutput),
			Type: pulumi.String("TXT"),
			Ttl:  pulumi.Int(600),
			Records: pulumi.StringArray{
				example.VerificationToken,
			},
		})
		if err != nil {
			return err
		}
		_, err = ses.NewDomainIdentityVerification(ctx, "exampleVerification", &ses.DomainIdentityVerificationArgs{
			Domain: example.ID(),
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleAmazonsesVerificationRecord,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetDomainIdentityVerification

func GetDomainIdentityVerification(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DomainIdentityVerificationState, opts ...pulumi.ResourceOption) (*DomainIdentityVerification, error)

GetDomainIdentityVerification gets an existing DomainIdentityVerification 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 NewDomainIdentityVerification

func NewDomainIdentityVerification(ctx *pulumi.Context,
	name string, args *DomainIdentityVerificationArgs, opts ...pulumi.ResourceOption) (*DomainIdentityVerification, error)

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

func (*DomainIdentityVerification) ElementType

func (*DomainIdentityVerification) ElementType() reflect.Type

func (*DomainIdentityVerification) ToDomainIdentityVerificationOutput

func (i *DomainIdentityVerification) ToDomainIdentityVerificationOutput() DomainIdentityVerificationOutput

func (*DomainIdentityVerification) ToDomainIdentityVerificationOutputWithContext

func (i *DomainIdentityVerification) ToDomainIdentityVerificationOutputWithContext(ctx context.Context) DomainIdentityVerificationOutput

func (*DomainIdentityVerification) ToDomainIdentityVerificationPtrOutput

func (i *DomainIdentityVerification) ToDomainIdentityVerificationPtrOutput() DomainIdentityVerificationPtrOutput

func (*DomainIdentityVerification) ToDomainIdentityVerificationPtrOutputWithContext

func (i *DomainIdentityVerification) ToDomainIdentityVerificationPtrOutputWithContext(ctx context.Context) DomainIdentityVerificationPtrOutput

type DomainIdentityVerificationArgs

type DomainIdentityVerificationArgs struct {
	// The domain name of the SES domain identity to verify.
	Domain pulumi.StringInput
}

The set of arguments for constructing a DomainIdentityVerification resource.

func (DomainIdentityVerificationArgs) ElementType

type DomainIdentityVerificationArray

type DomainIdentityVerificationArray []DomainIdentityVerificationInput

func (DomainIdentityVerificationArray) ElementType

func (DomainIdentityVerificationArray) ToDomainIdentityVerificationArrayOutput

func (i DomainIdentityVerificationArray) ToDomainIdentityVerificationArrayOutput() DomainIdentityVerificationArrayOutput

func (DomainIdentityVerificationArray) ToDomainIdentityVerificationArrayOutputWithContext

func (i DomainIdentityVerificationArray) ToDomainIdentityVerificationArrayOutputWithContext(ctx context.Context) DomainIdentityVerificationArrayOutput

type DomainIdentityVerificationArrayInput

type DomainIdentityVerificationArrayInput interface {
	pulumi.Input

	ToDomainIdentityVerificationArrayOutput() DomainIdentityVerificationArrayOutput
	ToDomainIdentityVerificationArrayOutputWithContext(context.Context) DomainIdentityVerificationArrayOutput
}

DomainIdentityVerificationArrayInput is an input type that accepts DomainIdentityVerificationArray and DomainIdentityVerificationArrayOutput values. You can construct a concrete instance of `DomainIdentityVerificationArrayInput` via:

DomainIdentityVerificationArray{ DomainIdentityVerificationArgs{...} }

type DomainIdentityVerificationArrayOutput

type DomainIdentityVerificationArrayOutput struct{ *pulumi.OutputState }

func (DomainIdentityVerificationArrayOutput) ElementType

func (DomainIdentityVerificationArrayOutput) Index

func (DomainIdentityVerificationArrayOutput) ToDomainIdentityVerificationArrayOutput

func (o DomainIdentityVerificationArrayOutput) ToDomainIdentityVerificationArrayOutput() DomainIdentityVerificationArrayOutput

func (DomainIdentityVerificationArrayOutput) ToDomainIdentityVerificationArrayOutputWithContext

func (o DomainIdentityVerificationArrayOutput) ToDomainIdentityVerificationArrayOutputWithContext(ctx context.Context) DomainIdentityVerificationArrayOutput

type DomainIdentityVerificationInput

type DomainIdentityVerificationInput interface {
	pulumi.Input

	ToDomainIdentityVerificationOutput() DomainIdentityVerificationOutput
	ToDomainIdentityVerificationOutputWithContext(ctx context.Context) DomainIdentityVerificationOutput
}

type DomainIdentityVerificationMap

type DomainIdentityVerificationMap map[string]DomainIdentityVerificationInput

func (DomainIdentityVerificationMap) ElementType

func (DomainIdentityVerificationMap) ToDomainIdentityVerificationMapOutput

func (i DomainIdentityVerificationMap) ToDomainIdentityVerificationMapOutput() DomainIdentityVerificationMapOutput

func (DomainIdentityVerificationMap) ToDomainIdentityVerificationMapOutputWithContext

func (i DomainIdentityVerificationMap) ToDomainIdentityVerificationMapOutputWithContext(ctx context.Context) DomainIdentityVerificationMapOutput

type DomainIdentityVerificationMapInput

type DomainIdentityVerificationMapInput interface {
	pulumi.Input

	ToDomainIdentityVerificationMapOutput() DomainIdentityVerificationMapOutput
	ToDomainIdentityVerificationMapOutputWithContext(context.Context) DomainIdentityVerificationMapOutput
}

DomainIdentityVerificationMapInput is an input type that accepts DomainIdentityVerificationMap and DomainIdentityVerificationMapOutput values. You can construct a concrete instance of `DomainIdentityVerificationMapInput` via:

DomainIdentityVerificationMap{ "key": DomainIdentityVerificationArgs{...} }

type DomainIdentityVerificationMapOutput

type DomainIdentityVerificationMapOutput struct{ *pulumi.OutputState }

func (DomainIdentityVerificationMapOutput) ElementType

func (DomainIdentityVerificationMapOutput) MapIndex

func (DomainIdentityVerificationMapOutput) ToDomainIdentityVerificationMapOutput

func (o DomainIdentityVerificationMapOutput) ToDomainIdentityVerificationMapOutput() DomainIdentityVerificationMapOutput

func (DomainIdentityVerificationMapOutput) ToDomainIdentityVerificationMapOutputWithContext

func (o DomainIdentityVerificationMapOutput) ToDomainIdentityVerificationMapOutputWithContext(ctx context.Context) DomainIdentityVerificationMapOutput

type DomainIdentityVerificationOutput

type DomainIdentityVerificationOutput struct{ *pulumi.OutputState }

func (DomainIdentityVerificationOutput) ElementType

func (DomainIdentityVerificationOutput) ToDomainIdentityVerificationOutput

func (o DomainIdentityVerificationOutput) ToDomainIdentityVerificationOutput() DomainIdentityVerificationOutput

func (DomainIdentityVerificationOutput) ToDomainIdentityVerificationOutputWithContext

func (o DomainIdentityVerificationOutput) ToDomainIdentityVerificationOutputWithContext(ctx context.Context) DomainIdentityVerificationOutput

func (DomainIdentityVerificationOutput) ToDomainIdentityVerificationPtrOutput

func (o DomainIdentityVerificationOutput) ToDomainIdentityVerificationPtrOutput() DomainIdentityVerificationPtrOutput

func (DomainIdentityVerificationOutput) ToDomainIdentityVerificationPtrOutputWithContext

func (o DomainIdentityVerificationOutput) ToDomainIdentityVerificationPtrOutputWithContext(ctx context.Context) DomainIdentityVerificationPtrOutput

type DomainIdentityVerificationPtrInput

type DomainIdentityVerificationPtrInput interface {
	pulumi.Input

	ToDomainIdentityVerificationPtrOutput() DomainIdentityVerificationPtrOutput
	ToDomainIdentityVerificationPtrOutputWithContext(ctx context.Context) DomainIdentityVerificationPtrOutput
}

type DomainIdentityVerificationPtrOutput

type DomainIdentityVerificationPtrOutput struct{ *pulumi.OutputState }

func (DomainIdentityVerificationPtrOutput) Elem added in v4.15.0

func (DomainIdentityVerificationPtrOutput) ElementType

func (DomainIdentityVerificationPtrOutput) ToDomainIdentityVerificationPtrOutput

func (o DomainIdentityVerificationPtrOutput) ToDomainIdentityVerificationPtrOutput() DomainIdentityVerificationPtrOutput

func (DomainIdentityVerificationPtrOutput) ToDomainIdentityVerificationPtrOutputWithContext

func (o DomainIdentityVerificationPtrOutput) ToDomainIdentityVerificationPtrOutputWithContext(ctx context.Context) DomainIdentityVerificationPtrOutput

type DomainIdentityVerificationState

type DomainIdentityVerificationState struct {
	// The ARN of the domain identity.
	Arn pulumi.StringPtrInput
	// The domain name of the SES domain identity to verify.
	Domain pulumi.StringPtrInput
}

func (DomainIdentityVerificationState) ElementType

type EmailIdentity

type EmailIdentity struct {
	pulumi.CustomResourceState

	// The ARN of the email identity.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The email address to assign to SES
	Email pulumi.StringOutput `pulumi:"email"`
}

Provides an SES email identity resource

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ses.NewEmailIdentity(ctx, "example", &ses.EmailIdentityArgs{
			Email: pulumi.String("email@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SES email identities can be imported using the email address.

```sh

$ pulumi import aws:ses/emailIdentity:EmailIdentity example email@example.com

```

func GetEmailIdentity

func GetEmailIdentity(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EmailIdentityState, opts ...pulumi.ResourceOption) (*EmailIdentity, error)

GetEmailIdentity gets an existing EmailIdentity 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 NewEmailIdentity

func NewEmailIdentity(ctx *pulumi.Context,
	name string, args *EmailIdentityArgs, opts ...pulumi.ResourceOption) (*EmailIdentity, error)

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

func (*EmailIdentity) ElementType

func (*EmailIdentity) ElementType() reflect.Type

func (*EmailIdentity) ToEmailIdentityOutput

func (i *EmailIdentity) ToEmailIdentityOutput() EmailIdentityOutput

func (*EmailIdentity) ToEmailIdentityOutputWithContext

func (i *EmailIdentity) ToEmailIdentityOutputWithContext(ctx context.Context) EmailIdentityOutput

func (*EmailIdentity) ToEmailIdentityPtrOutput

func (i *EmailIdentity) ToEmailIdentityPtrOutput() EmailIdentityPtrOutput

func (*EmailIdentity) ToEmailIdentityPtrOutputWithContext

func (i *EmailIdentity) ToEmailIdentityPtrOutputWithContext(ctx context.Context) EmailIdentityPtrOutput

type EmailIdentityArgs

type EmailIdentityArgs struct {
	// The email address to assign to SES
	Email pulumi.StringInput
}

The set of arguments for constructing a EmailIdentity resource.

func (EmailIdentityArgs) ElementType

func (EmailIdentityArgs) ElementType() reflect.Type

type EmailIdentityArray

type EmailIdentityArray []EmailIdentityInput

func (EmailIdentityArray) ElementType

func (EmailIdentityArray) ElementType() reflect.Type

func (EmailIdentityArray) ToEmailIdentityArrayOutput

func (i EmailIdentityArray) ToEmailIdentityArrayOutput() EmailIdentityArrayOutput

func (EmailIdentityArray) ToEmailIdentityArrayOutputWithContext

func (i EmailIdentityArray) ToEmailIdentityArrayOutputWithContext(ctx context.Context) EmailIdentityArrayOutput

type EmailIdentityArrayInput

type EmailIdentityArrayInput interface {
	pulumi.Input

	ToEmailIdentityArrayOutput() EmailIdentityArrayOutput
	ToEmailIdentityArrayOutputWithContext(context.Context) EmailIdentityArrayOutput
}

EmailIdentityArrayInput is an input type that accepts EmailIdentityArray and EmailIdentityArrayOutput values. You can construct a concrete instance of `EmailIdentityArrayInput` via:

EmailIdentityArray{ EmailIdentityArgs{...} }

type EmailIdentityArrayOutput

type EmailIdentityArrayOutput struct{ *pulumi.OutputState }

func (EmailIdentityArrayOutput) ElementType

func (EmailIdentityArrayOutput) ElementType() reflect.Type

func (EmailIdentityArrayOutput) Index

func (EmailIdentityArrayOutput) ToEmailIdentityArrayOutput

func (o EmailIdentityArrayOutput) ToEmailIdentityArrayOutput() EmailIdentityArrayOutput

func (EmailIdentityArrayOutput) ToEmailIdentityArrayOutputWithContext

func (o EmailIdentityArrayOutput) ToEmailIdentityArrayOutputWithContext(ctx context.Context) EmailIdentityArrayOutput

type EmailIdentityInput

type EmailIdentityInput interface {
	pulumi.Input

	ToEmailIdentityOutput() EmailIdentityOutput
	ToEmailIdentityOutputWithContext(ctx context.Context) EmailIdentityOutput
}

type EmailIdentityMap

type EmailIdentityMap map[string]EmailIdentityInput

func (EmailIdentityMap) ElementType

func (EmailIdentityMap) ElementType() reflect.Type

func (EmailIdentityMap) ToEmailIdentityMapOutput

func (i EmailIdentityMap) ToEmailIdentityMapOutput() EmailIdentityMapOutput

func (EmailIdentityMap) ToEmailIdentityMapOutputWithContext

func (i EmailIdentityMap) ToEmailIdentityMapOutputWithContext(ctx context.Context) EmailIdentityMapOutput

type EmailIdentityMapInput

type EmailIdentityMapInput interface {
	pulumi.Input

	ToEmailIdentityMapOutput() EmailIdentityMapOutput
	ToEmailIdentityMapOutputWithContext(context.Context) EmailIdentityMapOutput
}

EmailIdentityMapInput is an input type that accepts EmailIdentityMap and EmailIdentityMapOutput values. You can construct a concrete instance of `EmailIdentityMapInput` via:

EmailIdentityMap{ "key": EmailIdentityArgs{...} }

type EmailIdentityMapOutput

type EmailIdentityMapOutput struct{ *pulumi.OutputState }

func (EmailIdentityMapOutput) ElementType

func (EmailIdentityMapOutput) ElementType() reflect.Type

func (EmailIdentityMapOutput) MapIndex

func (EmailIdentityMapOutput) ToEmailIdentityMapOutput

func (o EmailIdentityMapOutput) ToEmailIdentityMapOutput() EmailIdentityMapOutput

func (EmailIdentityMapOutput) ToEmailIdentityMapOutputWithContext

func (o EmailIdentityMapOutput) ToEmailIdentityMapOutputWithContext(ctx context.Context) EmailIdentityMapOutput

type EmailIdentityOutput

type EmailIdentityOutput struct{ *pulumi.OutputState }

func (EmailIdentityOutput) ElementType

func (EmailIdentityOutput) ElementType() reflect.Type

func (EmailIdentityOutput) ToEmailIdentityOutput

func (o EmailIdentityOutput) ToEmailIdentityOutput() EmailIdentityOutput

func (EmailIdentityOutput) ToEmailIdentityOutputWithContext

func (o EmailIdentityOutput) ToEmailIdentityOutputWithContext(ctx context.Context) EmailIdentityOutput

func (EmailIdentityOutput) ToEmailIdentityPtrOutput

func (o EmailIdentityOutput) ToEmailIdentityPtrOutput() EmailIdentityPtrOutput

func (EmailIdentityOutput) ToEmailIdentityPtrOutputWithContext

func (o EmailIdentityOutput) ToEmailIdentityPtrOutputWithContext(ctx context.Context) EmailIdentityPtrOutput

type EmailIdentityPtrInput

type EmailIdentityPtrInput interface {
	pulumi.Input

	ToEmailIdentityPtrOutput() EmailIdentityPtrOutput
	ToEmailIdentityPtrOutputWithContext(ctx context.Context) EmailIdentityPtrOutput
}

type EmailIdentityPtrOutput

type EmailIdentityPtrOutput struct{ *pulumi.OutputState }

func (EmailIdentityPtrOutput) Elem added in v4.15.0

func (EmailIdentityPtrOutput) ElementType

func (EmailIdentityPtrOutput) ElementType() reflect.Type

func (EmailIdentityPtrOutput) ToEmailIdentityPtrOutput

func (o EmailIdentityPtrOutput) ToEmailIdentityPtrOutput() EmailIdentityPtrOutput

func (EmailIdentityPtrOutput) ToEmailIdentityPtrOutputWithContext

func (o EmailIdentityPtrOutput) ToEmailIdentityPtrOutputWithContext(ctx context.Context) EmailIdentityPtrOutput

type EmailIdentityState

type EmailIdentityState struct {
	// The ARN of the email identity.
	Arn pulumi.StringPtrInput
	// The email address to assign to SES
	Email pulumi.StringPtrInput
}

func (EmailIdentityState) ElementType

func (EmailIdentityState) ElementType() reflect.Type

type EventDestination

type EventDestination struct {
	pulumi.CustomResourceState

	// The SES event destination ARN.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// CloudWatch destination for the events
	CloudwatchDestinations EventDestinationCloudwatchDestinationArrayOutput `pulumi:"cloudwatchDestinations"`
	// The name of the configuration set
	ConfigurationSetName pulumi.StringOutput `pulumi:"configurationSetName"`
	// If true, the event destination will be enabled
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Send the events to a kinesis firehose destination
	KinesisDestination EventDestinationKinesisDestinationPtrOutput `pulumi:"kinesisDestination"`
	// A list of matching types. May be any of `"send"`, `"reject"`, `"bounce"`, `"complaint"`, `"delivery"`, `"open"`, `"click"`, or `"renderingFailure"`.
	MatchingTypes pulumi.StringArrayOutput `pulumi:"matchingTypes"`
	// The name of the event destination
	Name pulumi.StringOutput `pulumi:"name"`
	// Send the events to an SNS Topic destination
	SnsDestination EventDestinationSnsDestinationPtrOutput `pulumi:"snsDestination"`
}

Provides an SES event destination

## Example Usage ### CloudWatch Destination

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ses.NewEventDestination(ctx, "cloudwatch", &ses.EventDestinationArgs{
			ConfigurationSetName: pulumi.Any(aws_ses_configuration_set.Example.Name),
			Enabled:              pulumi.Bool(true),
			MatchingTypes: pulumi.StringArray{
				pulumi.String("bounce"),
				pulumi.String("send"),
			},
			CloudwatchDestinations: ses.EventDestinationCloudwatchDestinationArray{
				&ses.EventDestinationCloudwatchDestinationArgs{
					DefaultValue:  pulumi.String("default"),
					DimensionName: pulumi.String("dimension"),
					ValueSource:   pulumi.String("emailHeader"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Kinesis Destination

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ses.NewEventDestination(ctx, "kinesis", &ses.EventDestinationArgs{
			ConfigurationSetName: pulumi.Any(aws_ses_configuration_set.Example.Name),
			Enabled:              pulumi.Bool(true),
			MatchingTypes: pulumi.StringArray{
				pulumi.String("bounce"),
				pulumi.String("send"),
			},
			KinesisDestination: &ses.EventDestinationKinesisDestinationArgs{
				StreamArn: pulumi.Any(aws_kinesis_firehose_delivery_stream.Example.Arn),
				RoleArn:   pulumi.Any(aws_iam_role.Example.Arn),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### SNS Destination

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ses.NewEventDestination(ctx, "sns", &ses.EventDestinationArgs{
			ConfigurationSetName: pulumi.Any(aws_ses_configuration_set.Example.Name),
			Enabled:              pulumi.Bool(true),
			MatchingTypes: pulumi.StringArray{
				pulumi.String("bounce"),
				pulumi.String("send"),
			},
			SnsDestination: &ses.EventDestinationSnsDestinationArgs{
				TopicArn: pulumi.Any(aws_sns_topic.Example.Arn),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SES event destinations can be imported using `configuration_set_name` together with the event destination's `name`, e.g.

```sh

$ pulumi import aws:ses/eventDestination:EventDestination sns some-configuration-set-test/event-destination-sns

```

func GetEventDestination

func GetEventDestination(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventDestinationState, opts ...pulumi.ResourceOption) (*EventDestination, error)

GetEventDestination gets an existing EventDestination 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 NewEventDestination

func NewEventDestination(ctx *pulumi.Context,
	name string, args *EventDestinationArgs, opts ...pulumi.ResourceOption) (*EventDestination, error)

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

func (*EventDestination) ElementType

func (*EventDestination) ElementType() reflect.Type

func (*EventDestination) ToEventDestinationOutput

func (i *EventDestination) ToEventDestinationOutput() EventDestinationOutput

func (*EventDestination) ToEventDestinationOutputWithContext

func (i *EventDestination) ToEventDestinationOutputWithContext(ctx context.Context) EventDestinationOutput

func (*EventDestination) ToEventDestinationPtrOutput

func (i *EventDestination) ToEventDestinationPtrOutput() EventDestinationPtrOutput

func (*EventDestination) ToEventDestinationPtrOutputWithContext

func (i *EventDestination) ToEventDestinationPtrOutputWithContext(ctx context.Context) EventDestinationPtrOutput

type EventDestinationArgs

type EventDestinationArgs struct {
	// CloudWatch destination for the events
	CloudwatchDestinations EventDestinationCloudwatchDestinationArrayInput
	// The name of the configuration set
	ConfigurationSetName pulumi.StringInput
	// If true, the event destination will be enabled
	Enabled pulumi.BoolPtrInput
	// Send the events to a kinesis firehose destination
	KinesisDestination EventDestinationKinesisDestinationPtrInput
	// A list of matching types. May be any of `"send"`, `"reject"`, `"bounce"`, `"complaint"`, `"delivery"`, `"open"`, `"click"`, or `"renderingFailure"`.
	MatchingTypes pulumi.StringArrayInput
	// The name of the event destination
	Name pulumi.StringPtrInput
	// Send the events to an SNS Topic destination
	SnsDestination EventDestinationSnsDestinationPtrInput
}

The set of arguments for constructing a EventDestination resource.

func (EventDestinationArgs) ElementType

func (EventDestinationArgs) ElementType() reflect.Type

type EventDestinationArray

type EventDestinationArray []EventDestinationInput

func (EventDestinationArray) ElementType

func (EventDestinationArray) ElementType() reflect.Type

func (EventDestinationArray) ToEventDestinationArrayOutput

func (i EventDestinationArray) ToEventDestinationArrayOutput() EventDestinationArrayOutput

func (EventDestinationArray) ToEventDestinationArrayOutputWithContext

func (i EventDestinationArray) ToEventDestinationArrayOutputWithContext(ctx context.Context) EventDestinationArrayOutput

type EventDestinationArrayInput

type EventDestinationArrayInput interface {
	pulumi.Input

	ToEventDestinationArrayOutput() EventDestinationArrayOutput
	ToEventDestinationArrayOutputWithContext(context.Context) EventDestinationArrayOutput
}

EventDestinationArrayInput is an input type that accepts EventDestinationArray and EventDestinationArrayOutput values. You can construct a concrete instance of `EventDestinationArrayInput` via:

EventDestinationArray{ EventDestinationArgs{...} }

type EventDestinationArrayOutput

type EventDestinationArrayOutput struct{ *pulumi.OutputState }

func (EventDestinationArrayOutput) ElementType

func (EventDestinationArrayOutput) Index

func (EventDestinationArrayOutput) ToEventDestinationArrayOutput

func (o EventDestinationArrayOutput) ToEventDestinationArrayOutput() EventDestinationArrayOutput

func (EventDestinationArrayOutput) ToEventDestinationArrayOutputWithContext

func (o EventDestinationArrayOutput) ToEventDestinationArrayOutputWithContext(ctx context.Context) EventDestinationArrayOutput

type EventDestinationCloudwatchDestination

type EventDestinationCloudwatchDestination struct {
	// The default value for the event
	DefaultValue string `pulumi:"defaultValue"`
	// The name for the dimension
	DimensionName string `pulumi:"dimensionName"`
	// The source for the value. May be any of `"messageTag"`, `"emailHeader"` or `"linkTag"`.
	ValueSource string `pulumi:"valueSource"`
}

type EventDestinationCloudwatchDestinationArgs

type EventDestinationCloudwatchDestinationArgs struct {
	// The default value for the event
	DefaultValue pulumi.StringInput `pulumi:"defaultValue"`
	// The name for the dimension
	DimensionName pulumi.StringInput `pulumi:"dimensionName"`
	// The source for the value. May be any of `"messageTag"`, `"emailHeader"` or `"linkTag"`.
	ValueSource pulumi.StringInput `pulumi:"valueSource"`
}

func (EventDestinationCloudwatchDestinationArgs) ElementType

func (EventDestinationCloudwatchDestinationArgs) ToEventDestinationCloudwatchDestinationOutput

func (i EventDestinationCloudwatchDestinationArgs) ToEventDestinationCloudwatchDestinationOutput() EventDestinationCloudwatchDestinationOutput

func (EventDestinationCloudwatchDestinationArgs) ToEventDestinationCloudwatchDestinationOutputWithContext

func (i EventDestinationCloudwatchDestinationArgs) ToEventDestinationCloudwatchDestinationOutputWithContext(ctx context.Context) EventDestinationCloudwatchDestinationOutput

type EventDestinationCloudwatchDestinationArray

type EventDestinationCloudwatchDestinationArray []EventDestinationCloudwatchDestinationInput

func (EventDestinationCloudwatchDestinationArray) ElementType

func (EventDestinationCloudwatchDestinationArray) ToEventDestinationCloudwatchDestinationArrayOutput

func (i EventDestinationCloudwatchDestinationArray) ToEventDestinationCloudwatchDestinationArrayOutput() EventDestinationCloudwatchDestinationArrayOutput

func (EventDestinationCloudwatchDestinationArray) ToEventDestinationCloudwatchDestinationArrayOutputWithContext

func (i EventDestinationCloudwatchDestinationArray) ToEventDestinationCloudwatchDestinationArrayOutputWithContext(ctx context.Context) EventDestinationCloudwatchDestinationArrayOutput

type EventDestinationCloudwatchDestinationArrayInput

type EventDestinationCloudwatchDestinationArrayInput interface {
	pulumi.Input

	ToEventDestinationCloudwatchDestinationArrayOutput() EventDestinationCloudwatchDestinationArrayOutput
	ToEventDestinationCloudwatchDestinationArrayOutputWithContext(context.Context) EventDestinationCloudwatchDestinationArrayOutput
}

EventDestinationCloudwatchDestinationArrayInput is an input type that accepts EventDestinationCloudwatchDestinationArray and EventDestinationCloudwatchDestinationArrayOutput values. You can construct a concrete instance of `EventDestinationCloudwatchDestinationArrayInput` via:

EventDestinationCloudwatchDestinationArray{ EventDestinationCloudwatchDestinationArgs{...} }

type EventDestinationCloudwatchDestinationArrayOutput

type EventDestinationCloudwatchDestinationArrayOutput struct{ *pulumi.OutputState }

func (EventDestinationCloudwatchDestinationArrayOutput) ElementType

func (EventDestinationCloudwatchDestinationArrayOutput) Index

func (EventDestinationCloudwatchDestinationArrayOutput) ToEventDestinationCloudwatchDestinationArrayOutput

func (o EventDestinationCloudwatchDestinationArrayOutput) ToEventDestinationCloudwatchDestinationArrayOutput() EventDestinationCloudwatchDestinationArrayOutput

func (EventDestinationCloudwatchDestinationArrayOutput) ToEventDestinationCloudwatchDestinationArrayOutputWithContext

func (o EventDestinationCloudwatchDestinationArrayOutput) ToEventDestinationCloudwatchDestinationArrayOutputWithContext(ctx context.Context) EventDestinationCloudwatchDestinationArrayOutput

type EventDestinationCloudwatchDestinationInput

type EventDestinationCloudwatchDestinationInput interface {
	pulumi.Input

	ToEventDestinationCloudwatchDestinationOutput() EventDestinationCloudwatchDestinationOutput
	ToEventDestinationCloudwatchDestinationOutputWithContext(context.Context) EventDestinationCloudwatchDestinationOutput
}

EventDestinationCloudwatchDestinationInput is an input type that accepts EventDestinationCloudwatchDestinationArgs and EventDestinationCloudwatchDestinationOutput values. You can construct a concrete instance of `EventDestinationCloudwatchDestinationInput` via:

EventDestinationCloudwatchDestinationArgs{...}

type EventDestinationCloudwatchDestinationOutput

type EventDestinationCloudwatchDestinationOutput struct{ *pulumi.OutputState }

func (EventDestinationCloudwatchDestinationOutput) DefaultValue

The default value for the event

func (EventDestinationCloudwatchDestinationOutput) DimensionName

The name for the dimension

func (EventDestinationCloudwatchDestinationOutput) ElementType

func (EventDestinationCloudwatchDestinationOutput) ToEventDestinationCloudwatchDestinationOutput

func (o EventDestinationCloudwatchDestinationOutput) ToEventDestinationCloudwatchDestinationOutput() EventDestinationCloudwatchDestinationOutput

func (EventDestinationCloudwatchDestinationOutput) ToEventDestinationCloudwatchDestinationOutputWithContext

func (o EventDestinationCloudwatchDestinationOutput) ToEventDestinationCloudwatchDestinationOutputWithContext(ctx context.Context) EventDestinationCloudwatchDestinationOutput

func (EventDestinationCloudwatchDestinationOutput) ValueSource

The source for the value. May be any of `"messageTag"`, `"emailHeader"` or `"linkTag"`.

type EventDestinationInput

type EventDestinationInput interface {
	pulumi.Input

	ToEventDestinationOutput() EventDestinationOutput
	ToEventDestinationOutputWithContext(ctx context.Context) EventDestinationOutput
}

type EventDestinationKinesisDestination

type EventDestinationKinesisDestination struct {
	// The ARN of the role that has permissions to access the Kinesis Stream
	RoleArn string `pulumi:"roleArn"`
	// The ARN of the Kinesis Stream
	StreamArn string `pulumi:"streamArn"`
}

type EventDestinationKinesisDestinationArgs

type EventDestinationKinesisDestinationArgs struct {
	// The ARN of the role that has permissions to access the Kinesis Stream
	RoleArn pulumi.StringInput `pulumi:"roleArn"`
	// The ARN of the Kinesis Stream
	StreamArn pulumi.StringInput `pulumi:"streamArn"`
}

func (EventDestinationKinesisDestinationArgs) ElementType

func (EventDestinationKinesisDestinationArgs) ToEventDestinationKinesisDestinationOutput

func (i EventDestinationKinesisDestinationArgs) ToEventDestinationKinesisDestinationOutput() EventDestinationKinesisDestinationOutput

func (EventDestinationKinesisDestinationArgs) ToEventDestinationKinesisDestinationOutputWithContext

func (i EventDestinationKinesisDestinationArgs) ToEventDestinationKinesisDestinationOutputWithContext(ctx context.Context) EventDestinationKinesisDestinationOutput

func (EventDestinationKinesisDestinationArgs) ToEventDestinationKinesisDestinationPtrOutput

func (i EventDestinationKinesisDestinationArgs) ToEventDestinationKinesisDestinationPtrOutput() EventDestinationKinesisDestinationPtrOutput

func (EventDestinationKinesisDestinationArgs) ToEventDestinationKinesisDestinationPtrOutputWithContext

func (i EventDestinationKinesisDestinationArgs) ToEventDestinationKinesisDestinationPtrOutputWithContext(ctx context.Context) EventDestinationKinesisDestinationPtrOutput

type EventDestinationKinesisDestinationInput

type EventDestinationKinesisDestinationInput interface {
	pulumi.Input

	ToEventDestinationKinesisDestinationOutput() EventDestinationKinesisDestinationOutput
	ToEventDestinationKinesisDestinationOutputWithContext(context.Context) EventDestinationKinesisDestinationOutput
}

EventDestinationKinesisDestinationInput is an input type that accepts EventDestinationKinesisDestinationArgs and EventDestinationKinesisDestinationOutput values. You can construct a concrete instance of `EventDestinationKinesisDestinationInput` via:

EventDestinationKinesisDestinationArgs{...}

type EventDestinationKinesisDestinationOutput

type EventDestinationKinesisDestinationOutput struct{ *pulumi.OutputState }

func (EventDestinationKinesisDestinationOutput) ElementType

func (EventDestinationKinesisDestinationOutput) RoleArn

The ARN of the role that has permissions to access the Kinesis Stream

func (EventDestinationKinesisDestinationOutput) StreamArn

The ARN of the Kinesis Stream

func (EventDestinationKinesisDestinationOutput) ToEventDestinationKinesisDestinationOutput

func (o EventDestinationKinesisDestinationOutput) ToEventDestinationKinesisDestinationOutput() EventDestinationKinesisDestinationOutput

func (EventDestinationKinesisDestinationOutput) ToEventDestinationKinesisDestinationOutputWithContext

func (o EventDestinationKinesisDestinationOutput) ToEventDestinationKinesisDestinationOutputWithContext(ctx context.Context) EventDestinationKinesisDestinationOutput

func (EventDestinationKinesisDestinationOutput) ToEventDestinationKinesisDestinationPtrOutput

func (o EventDestinationKinesisDestinationOutput) ToEventDestinationKinesisDestinationPtrOutput() EventDestinationKinesisDestinationPtrOutput

func (EventDestinationKinesisDestinationOutput) ToEventDestinationKinesisDestinationPtrOutputWithContext

func (o EventDestinationKinesisDestinationOutput) ToEventDestinationKinesisDestinationPtrOutputWithContext(ctx context.Context) EventDestinationKinesisDestinationPtrOutput

type EventDestinationKinesisDestinationPtrInput

type EventDestinationKinesisDestinationPtrInput interface {
	pulumi.Input

	ToEventDestinationKinesisDestinationPtrOutput() EventDestinationKinesisDestinationPtrOutput
	ToEventDestinationKinesisDestinationPtrOutputWithContext(context.Context) EventDestinationKinesisDestinationPtrOutput
}

EventDestinationKinesisDestinationPtrInput is an input type that accepts EventDestinationKinesisDestinationArgs, EventDestinationKinesisDestinationPtr and EventDestinationKinesisDestinationPtrOutput values. You can construct a concrete instance of `EventDestinationKinesisDestinationPtrInput` via:

        EventDestinationKinesisDestinationArgs{...}

or:

        nil

type EventDestinationKinesisDestinationPtrOutput

type EventDestinationKinesisDestinationPtrOutput struct{ *pulumi.OutputState }

func (EventDestinationKinesisDestinationPtrOutput) Elem

func (EventDestinationKinesisDestinationPtrOutput) ElementType

func (EventDestinationKinesisDestinationPtrOutput) RoleArn

The ARN of the role that has permissions to access the Kinesis Stream

func (EventDestinationKinesisDestinationPtrOutput) StreamArn

The ARN of the Kinesis Stream

func (EventDestinationKinesisDestinationPtrOutput) ToEventDestinationKinesisDestinationPtrOutput

func (o EventDestinationKinesisDestinationPtrOutput) ToEventDestinationKinesisDestinationPtrOutput() EventDestinationKinesisDestinationPtrOutput

func (EventDestinationKinesisDestinationPtrOutput) ToEventDestinationKinesisDestinationPtrOutputWithContext

func (o EventDestinationKinesisDestinationPtrOutput) ToEventDestinationKinesisDestinationPtrOutputWithContext(ctx context.Context) EventDestinationKinesisDestinationPtrOutput

type EventDestinationMap

type EventDestinationMap map[string]EventDestinationInput

func (EventDestinationMap) ElementType

func (EventDestinationMap) ElementType() reflect.Type

func (EventDestinationMap) ToEventDestinationMapOutput

func (i EventDestinationMap) ToEventDestinationMapOutput() EventDestinationMapOutput

func (EventDestinationMap) ToEventDestinationMapOutputWithContext

func (i EventDestinationMap) ToEventDestinationMapOutputWithContext(ctx context.Context) EventDestinationMapOutput

type EventDestinationMapInput

type EventDestinationMapInput interface {
	pulumi.Input

	ToEventDestinationMapOutput() EventDestinationMapOutput
	ToEventDestinationMapOutputWithContext(context.Context) EventDestinationMapOutput
}

EventDestinationMapInput is an input type that accepts EventDestinationMap and EventDestinationMapOutput values. You can construct a concrete instance of `EventDestinationMapInput` via:

EventDestinationMap{ "key": EventDestinationArgs{...} }

type EventDestinationMapOutput

type EventDestinationMapOutput struct{ *pulumi.OutputState }

func (EventDestinationMapOutput) ElementType

func (EventDestinationMapOutput) ElementType() reflect.Type

func (EventDestinationMapOutput) MapIndex

func (EventDestinationMapOutput) ToEventDestinationMapOutput

func (o EventDestinationMapOutput) ToEventDestinationMapOutput() EventDestinationMapOutput

func (EventDestinationMapOutput) ToEventDestinationMapOutputWithContext

func (o EventDestinationMapOutput) ToEventDestinationMapOutputWithContext(ctx context.Context) EventDestinationMapOutput

type EventDestinationOutput

type EventDestinationOutput struct{ *pulumi.OutputState }

func (EventDestinationOutput) ElementType

func (EventDestinationOutput) ElementType() reflect.Type

func (EventDestinationOutput) ToEventDestinationOutput

func (o EventDestinationOutput) ToEventDestinationOutput() EventDestinationOutput

func (EventDestinationOutput) ToEventDestinationOutputWithContext

func (o EventDestinationOutput) ToEventDestinationOutputWithContext(ctx context.Context) EventDestinationOutput

func (EventDestinationOutput) ToEventDestinationPtrOutput

func (o EventDestinationOutput) ToEventDestinationPtrOutput() EventDestinationPtrOutput

func (EventDestinationOutput) ToEventDestinationPtrOutputWithContext

func (o EventDestinationOutput) ToEventDestinationPtrOutputWithContext(ctx context.Context) EventDestinationPtrOutput

type EventDestinationPtrInput

type EventDestinationPtrInput interface {
	pulumi.Input

	ToEventDestinationPtrOutput() EventDestinationPtrOutput
	ToEventDestinationPtrOutputWithContext(ctx context.Context) EventDestinationPtrOutput
}

type EventDestinationPtrOutput

type EventDestinationPtrOutput struct{ *pulumi.OutputState }

func (EventDestinationPtrOutput) Elem added in v4.15.0

func (EventDestinationPtrOutput) ElementType

func (EventDestinationPtrOutput) ElementType() reflect.Type

func (EventDestinationPtrOutput) ToEventDestinationPtrOutput

func (o EventDestinationPtrOutput) ToEventDestinationPtrOutput() EventDestinationPtrOutput

func (EventDestinationPtrOutput) ToEventDestinationPtrOutputWithContext

func (o EventDestinationPtrOutput) ToEventDestinationPtrOutputWithContext(ctx context.Context) EventDestinationPtrOutput

type EventDestinationSnsDestination

type EventDestinationSnsDestination struct {
	// The ARN of the SNS topic
	TopicArn string `pulumi:"topicArn"`
}

type EventDestinationSnsDestinationArgs

type EventDestinationSnsDestinationArgs struct {
	// The ARN of the SNS topic
	TopicArn pulumi.StringInput `pulumi:"topicArn"`
}

func (EventDestinationSnsDestinationArgs) ElementType

func (EventDestinationSnsDestinationArgs) ToEventDestinationSnsDestinationOutput

func (i EventDestinationSnsDestinationArgs) ToEventDestinationSnsDestinationOutput() EventDestinationSnsDestinationOutput

func (EventDestinationSnsDestinationArgs) ToEventDestinationSnsDestinationOutputWithContext

func (i EventDestinationSnsDestinationArgs) ToEventDestinationSnsDestinationOutputWithContext(ctx context.Context) EventDestinationSnsDestinationOutput

func (EventDestinationSnsDestinationArgs) ToEventDestinationSnsDestinationPtrOutput

func (i EventDestinationSnsDestinationArgs) ToEventDestinationSnsDestinationPtrOutput() EventDestinationSnsDestinationPtrOutput

func (EventDestinationSnsDestinationArgs) ToEventDestinationSnsDestinationPtrOutputWithContext

func (i EventDestinationSnsDestinationArgs) ToEventDestinationSnsDestinationPtrOutputWithContext(ctx context.Context) EventDestinationSnsDestinationPtrOutput

type EventDestinationSnsDestinationInput

type EventDestinationSnsDestinationInput interface {
	pulumi.Input

	ToEventDestinationSnsDestinationOutput() EventDestinationSnsDestinationOutput
	ToEventDestinationSnsDestinationOutputWithContext(context.Context) EventDestinationSnsDestinationOutput
}

EventDestinationSnsDestinationInput is an input type that accepts EventDestinationSnsDestinationArgs and EventDestinationSnsDestinationOutput values. You can construct a concrete instance of `EventDestinationSnsDestinationInput` via:

EventDestinationSnsDestinationArgs{...}

type EventDestinationSnsDestinationOutput

type EventDestinationSnsDestinationOutput struct{ *pulumi.OutputState }

func (EventDestinationSnsDestinationOutput) ElementType

func (EventDestinationSnsDestinationOutput) ToEventDestinationSnsDestinationOutput

func (o EventDestinationSnsDestinationOutput) ToEventDestinationSnsDestinationOutput() EventDestinationSnsDestinationOutput

func (EventDestinationSnsDestinationOutput) ToEventDestinationSnsDestinationOutputWithContext

func (o EventDestinationSnsDestinationOutput) ToEventDestinationSnsDestinationOutputWithContext(ctx context.Context) EventDestinationSnsDestinationOutput

func (EventDestinationSnsDestinationOutput) ToEventDestinationSnsDestinationPtrOutput

func (o EventDestinationSnsDestinationOutput) ToEventDestinationSnsDestinationPtrOutput() EventDestinationSnsDestinationPtrOutput

func (EventDestinationSnsDestinationOutput) ToEventDestinationSnsDestinationPtrOutputWithContext

func (o EventDestinationSnsDestinationOutput) ToEventDestinationSnsDestinationPtrOutputWithContext(ctx context.Context) EventDestinationSnsDestinationPtrOutput

func (EventDestinationSnsDestinationOutput) TopicArn

The ARN of the SNS topic

type EventDestinationSnsDestinationPtrInput

type EventDestinationSnsDestinationPtrInput interface {
	pulumi.Input

	ToEventDestinationSnsDestinationPtrOutput() EventDestinationSnsDestinationPtrOutput
	ToEventDestinationSnsDestinationPtrOutputWithContext(context.Context) EventDestinationSnsDestinationPtrOutput
}

EventDestinationSnsDestinationPtrInput is an input type that accepts EventDestinationSnsDestinationArgs, EventDestinationSnsDestinationPtr and EventDestinationSnsDestinationPtrOutput values. You can construct a concrete instance of `EventDestinationSnsDestinationPtrInput` via:

        EventDestinationSnsDestinationArgs{...}

or:

        nil

type EventDestinationSnsDestinationPtrOutput

type EventDestinationSnsDestinationPtrOutput struct{ *pulumi.OutputState }

func (EventDestinationSnsDestinationPtrOutput) Elem

func (EventDestinationSnsDestinationPtrOutput) ElementType

func (EventDestinationSnsDestinationPtrOutput) ToEventDestinationSnsDestinationPtrOutput

func (o EventDestinationSnsDestinationPtrOutput) ToEventDestinationSnsDestinationPtrOutput() EventDestinationSnsDestinationPtrOutput

func (EventDestinationSnsDestinationPtrOutput) ToEventDestinationSnsDestinationPtrOutputWithContext

func (o EventDestinationSnsDestinationPtrOutput) ToEventDestinationSnsDestinationPtrOutputWithContext(ctx context.Context) EventDestinationSnsDestinationPtrOutput

func (EventDestinationSnsDestinationPtrOutput) TopicArn

The ARN of the SNS topic

type EventDestinationState

type EventDestinationState struct {
	// The SES event destination ARN.
	Arn pulumi.StringPtrInput
	// CloudWatch destination for the events
	CloudwatchDestinations EventDestinationCloudwatchDestinationArrayInput
	// The name of the configuration set
	ConfigurationSetName pulumi.StringPtrInput
	// If true, the event destination will be enabled
	Enabled pulumi.BoolPtrInput
	// Send the events to a kinesis firehose destination
	KinesisDestination EventDestinationKinesisDestinationPtrInput
	// A list of matching types. May be any of `"send"`, `"reject"`, `"bounce"`, `"complaint"`, `"delivery"`, `"open"`, `"click"`, or `"renderingFailure"`.
	MatchingTypes pulumi.StringArrayInput
	// The name of the event destination
	Name pulumi.StringPtrInput
	// Send the events to an SNS Topic destination
	SnsDestination EventDestinationSnsDestinationPtrInput
}

func (EventDestinationState) ElementType

func (EventDestinationState) ElementType() reflect.Type

type IdentityNotificationTopic

type IdentityNotificationTopic struct {
	pulumi.CustomResourceState

	// The identity for which the Amazon SNS topic will be set. You can specify an identity by using its name or by using its Amazon Resource Name (ARN).
	Identity pulumi.StringOutput `pulumi:"identity"`
	// Whether SES should include original email headers in SNS notifications of this type. *false* by default.
	IncludeOriginalHeaders pulumi.BoolPtrOutput `pulumi:"includeOriginalHeaders"`
	// The type of notifications that will be published to the specified Amazon SNS topic. Valid Values: *Bounce*, *Complaint* or *Delivery*.
	NotificationType pulumi.StringOutput `pulumi:"notificationType"`
	// The Amazon Resource Name (ARN) of the Amazon SNS topic. Can be set to "" (an empty string) to disable publishing.
	TopicArn pulumi.StringPtrOutput `pulumi:"topicArn"`
}

Resource for managing SES Identity Notification Topics

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ses.NewIdentityNotificationTopic(ctx, "test", &ses.IdentityNotificationTopicArgs{
			TopicArn:               pulumi.Any(aws_sns_topic.Example.Arn),
			NotificationType:       pulumi.String("Bounce"),
			Identity:               pulumi.Any(aws_ses_domain_identity.Example.Domain),
			IncludeOriginalHeaders: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Identity Notification Topics can be imported using ID of the record. The ID is made up as IDENTITY|TYPE where IDENTITY is the SES Identity and TYPE is the Notification Type.

```sh

$ pulumi import aws:ses/identityNotificationTopic:IdentityNotificationTopic test 'example.com|Bounce'

```

func GetIdentityNotificationTopic

func GetIdentityNotificationTopic(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IdentityNotificationTopicState, opts ...pulumi.ResourceOption) (*IdentityNotificationTopic, error)

GetIdentityNotificationTopic gets an existing IdentityNotificationTopic 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 NewIdentityNotificationTopic

func NewIdentityNotificationTopic(ctx *pulumi.Context,
	name string, args *IdentityNotificationTopicArgs, opts ...pulumi.ResourceOption) (*IdentityNotificationTopic, error)

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

func (*IdentityNotificationTopic) ElementType

func (*IdentityNotificationTopic) ElementType() reflect.Type

func (*IdentityNotificationTopic) ToIdentityNotificationTopicOutput

func (i *IdentityNotificationTopic) ToIdentityNotificationTopicOutput() IdentityNotificationTopicOutput

func (*IdentityNotificationTopic) ToIdentityNotificationTopicOutputWithContext

func (i *IdentityNotificationTopic) ToIdentityNotificationTopicOutputWithContext(ctx context.Context) IdentityNotificationTopicOutput

func (*IdentityNotificationTopic) ToIdentityNotificationTopicPtrOutput

func (i *IdentityNotificationTopic) ToIdentityNotificationTopicPtrOutput() IdentityNotificationTopicPtrOutput

func (*IdentityNotificationTopic) ToIdentityNotificationTopicPtrOutputWithContext

func (i *IdentityNotificationTopic) ToIdentityNotificationTopicPtrOutputWithContext(ctx context.Context) IdentityNotificationTopicPtrOutput

type IdentityNotificationTopicArgs

type IdentityNotificationTopicArgs struct {
	// The identity for which the Amazon SNS topic will be set. You can specify an identity by using its name or by using its Amazon Resource Name (ARN).
	Identity pulumi.StringInput
	// Whether SES should include original email headers in SNS notifications of this type. *false* by default.
	IncludeOriginalHeaders pulumi.BoolPtrInput
	// The type of notifications that will be published to the specified Amazon SNS topic. Valid Values: *Bounce*, *Complaint* or *Delivery*.
	NotificationType pulumi.StringInput
	// The Amazon Resource Name (ARN) of the Amazon SNS topic. Can be set to "" (an empty string) to disable publishing.
	TopicArn pulumi.StringPtrInput
}

The set of arguments for constructing a IdentityNotificationTopic resource.

func (IdentityNotificationTopicArgs) ElementType

type IdentityNotificationTopicArray

type IdentityNotificationTopicArray []IdentityNotificationTopicInput

func (IdentityNotificationTopicArray) ElementType

func (IdentityNotificationTopicArray) ToIdentityNotificationTopicArrayOutput

func (i IdentityNotificationTopicArray) ToIdentityNotificationTopicArrayOutput() IdentityNotificationTopicArrayOutput

func (IdentityNotificationTopicArray) ToIdentityNotificationTopicArrayOutputWithContext

func (i IdentityNotificationTopicArray) ToIdentityNotificationTopicArrayOutputWithContext(ctx context.Context) IdentityNotificationTopicArrayOutput

type IdentityNotificationTopicArrayInput

type IdentityNotificationTopicArrayInput interface {
	pulumi.Input

	ToIdentityNotificationTopicArrayOutput() IdentityNotificationTopicArrayOutput
	ToIdentityNotificationTopicArrayOutputWithContext(context.Context) IdentityNotificationTopicArrayOutput
}

IdentityNotificationTopicArrayInput is an input type that accepts IdentityNotificationTopicArray and IdentityNotificationTopicArrayOutput values. You can construct a concrete instance of `IdentityNotificationTopicArrayInput` via:

IdentityNotificationTopicArray{ IdentityNotificationTopicArgs{...} }

type IdentityNotificationTopicArrayOutput

type IdentityNotificationTopicArrayOutput struct{ *pulumi.OutputState }

func (IdentityNotificationTopicArrayOutput) ElementType

func (IdentityNotificationTopicArrayOutput) Index

func (IdentityNotificationTopicArrayOutput) ToIdentityNotificationTopicArrayOutput

func (o IdentityNotificationTopicArrayOutput) ToIdentityNotificationTopicArrayOutput() IdentityNotificationTopicArrayOutput

func (IdentityNotificationTopicArrayOutput) ToIdentityNotificationTopicArrayOutputWithContext

func (o IdentityNotificationTopicArrayOutput) ToIdentityNotificationTopicArrayOutputWithContext(ctx context.Context) IdentityNotificationTopicArrayOutput

type IdentityNotificationTopicInput

type IdentityNotificationTopicInput interface {
	pulumi.Input

	ToIdentityNotificationTopicOutput() IdentityNotificationTopicOutput
	ToIdentityNotificationTopicOutputWithContext(ctx context.Context) IdentityNotificationTopicOutput
}

type IdentityNotificationTopicMap

type IdentityNotificationTopicMap map[string]IdentityNotificationTopicInput

func (IdentityNotificationTopicMap) ElementType

func (IdentityNotificationTopicMap) ToIdentityNotificationTopicMapOutput

func (i IdentityNotificationTopicMap) ToIdentityNotificationTopicMapOutput() IdentityNotificationTopicMapOutput

func (IdentityNotificationTopicMap) ToIdentityNotificationTopicMapOutputWithContext

func (i IdentityNotificationTopicMap) ToIdentityNotificationTopicMapOutputWithContext(ctx context.Context) IdentityNotificationTopicMapOutput

type IdentityNotificationTopicMapInput

type IdentityNotificationTopicMapInput interface {
	pulumi.Input

	ToIdentityNotificationTopicMapOutput() IdentityNotificationTopicMapOutput
	ToIdentityNotificationTopicMapOutputWithContext(context.Context) IdentityNotificationTopicMapOutput
}

IdentityNotificationTopicMapInput is an input type that accepts IdentityNotificationTopicMap and IdentityNotificationTopicMapOutput values. You can construct a concrete instance of `IdentityNotificationTopicMapInput` via:

IdentityNotificationTopicMap{ "key": IdentityNotificationTopicArgs{...} }

type IdentityNotificationTopicMapOutput

type IdentityNotificationTopicMapOutput struct{ *pulumi.OutputState }

func (IdentityNotificationTopicMapOutput) ElementType

func (IdentityNotificationTopicMapOutput) MapIndex

func (IdentityNotificationTopicMapOutput) ToIdentityNotificationTopicMapOutput

func (o IdentityNotificationTopicMapOutput) ToIdentityNotificationTopicMapOutput() IdentityNotificationTopicMapOutput

func (IdentityNotificationTopicMapOutput) ToIdentityNotificationTopicMapOutputWithContext

func (o IdentityNotificationTopicMapOutput) ToIdentityNotificationTopicMapOutputWithContext(ctx context.Context) IdentityNotificationTopicMapOutput

type IdentityNotificationTopicOutput

type IdentityNotificationTopicOutput struct{ *pulumi.OutputState }

func (IdentityNotificationTopicOutput) ElementType

func (IdentityNotificationTopicOutput) ToIdentityNotificationTopicOutput

func (o IdentityNotificationTopicOutput) ToIdentityNotificationTopicOutput() IdentityNotificationTopicOutput

func (IdentityNotificationTopicOutput) ToIdentityNotificationTopicOutputWithContext

func (o IdentityNotificationTopicOutput) ToIdentityNotificationTopicOutputWithContext(ctx context.Context) IdentityNotificationTopicOutput

func (IdentityNotificationTopicOutput) ToIdentityNotificationTopicPtrOutput

func (o IdentityNotificationTopicOutput) ToIdentityNotificationTopicPtrOutput() IdentityNotificationTopicPtrOutput

func (IdentityNotificationTopicOutput) ToIdentityNotificationTopicPtrOutputWithContext

func (o IdentityNotificationTopicOutput) ToIdentityNotificationTopicPtrOutputWithContext(ctx context.Context) IdentityNotificationTopicPtrOutput

type IdentityNotificationTopicPtrInput

type IdentityNotificationTopicPtrInput interface {
	pulumi.Input

	ToIdentityNotificationTopicPtrOutput() IdentityNotificationTopicPtrOutput
	ToIdentityNotificationTopicPtrOutputWithContext(ctx context.Context) IdentityNotificationTopicPtrOutput
}

type IdentityNotificationTopicPtrOutput

type IdentityNotificationTopicPtrOutput struct{ *pulumi.OutputState }

func (IdentityNotificationTopicPtrOutput) Elem added in v4.15.0

func (IdentityNotificationTopicPtrOutput) ElementType

func (IdentityNotificationTopicPtrOutput) ToIdentityNotificationTopicPtrOutput

func (o IdentityNotificationTopicPtrOutput) ToIdentityNotificationTopicPtrOutput() IdentityNotificationTopicPtrOutput

func (IdentityNotificationTopicPtrOutput) ToIdentityNotificationTopicPtrOutputWithContext

func (o IdentityNotificationTopicPtrOutput) ToIdentityNotificationTopicPtrOutputWithContext(ctx context.Context) IdentityNotificationTopicPtrOutput

type IdentityNotificationTopicState

type IdentityNotificationTopicState struct {
	// The identity for which the Amazon SNS topic will be set. You can specify an identity by using its name or by using its Amazon Resource Name (ARN).
	Identity pulumi.StringPtrInput
	// Whether SES should include original email headers in SNS notifications of this type. *false* by default.
	IncludeOriginalHeaders pulumi.BoolPtrInput
	// The type of notifications that will be published to the specified Amazon SNS topic. Valid Values: *Bounce*, *Complaint* or *Delivery*.
	NotificationType pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the Amazon SNS topic. Can be set to "" (an empty string) to disable publishing.
	TopicArn pulumi.StringPtrInput
}

func (IdentityNotificationTopicState) ElementType

type IdentityPolicy

type IdentityPolicy struct {
	pulumi.CustomResourceState

	// Name or Amazon Resource Name (ARN) of the SES Identity.
	Identity pulumi.StringOutput `pulumi:"identity"`
	// Name of the policy.
	Name pulumi.StringOutput `pulumi:"name"`
	// JSON string of the policy.
	Policy pulumi.StringOutput `pulumi:"policy"`
}

Manages a SES Identity Policy. More information about SES Sending Authorization Policies can be found in the [SES Developer Guide](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization-policies.html).

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleDomainIdentity, err := ses.NewDomainIdentity(ctx, "exampleDomainIdentity", &ses.DomainIdentityArgs{
			Domain: pulumi.String("example.com"),
		})
		if err != nil {
			return err
		}
		_, err = ses.NewIdentityPolicy(ctx, "exampleIdentityPolicy", &ses.IdentityPolicyArgs{
			Identity: exampleDomainIdentity.Arn,
			Policy: examplePolicyDocument.ApplyT(func(examplePolicyDocument iam.GetPolicyDocumentResult) (string, error) {
				return examplePolicyDocument.Json, nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SES Identity Policies can be imported using the identity and policy name, separated by a pipe character (`|`), e.g.

```sh

$ pulumi import aws:ses/identityPolicy:IdentityPolicy example 'example.com|example'

```

func GetIdentityPolicy

func GetIdentityPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IdentityPolicyState, opts ...pulumi.ResourceOption) (*IdentityPolicy, error)

GetIdentityPolicy gets an existing IdentityPolicy 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 NewIdentityPolicy

func NewIdentityPolicy(ctx *pulumi.Context,
	name string, args *IdentityPolicyArgs, opts ...pulumi.ResourceOption) (*IdentityPolicy, error)

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

func (*IdentityPolicy) ElementType

func (*IdentityPolicy) ElementType() reflect.Type

func (*IdentityPolicy) ToIdentityPolicyOutput

func (i *IdentityPolicy) ToIdentityPolicyOutput() IdentityPolicyOutput

func (*IdentityPolicy) ToIdentityPolicyOutputWithContext

func (i *IdentityPolicy) ToIdentityPolicyOutputWithContext(ctx context.Context) IdentityPolicyOutput

func (*IdentityPolicy) ToIdentityPolicyPtrOutput

func (i *IdentityPolicy) ToIdentityPolicyPtrOutput() IdentityPolicyPtrOutput

func (*IdentityPolicy) ToIdentityPolicyPtrOutputWithContext

func (i *IdentityPolicy) ToIdentityPolicyPtrOutputWithContext(ctx context.Context) IdentityPolicyPtrOutput

type IdentityPolicyArgs

type IdentityPolicyArgs struct {
	// Name or Amazon Resource Name (ARN) of the SES Identity.
	Identity pulumi.StringInput
	// Name of the policy.
	Name pulumi.StringPtrInput
	// JSON string of the policy.
	Policy pulumi.StringInput
}

The set of arguments for constructing a IdentityPolicy resource.

func (IdentityPolicyArgs) ElementType

func (IdentityPolicyArgs) ElementType() reflect.Type

type IdentityPolicyArray

type IdentityPolicyArray []IdentityPolicyInput

func (IdentityPolicyArray) ElementType

func (IdentityPolicyArray) ElementType() reflect.Type

func (IdentityPolicyArray) ToIdentityPolicyArrayOutput

func (i IdentityPolicyArray) ToIdentityPolicyArrayOutput() IdentityPolicyArrayOutput

func (IdentityPolicyArray) ToIdentityPolicyArrayOutputWithContext

func (i IdentityPolicyArray) ToIdentityPolicyArrayOutputWithContext(ctx context.Context) IdentityPolicyArrayOutput

type IdentityPolicyArrayInput

type IdentityPolicyArrayInput interface {
	pulumi.Input

	ToIdentityPolicyArrayOutput() IdentityPolicyArrayOutput
	ToIdentityPolicyArrayOutputWithContext(context.Context) IdentityPolicyArrayOutput
}

IdentityPolicyArrayInput is an input type that accepts IdentityPolicyArray and IdentityPolicyArrayOutput values. You can construct a concrete instance of `IdentityPolicyArrayInput` via:

IdentityPolicyArray{ IdentityPolicyArgs{...} }

type IdentityPolicyArrayOutput

type IdentityPolicyArrayOutput struct{ *pulumi.OutputState }

func (IdentityPolicyArrayOutput) ElementType

func (IdentityPolicyArrayOutput) ElementType() reflect.Type

func (IdentityPolicyArrayOutput) Index

func (IdentityPolicyArrayOutput) ToIdentityPolicyArrayOutput

func (o IdentityPolicyArrayOutput) ToIdentityPolicyArrayOutput() IdentityPolicyArrayOutput

func (IdentityPolicyArrayOutput) ToIdentityPolicyArrayOutputWithContext

func (o IdentityPolicyArrayOutput) ToIdentityPolicyArrayOutputWithContext(ctx context.Context) IdentityPolicyArrayOutput

type IdentityPolicyInput

type IdentityPolicyInput interface {
	pulumi.Input

	ToIdentityPolicyOutput() IdentityPolicyOutput
	ToIdentityPolicyOutputWithContext(ctx context.Context) IdentityPolicyOutput
}

type IdentityPolicyMap

type IdentityPolicyMap map[string]IdentityPolicyInput

func (IdentityPolicyMap) ElementType

func (IdentityPolicyMap) ElementType() reflect.Type

func (IdentityPolicyMap) ToIdentityPolicyMapOutput

func (i IdentityPolicyMap) ToIdentityPolicyMapOutput() IdentityPolicyMapOutput

func (IdentityPolicyMap) ToIdentityPolicyMapOutputWithContext

func (i IdentityPolicyMap) ToIdentityPolicyMapOutputWithContext(ctx context.Context) IdentityPolicyMapOutput

type IdentityPolicyMapInput

type IdentityPolicyMapInput interface {
	pulumi.Input

	ToIdentityPolicyMapOutput() IdentityPolicyMapOutput
	ToIdentityPolicyMapOutputWithContext(context.Context) IdentityPolicyMapOutput
}

IdentityPolicyMapInput is an input type that accepts IdentityPolicyMap and IdentityPolicyMapOutput values. You can construct a concrete instance of `IdentityPolicyMapInput` via:

IdentityPolicyMap{ "key": IdentityPolicyArgs{...} }

type IdentityPolicyMapOutput

type IdentityPolicyMapOutput struct{ *pulumi.OutputState }

func (IdentityPolicyMapOutput) ElementType

func (IdentityPolicyMapOutput) ElementType() reflect.Type

func (IdentityPolicyMapOutput) MapIndex

func (IdentityPolicyMapOutput) ToIdentityPolicyMapOutput

func (o IdentityPolicyMapOutput) ToIdentityPolicyMapOutput() IdentityPolicyMapOutput

func (IdentityPolicyMapOutput) ToIdentityPolicyMapOutputWithContext

func (o IdentityPolicyMapOutput) ToIdentityPolicyMapOutputWithContext(ctx context.Context) IdentityPolicyMapOutput

type IdentityPolicyOutput

type IdentityPolicyOutput struct{ *pulumi.OutputState }

func (IdentityPolicyOutput) ElementType

func (IdentityPolicyOutput) ElementType() reflect.Type

func (IdentityPolicyOutput) ToIdentityPolicyOutput

func (o IdentityPolicyOutput) ToIdentityPolicyOutput() IdentityPolicyOutput

func (IdentityPolicyOutput) ToIdentityPolicyOutputWithContext

func (o IdentityPolicyOutput) ToIdentityPolicyOutputWithContext(ctx context.Context) IdentityPolicyOutput

func (IdentityPolicyOutput) ToIdentityPolicyPtrOutput

func (o IdentityPolicyOutput) ToIdentityPolicyPtrOutput() IdentityPolicyPtrOutput

func (IdentityPolicyOutput) ToIdentityPolicyPtrOutputWithContext

func (o IdentityPolicyOutput) ToIdentityPolicyPtrOutputWithContext(ctx context.Context) IdentityPolicyPtrOutput

type IdentityPolicyPtrInput

type IdentityPolicyPtrInput interface {
	pulumi.Input

	ToIdentityPolicyPtrOutput() IdentityPolicyPtrOutput
	ToIdentityPolicyPtrOutputWithContext(ctx context.Context) IdentityPolicyPtrOutput
}

type IdentityPolicyPtrOutput

type IdentityPolicyPtrOutput struct{ *pulumi.OutputState }

func (IdentityPolicyPtrOutput) Elem added in v4.15.0

func (IdentityPolicyPtrOutput) ElementType

func (IdentityPolicyPtrOutput) ElementType() reflect.Type

func (IdentityPolicyPtrOutput) ToIdentityPolicyPtrOutput

func (o IdentityPolicyPtrOutput) ToIdentityPolicyPtrOutput() IdentityPolicyPtrOutput

func (IdentityPolicyPtrOutput) ToIdentityPolicyPtrOutputWithContext

func (o IdentityPolicyPtrOutput) ToIdentityPolicyPtrOutputWithContext(ctx context.Context) IdentityPolicyPtrOutput

type IdentityPolicyState

type IdentityPolicyState struct {
	// Name or Amazon Resource Name (ARN) of the SES Identity.
	Identity pulumi.StringPtrInput
	// Name of the policy.
	Name pulumi.StringPtrInput
	// JSON string of the policy.
	Policy pulumi.StringPtrInput
}

func (IdentityPolicyState) ElementType

func (IdentityPolicyState) ElementType() reflect.Type

type MailFrom

type MailFrom struct {
	pulumi.CustomResourceState

	// The action that you want Amazon SES to take if it cannot successfully read the required MX record when you send an email. Defaults to `UseDefaultValue`. See the [SES API documentation](https://docs.aws.amazon.com/ses/latest/APIReference/API_SetIdentityMailFromDomain.html) for more information.
	BehaviorOnMxFailure pulumi.StringPtrOutput `pulumi:"behaviorOnMxFailure"`
	// Verified domain name to generate DKIM tokens for.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// Subdomain (of above domain) which is to be used as MAIL FROM address (Required for DMARC validation)
	MailFromDomain pulumi.StringOutput `pulumi:"mailFromDomain"`
}

Provides an SES domain MAIL FROM resource.

> **NOTE:** For the MAIL FROM domain to be fully usable, this resource should be paired with the `ses.DomainIdentity` resource. To validate the MAIL FROM domain, a DNS MX record is required. To pass SPF checks, a DNS TXT record may also be required. See the [Amazon SES MAIL FROM documentation](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-set.html) for more information.

## Example Usage

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleDomainIdentity, err := ses.NewDomainIdentity(ctx, "exampleDomainIdentity", &ses.DomainIdentityArgs{
			Domain: pulumi.String("example.com"),
		})
		if err != nil {
			return err
		}
		exampleMailFrom, err := ses.NewMailFrom(ctx, "exampleMailFrom", &ses.MailFromArgs{
			Domain: exampleDomainIdentity.Domain,
			MailFromDomain: exampleDomainIdentity.Domain.ApplyT(func(domain string) (string, error) {
				return fmt.Sprintf("%v%v", "bounce.", domain), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		_, err = route53.NewRecord(ctx, "exampleSesDomainMailFromMx", &route53.RecordArgs{
			ZoneId: pulumi.Any(aws_route53_zone.Example.Id),
			Name:   exampleMailFrom.MailFromDomain,
			Type:   pulumi.String("MX"),
			Ttl:    pulumi.Int(600),
			Records: pulumi.StringArray{
				pulumi.String("10 feedback-smtp.us-east-1.amazonses.com"),
			},
		})
		if err != nil {
			return err
		}
		_, err = route53.NewRecord(ctx, "exampleSesDomainMailFromTxt", &route53.RecordArgs{
			ZoneId: pulumi.Any(aws_route53_zone.Example.Id),
			Name:   exampleMailFrom.MailFromDomain,
			Type:   pulumi.String("TXT"),
			Ttl:    pulumi.Int(600),
			Records: pulumi.StringArray{
				pulumi.String("v=spf1 include:amazonses.com -all"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

MAIL FROM domain can be imported using the `domain` attribute, e.g.

```sh

$ pulumi import aws:ses/mailFrom:MailFrom example example.com

```

func GetMailFrom

func GetMailFrom(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MailFromState, opts ...pulumi.ResourceOption) (*MailFrom, error)

GetMailFrom gets an existing MailFrom 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 NewMailFrom

func NewMailFrom(ctx *pulumi.Context,
	name string, args *MailFromArgs, opts ...pulumi.ResourceOption) (*MailFrom, error)

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

func (*MailFrom) ElementType

func (*MailFrom) ElementType() reflect.Type

func (*MailFrom) ToMailFromOutput

func (i *MailFrom) ToMailFromOutput() MailFromOutput

func (*MailFrom) ToMailFromOutputWithContext

func (i *MailFrom) ToMailFromOutputWithContext(ctx context.Context) MailFromOutput

func (*MailFrom) ToMailFromPtrOutput

func (i *MailFrom) ToMailFromPtrOutput() MailFromPtrOutput

func (*MailFrom) ToMailFromPtrOutputWithContext

func (i *MailFrom) ToMailFromPtrOutputWithContext(ctx context.Context) MailFromPtrOutput

type MailFromArgs

type MailFromArgs struct {
	// The action that you want Amazon SES to take if it cannot successfully read the required MX record when you send an email. Defaults to `UseDefaultValue`. See the [SES API documentation](https://docs.aws.amazon.com/ses/latest/APIReference/API_SetIdentityMailFromDomain.html) for more information.
	BehaviorOnMxFailure pulumi.StringPtrInput
	// Verified domain name to generate DKIM tokens for.
	Domain pulumi.StringInput
	// Subdomain (of above domain) which is to be used as MAIL FROM address (Required for DMARC validation)
	MailFromDomain pulumi.StringInput
}

The set of arguments for constructing a MailFrom resource.

func (MailFromArgs) ElementType

func (MailFromArgs) ElementType() reflect.Type

type MailFromArray

type MailFromArray []MailFromInput

func (MailFromArray) ElementType

func (MailFromArray) ElementType() reflect.Type

func (MailFromArray) ToMailFromArrayOutput

func (i MailFromArray) ToMailFromArrayOutput() MailFromArrayOutput

func (MailFromArray) ToMailFromArrayOutputWithContext

func (i MailFromArray) ToMailFromArrayOutputWithContext(ctx context.Context) MailFromArrayOutput

type MailFromArrayInput

type MailFromArrayInput interface {
	pulumi.Input

	ToMailFromArrayOutput() MailFromArrayOutput
	ToMailFromArrayOutputWithContext(context.Context) MailFromArrayOutput
}

MailFromArrayInput is an input type that accepts MailFromArray and MailFromArrayOutput values. You can construct a concrete instance of `MailFromArrayInput` via:

MailFromArray{ MailFromArgs{...} }

type MailFromArrayOutput

type MailFromArrayOutput struct{ *pulumi.OutputState }

func (MailFromArrayOutput) ElementType

func (MailFromArrayOutput) ElementType() reflect.Type

func (MailFromArrayOutput) Index

func (MailFromArrayOutput) ToMailFromArrayOutput

func (o MailFromArrayOutput) ToMailFromArrayOutput() MailFromArrayOutput

func (MailFromArrayOutput) ToMailFromArrayOutputWithContext

func (o MailFromArrayOutput) ToMailFromArrayOutputWithContext(ctx context.Context) MailFromArrayOutput

type MailFromInput

type MailFromInput interface {
	pulumi.Input

	ToMailFromOutput() MailFromOutput
	ToMailFromOutputWithContext(ctx context.Context) MailFromOutput
}

type MailFromMap

type MailFromMap map[string]MailFromInput

func (MailFromMap) ElementType

func (MailFromMap) ElementType() reflect.Type

func (MailFromMap) ToMailFromMapOutput

func (i MailFromMap) ToMailFromMapOutput() MailFromMapOutput

func (MailFromMap) ToMailFromMapOutputWithContext

func (i MailFromMap) ToMailFromMapOutputWithContext(ctx context.Context) MailFromMapOutput

type MailFromMapInput

type MailFromMapInput interface {
	pulumi.Input

	ToMailFromMapOutput() MailFromMapOutput
	ToMailFromMapOutputWithContext(context.Context) MailFromMapOutput
}

MailFromMapInput is an input type that accepts MailFromMap and MailFromMapOutput values. You can construct a concrete instance of `MailFromMapInput` via:

MailFromMap{ "key": MailFromArgs{...} }

type MailFromMapOutput

type MailFromMapOutput struct{ *pulumi.OutputState }

func (MailFromMapOutput) ElementType

func (MailFromMapOutput) ElementType() reflect.Type

func (MailFromMapOutput) MapIndex

func (MailFromMapOutput) ToMailFromMapOutput

func (o MailFromMapOutput) ToMailFromMapOutput() MailFromMapOutput

func (MailFromMapOutput) ToMailFromMapOutputWithContext

func (o MailFromMapOutput) ToMailFromMapOutputWithContext(ctx context.Context) MailFromMapOutput

type MailFromOutput

type MailFromOutput struct{ *pulumi.OutputState }

func (MailFromOutput) ElementType

func (MailFromOutput) ElementType() reflect.Type

func (MailFromOutput) ToMailFromOutput

func (o MailFromOutput) ToMailFromOutput() MailFromOutput

func (MailFromOutput) ToMailFromOutputWithContext

func (o MailFromOutput) ToMailFromOutputWithContext(ctx context.Context) MailFromOutput

func (MailFromOutput) ToMailFromPtrOutput

func (o MailFromOutput) ToMailFromPtrOutput() MailFromPtrOutput

func (MailFromOutput) ToMailFromPtrOutputWithContext

func (o MailFromOutput) ToMailFromPtrOutputWithContext(ctx context.Context) MailFromPtrOutput

type MailFromPtrInput

type MailFromPtrInput interface {
	pulumi.Input

	ToMailFromPtrOutput() MailFromPtrOutput
	ToMailFromPtrOutputWithContext(ctx context.Context) MailFromPtrOutput
}

type MailFromPtrOutput

type MailFromPtrOutput struct{ *pulumi.OutputState }

func (MailFromPtrOutput) Elem added in v4.15.0

func (MailFromPtrOutput) ElementType

func (MailFromPtrOutput) ElementType() reflect.Type

func (MailFromPtrOutput) ToMailFromPtrOutput

func (o MailFromPtrOutput) ToMailFromPtrOutput() MailFromPtrOutput

func (MailFromPtrOutput) ToMailFromPtrOutputWithContext

func (o MailFromPtrOutput) ToMailFromPtrOutputWithContext(ctx context.Context) MailFromPtrOutput

type MailFromState

type MailFromState struct {
	// The action that you want Amazon SES to take if it cannot successfully read the required MX record when you send an email. Defaults to `UseDefaultValue`. See the [SES API documentation](https://docs.aws.amazon.com/ses/latest/APIReference/API_SetIdentityMailFromDomain.html) for more information.
	BehaviorOnMxFailure pulumi.StringPtrInput
	// Verified domain name to generate DKIM tokens for.
	Domain pulumi.StringPtrInput
	// Subdomain (of above domain) which is to be used as MAIL FROM address (Required for DMARC validation)
	MailFromDomain pulumi.StringPtrInput
}

func (MailFromState) ElementType

func (MailFromState) ElementType() reflect.Type

type ReceiptFilter

type ReceiptFilter struct {
	pulumi.CustomResourceState

	// The SES receipt filter ARN.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The IP address or address range to filter, in CIDR notation
	Cidr pulumi.StringOutput `pulumi:"cidr"`
	// The name of the filter
	Name pulumi.StringOutput `pulumi:"name"`
	// Block or Allow
	Policy pulumi.StringOutput `pulumi:"policy"`
}

Provides an SES receipt filter resource

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ses.NewReceiptFilter(ctx, "filter", &ses.ReceiptFilterArgs{
			Cidr:   pulumi.String("10.10.10.10"),
			Policy: pulumi.String("Block"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SES Receipt Filter can be imported using their `name`, e.g.

```sh

$ pulumi import aws:ses/receiptFilter:ReceiptFilter test some-filter

```

func GetReceiptFilter

func GetReceiptFilter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReceiptFilterState, opts ...pulumi.ResourceOption) (*ReceiptFilter, error)

GetReceiptFilter gets an existing ReceiptFilter 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 NewReceiptFilter

func NewReceiptFilter(ctx *pulumi.Context,
	name string, args *ReceiptFilterArgs, opts ...pulumi.ResourceOption) (*ReceiptFilter, error)

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

func (*ReceiptFilter) ElementType

func (*ReceiptFilter) ElementType() reflect.Type

func (*ReceiptFilter) ToReceiptFilterOutput

func (i *ReceiptFilter) ToReceiptFilterOutput() ReceiptFilterOutput

func (*ReceiptFilter) ToReceiptFilterOutputWithContext

func (i *ReceiptFilter) ToReceiptFilterOutputWithContext(ctx context.Context) ReceiptFilterOutput

func (*ReceiptFilter) ToReceiptFilterPtrOutput

func (i *ReceiptFilter) ToReceiptFilterPtrOutput() ReceiptFilterPtrOutput

func (*ReceiptFilter) ToReceiptFilterPtrOutputWithContext

func (i *ReceiptFilter) ToReceiptFilterPtrOutputWithContext(ctx context.Context) ReceiptFilterPtrOutput

type ReceiptFilterArgs

type ReceiptFilterArgs struct {
	// The IP address or address range to filter, in CIDR notation
	Cidr pulumi.StringInput
	// The name of the filter
	Name pulumi.StringPtrInput
	// Block or Allow
	Policy pulumi.StringInput
}

The set of arguments for constructing a ReceiptFilter resource.

func (ReceiptFilterArgs) ElementType

func (ReceiptFilterArgs) ElementType() reflect.Type

type ReceiptFilterArray

type ReceiptFilterArray []ReceiptFilterInput

func (ReceiptFilterArray) ElementType

func (ReceiptFilterArray) ElementType() reflect.Type

func (ReceiptFilterArray) ToReceiptFilterArrayOutput

func (i ReceiptFilterArray) ToReceiptFilterArrayOutput() ReceiptFilterArrayOutput

func (ReceiptFilterArray) ToReceiptFilterArrayOutputWithContext

func (i ReceiptFilterArray) ToReceiptFilterArrayOutputWithContext(ctx context.Context) ReceiptFilterArrayOutput

type ReceiptFilterArrayInput

type ReceiptFilterArrayInput interface {
	pulumi.Input

	ToReceiptFilterArrayOutput() ReceiptFilterArrayOutput
	ToReceiptFilterArrayOutputWithContext(context.Context) ReceiptFilterArrayOutput
}

ReceiptFilterArrayInput is an input type that accepts ReceiptFilterArray and ReceiptFilterArrayOutput values. You can construct a concrete instance of `ReceiptFilterArrayInput` via:

ReceiptFilterArray{ ReceiptFilterArgs{...} }

type ReceiptFilterArrayOutput

type ReceiptFilterArrayOutput struct{ *pulumi.OutputState }

func (ReceiptFilterArrayOutput) ElementType

func (ReceiptFilterArrayOutput) ElementType() reflect.Type

func (ReceiptFilterArrayOutput) Index

func (ReceiptFilterArrayOutput) ToReceiptFilterArrayOutput

func (o ReceiptFilterArrayOutput) ToReceiptFilterArrayOutput() ReceiptFilterArrayOutput

func (ReceiptFilterArrayOutput) ToReceiptFilterArrayOutputWithContext

func (o ReceiptFilterArrayOutput) ToReceiptFilterArrayOutputWithContext(ctx context.Context) ReceiptFilterArrayOutput

type ReceiptFilterInput

type ReceiptFilterInput interface {
	pulumi.Input

	ToReceiptFilterOutput() ReceiptFilterOutput
	ToReceiptFilterOutputWithContext(ctx context.Context) ReceiptFilterOutput
}

type ReceiptFilterMap

type ReceiptFilterMap map[string]ReceiptFilterInput

func (ReceiptFilterMap) ElementType

func (ReceiptFilterMap) ElementType() reflect.Type

func (ReceiptFilterMap) ToReceiptFilterMapOutput

func (i ReceiptFilterMap) ToReceiptFilterMapOutput() ReceiptFilterMapOutput

func (ReceiptFilterMap) ToReceiptFilterMapOutputWithContext

func (i ReceiptFilterMap) ToReceiptFilterMapOutputWithContext(ctx context.Context) ReceiptFilterMapOutput

type ReceiptFilterMapInput

type ReceiptFilterMapInput interface {
	pulumi.Input

	ToReceiptFilterMapOutput() ReceiptFilterMapOutput
	ToReceiptFilterMapOutputWithContext(context.Context) ReceiptFilterMapOutput
}

ReceiptFilterMapInput is an input type that accepts ReceiptFilterMap and ReceiptFilterMapOutput values. You can construct a concrete instance of `ReceiptFilterMapInput` via:

ReceiptFilterMap{ "key": ReceiptFilterArgs{...} }

type ReceiptFilterMapOutput

type ReceiptFilterMapOutput struct{ *pulumi.OutputState }

func (ReceiptFilterMapOutput) ElementType

func (ReceiptFilterMapOutput) ElementType() reflect.Type

func (ReceiptFilterMapOutput) MapIndex

func (ReceiptFilterMapOutput) ToReceiptFilterMapOutput

func (o ReceiptFilterMapOutput) ToReceiptFilterMapOutput() ReceiptFilterMapOutput

func (ReceiptFilterMapOutput) ToReceiptFilterMapOutputWithContext

func (o ReceiptFilterMapOutput) ToReceiptFilterMapOutputWithContext(ctx context.Context) ReceiptFilterMapOutput

type ReceiptFilterOutput

type ReceiptFilterOutput struct{ *pulumi.OutputState }

func (ReceiptFilterOutput) ElementType

func (ReceiptFilterOutput) ElementType() reflect.Type

func (ReceiptFilterOutput) ToReceiptFilterOutput

func (o ReceiptFilterOutput) ToReceiptFilterOutput() ReceiptFilterOutput

func (ReceiptFilterOutput) ToReceiptFilterOutputWithContext

func (o ReceiptFilterOutput) ToReceiptFilterOutputWithContext(ctx context.Context) ReceiptFilterOutput

func (ReceiptFilterOutput) ToReceiptFilterPtrOutput

func (o ReceiptFilterOutput) ToReceiptFilterPtrOutput() ReceiptFilterPtrOutput

func (ReceiptFilterOutput) ToReceiptFilterPtrOutputWithContext

func (o ReceiptFilterOutput) ToReceiptFilterPtrOutputWithContext(ctx context.Context) ReceiptFilterPtrOutput

type ReceiptFilterPtrInput

type ReceiptFilterPtrInput interface {
	pulumi.Input

	ToReceiptFilterPtrOutput() ReceiptFilterPtrOutput
	ToReceiptFilterPtrOutputWithContext(ctx context.Context) ReceiptFilterPtrOutput
}

type ReceiptFilterPtrOutput

type ReceiptFilterPtrOutput struct{ *pulumi.OutputState }

func (ReceiptFilterPtrOutput) Elem added in v4.15.0

func (ReceiptFilterPtrOutput) ElementType

func (ReceiptFilterPtrOutput) ElementType() reflect.Type

func (ReceiptFilterPtrOutput) ToReceiptFilterPtrOutput

func (o ReceiptFilterPtrOutput) ToReceiptFilterPtrOutput() ReceiptFilterPtrOutput

func (ReceiptFilterPtrOutput) ToReceiptFilterPtrOutputWithContext

func (o ReceiptFilterPtrOutput) ToReceiptFilterPtrOutputWithContext(ctx context.Context) ReceiptFilterPtrOutput

type ReceiptFilterState

type ReceiptFilterState struct {
	// The SES receipt filter ARN.
	Arn pulumi.StringPtrInput
	// The IP address or address range to filter, in CIDR notation
	Cidr pulumi.StringPtrInput
	// The name of the filter
	Name pulumi.StringPtrInput
	// Block or Allow
	Policy pulumi.StringPtrInput
}

func (ReceiptFilterState) ElementType

func (ReceiptFilterState) ElementType() reflect.Type

type ReceiptRule

type ReceiptRule struct {
	pulumi.CustomResourceState

	// A list of Add Header Action blocks. Documented below.
	AddHeaderActions ReceiptRuleAddHeaderActionArrayOutput `pulumi:"addHeaderActions"`
	// The name of the rule to place this rule after
	After pulumi.StringPtrOutput `pulumi:"after"`
	// The SES receipt rule ARN.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// A list of Bounce Action blocks. Documented below.
	BounceActions ReceiptRuleBounceActionArrayOutput `pulumi:"bounceActions"`
	// If true, the rule will be enabled
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// A list of Lambda Action blocks. Documented below.
	LambdaActions ReceiptRuleLambdaActionArrayOutput `pulumi:"lambdaActions"`
	// The name of the rule
	Name pulumi.StringOutput `pulumi:"name"`
	// A list of email addresses
	Recipients pulumi.StringArrayOutput `pulumi:"recipients"`
	// The name of the rule set
	RuleSetName pulumi.StringOutput `pulumi:"ruleSetName"`
	// A list of S3 Action blocks. Documented below.
	S3Actions ReceiptRuleS3ActionArrayOutput `pulumi:"s3Actions"`
	// If true, incoming emails will be scanned for spam and viruses
	ScanEnabled pulumi.BoolPtrOutput `pulumi:"scanEnabled"`
	// A list of SNS Action blocks. Documented below.
	SnsActions ReceiptRuleSnsActionArrayOutput `pulumi:"snsActions"`
	// A list of Stop Action blocks. Documented below.
	StopActions ReceiptRuleStopActionArrayOutput `pulumi:"stopActions"`
	// `Require` or `Optional`
	TlsPolicy pulumi.StringOutput `pulumi:"tlsPolicy"`
	// A list of WorkMail Action blocks. Documented below.
	WorkmailActions ReceiptRuleWorkmailActionArrayOutput `pulumi:"workmailActions"`
}

Provides an SES receipt rule resource

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ses.NewReceiptRule(ctx, "store", &ses.ReceiptRuleArgs{
			AddHeaderActions: ses.ReceiptRuleAddHeaderActionArray{
				&ses.ReceiptRuleAddHeaderActionArgs{
					HeaderName:  pulumi.String("Custom-Header"),
					HeaderValue: pulumi.String("Added by SES"),
					Position:    pulumi.Int(1),
				},
			},
			Enabled: pulumi.Bool(true),
			Recipients: pulumi.StringArray{
				pulumi.String("karen@example.com"),
			},
			RuleSetName: pulumi.String("default-rule-set"),
			S3Actions: ses.ReceiptRuleS3ActionArray{
				&ses.ReceiptRuleS3ActionArgs{
					BucketName: pulumi.String("emails"),
					Position:   pulumi.Int(2),
				},
			},
			ScanEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SES receipt rules can be imported using the ruleset name and rule name separated by `:`.

```sh

$ pulumi import aws:ses/receiptRule:ReceiptRule my_rule my_rule_set:my_rule

```

func GetReceiptRule

func GetReceiptRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReceiptRuleState, opts ...pulumi.ResourceOption) (*ReceiptRule, error)

GetReceiptRule gets an existing ReceiptRule 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 NewReceiptRule

func NewReceiptRule(ctx *pulumi.Context,
	name string, args *ReceiptRuleArgs, opts ...pulumi.ResourceOption) (*ReceiptRule, error)

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

func (*ReceiptRule) ElementType

func (*ReceiptRule) ElementType() reflect.Type

func (*ReceiptRule) ToReceiptRuleOutput

func (i *ReceiptRule) ToReceiptRuleOutput() ReceiptRuleOutput

func (*ReceiptRule) ToReceiptRuleOutputWithContext

func (i *ReceiptRule) ToReceiptRuleOutputWithContext(ctx context.Context) ReceiptRuleOutput

func (*ReceiptRule) ToReceiptRulePtrOutput

func (i *ReceiptRule) ToReceiptRulePtrOutput() ReceiptRulePtrOutput

func (*ReceiptRule) ToReceiptRulePtrOutputWithContext

func (i *ReceiptRule) ToReceiptRulePtrOutputWithContext(ctx context.Context) ReceiptRulePtrOutput

type ReceiptRuleAddHeaderAction

type ReceiptRuleAddHeaderAction struct {
	// The name of the header to add
	HeaderName string `pulumi:"headerName"`
	// The value of the header to add
	HeaderValue string `pulumi:"headerValue"`
	// The position of the action in the receipt rule
	Position int `pulumi:"position"`
}

type ReceiptRuleAddHeaderActionArgs

type ReceiptRuleAddHeaderActionArgs struct {
	// The name of the header to add
	HeaderName pulumi.StringInput `pulumi:"headerName"`
	// The value of the header to add
	HeaderValue pulumi.StringInput `pulumi:"headerValue"`
	// The position of the action in the receipt rule
	Position pulumi.IntInput `pulumi:"position"`
}

func (ReceiptRuleAddHeaderActionArgs) ElementType

func (ReceiptRuleAddHeaderActionArgs) ToReceiptRuleAddHeaderActionOutput

func (i ReceiptRuleAddHeaderActionArgs) ToReceiptRuleAddHeaderActionOutput() ReceiptRuleAddHeaderActionOutput

func (ReceiptRuleAddHeaderActionArgs) ToReceiptRuleAddHeaderActionOutputWithContext

func (i ReceiptRuleAddHeaderActionArgs) ToReceiptRuleAddHeaderActionOutputWithContext(ctx context.Context) ReceiptRuleAddHeaderActionOutput

type ReceiptRuleAddHeaderActionArray

type ReceiptRuleAddHeaderActionArray []ReceiptRuleAddHeaderActionInput

func (ReceiptRuleAddHeaderActionArray) ElementType

func (ReceiptRuleAddHeaderActionArray) ToReceiptRuleAddHeaderActionArrayOutput

func (i ReceiptRuleAddHeaderActionArray) ToReceiptRuleAddHeaderActionArrayOutput() ReceiptRuleAddHeaderActionArrayOutput

func (ReceiptRuleAddHeaderActionArray) ToReceiptRuleAddHeaderActionArrayOutputWithContext

func (i ReceiptRuleAddHeaderActionArray) ToReceiptRuleAddHeaderActionArrayOutputWithContext(ctx context.Context) ReceiptRuleAddHeaderActionArrayOutput

type ReceiptRuleAddHeaderActionArrayInput

type ReceiptRuleAddHeaderActionArrayInput interface {
	pulumi.Input

	ToReceiptRuleAddHeaderActionArrayOutput() ReceiptRuleAddHeaderActionArrayOutput
	ToReceiptRuleAddHeaderActionArrayOutputWithContext(context.Context) ReceiptRuleAddHeaderActionArrayOutput
}

ReceiptRuleAddHeaderActionArrayInput is an input type that accepts ReceiptRuleAddHeaderActionArray and ReceiptRuleAddHeaderActionArrayOutput values. You can construct a concrete instance of `ReceiptRuleAddHeaderActionArrayInput` via:

ReceiptRuleAddHeaderActionArray{ ReceiptRuleAddHeaderActionArgs{...} }

type ReceiptRuleAddHeaderActionArrayOutput

type ReceiptRuleAddHeaderActionArrayOutput struct{ *pulumi.OutputState }

func (ReceiptRuleAddHeaderActionArrayOutput) ElementType

func (ReceiptRuleAddHeaderActionArrayOutput) Index

func (ReceiptRuleAddHeaderActionArrayOutput) ToReceiptRuleAddHeaderActionArrayOutput

func (o ReceiptRuleAddHeaderActionArrayOutput) ToReceiptRuleAddHeaderActionArrayOutput() ReceiptRuleAddHeaderActionArrayOutput

func (ReceiptRuleAddHeaderActionArrayOutput) ToReceiptRuleAddHeaderActionArrayOutputWithContext

func (o ReceiptRuleAddHeaderActionArrayOutput) ToReceiptRuleAddHeaderActionArrayOutputWithContext(ctx context.Context) ReceiptRuleAddHeaderActionArrayOutput

type ReceiptRuleAddHeaderActionInput

type ReceiptRuleAddHeaderActionInput interface {
	pulumi.Input

	ToReceiptRuleAddHeaderActionOutput() ReceiptRuleAddHeaderActionOutput
	ToReceiptRuleAddHeaderActionOutputWithContext(context.Context) ReceiptRuleAddHeaderActionOutput
}

ReceiptRuleAddHeaderActionInput is an input type that accepts ReceiptRuleAddHeaderActionArgs and ReceiptRuleAddHeaderActionOutput values. You can construct a concrete instance of `ReceiptRuleAddHeaderActionInput` via:

ReceiptRuleAddHeaderActionArgs{...}

type ReceiptRuleAddHeaderActionOutput

type ReceiptRuleAddHeaderActionOutput struct{ *pulumi.OutputState }

func (ReceiptRuleAddHeaderActionOutput) ElementType

func (ReceiptRuleAddHeaderActionOutput) HeaderName

The name of the header to add

func (ReceiptRuleAddHeaderActionOutput) HeaderValue

The value of the header to add

func (ReceiptRuleAddHeaderActionOutput) Position

The position of the action in the receipt rule

func (ReceiptRuleAddHeaderActionOutput) ToReceiptRuleAddHeaderActionOutput

func (o ReceiptRuleAddHeaderActionOutput) ToReceiptRuleAddHeaderActionOutput() ReceiptRuleAddHeaderActionOutput

func (ReceiptRuleAddHeaderActionOutput) ToReceiptRuleAddHeaderActionOutputWithContext

func (o ReceiptRuleAddHeaderActionOutput) ToReceiptRuleAddHeaderActionOutputWithContext(ctx context.Context) ReceiptRuleAddHeaderActionOutput

type ReceiptRuleArgs

type ReceiptRuleArgs struct {
	// A list of Add Header Action blocks. Documented below.
	AddHeaderActions ReceiptRuleAddHeaderActionArrayInput
	// The name of the rule to place this rule after
	After pulumi.StringPtrInput
	// A list of Bounce Action blocks. Documented below.
	BounceActions ReceiptRuleBounceActionArrayInput
	// If true, the rule will be enabled
	Enabled pulumi.BoolPtrInput
	// A list of Lambda Action blocks. Documented below.
	LambdaActions ReceiptRuleLambdaActionArrayInput
	// The name of the rule
	Name pulumi.StringPtrInput
	// A list of email addresses
	Recipients pulumi.StringArrayInput
	// The name of the rule set
	RuleSetName pulumi.StringInput
	// A list of S3 Action blocks. Documented below.
	S3Actions ReceiptRuleS3ActionArrayInput
	// If true, incoming emails will be scanned for spam and viruses
	ScanEnabled pulumi.BoolPtrInput
	// A list of SNS Action blocks. Documented below.
	SnsActions ReceiptRuleSnsActionArrayInput
	// A list of Stop Action blocks. Documented below.
	StopActions ReceiptRuleStopActionArrayInput
	// `Require` or `Optional`
	TlsPolicy pulumi.StringPtrInput
	// A list of WorkMail Action blocks. Documented below.
	WorkmailActions ReceiptRuleWorkmailActionArrayInput
}

The set of arguments for constructing a ReceiptRule resource.

func (ReceiptRuleArgs) ElementType

func (ReceiptRuleArgs) ElementType() reflect.Type

type ReceiptRuleArray

type ReceiptRuleArray []ReceiptRuleInput

func (ReceiptRuleArray) ElementType

func (ReceiptRuleArray) ElementType() reflect.Type

func (ReceiptRuleArray) ToReceiptRuleArrayOutput

func (i ReceiptRuleArray) ToReceiptRuleArrayOutput() ReceiptRuleArrayOutput

func (ReceiptRuleArray) ToReceiptRuleArrayOutputWithContext

func (i ReceiptRuleArray) ToReceiptRuleArrayOutputWithContext(ctx context.Context) ReceiptRuleArrayOutput

type ReceiptRuleArrayInput

type ReceiptRuleArrayInput interface {
	pulumi.Input

	ToReceiptRuleArrayOutput() ReceiptRuleArrayOutput
	ToReceiptRuleArrayOutputWithContext(context.Context) ReceiptRuleArrayOutput
}

ReceiptRuleArrayInput is an input type that accepts ReceiptRuleArray and ReceiptRuleArrayOutput values. You can construct a concrete instance of `ReceiptRuleArrayInput` via:

ReceiptRuleArray{ ReceiptRuleArgs{...} }

type ReceiptRuleArrayOutput

type ReceiptRuleArrayOutput struct{ *pulumi.OutputState }

func (ReceiptRuleArrayOutput) ElementType

func (ReceiptRuleArrayOutput) ElementType() reflect.Type

func (ReceiptRuleArrayOutput) Index

func (ReceiptRuleArrayOutput) ToReceiptRuleArrayOutput

func (o ReceiptRuleArrayOutput) ToReceiptRuleArrayOutput() ReceiptRuleArrayOutput

func (ReceiptRuleArrayOutput) ToReceiptRuleArrayOutputWithContext

func (o ReceiptRuleArrayOutput) ToReceiptRuleArrayOutputWithContext(ctx context.Context) ReceiptRuleArrayOutput

type ReceiptRuleBounceAction

type ReceiptRuleBounceAction struct {
	// The message to send
	Message string `pulumi:"message"`
	// The position of the action in the receipt rule
	Position int `pulumi:"position"`
	// The email address of the sender
	Sender string `pulumi:"sender"`
	// The RFC 5321 SMTP reply code
	SmtpReplyCode string `pulumi:"smtpReplyCode"`
	// The RFC 3463 SMTP enhanced status code
	StatusCode *string `pulumi:"statusCode"`
	// The ARN of an SNS topic to notify
	TopicArn *string `pulumi:"topicArn"`
}

type ReceiptRuleBounceActionArgs

type ReceiptRuleBounceActionArgs struct {
	// The message to send
	Message pulumi.StringInput `pulumi:"message"`
	// The position of the action in the receipt rule
	Position pulumi.IntInput `pulumi:"position"`
	// The email address of the sender
	Sender pulumi.StringInput `pulumi:"sender"`
	// The RFC 5321 SMTP reply code
	SmtpReplyCode pulumi.StringInput `pulumi:"smtpReplyCode"`
	// The RFC 3463 SMTP enhanced status code
	StatusCode pulumi.StringPtrInput `pulumi:"statusCode"`
	// The ARN of an SNS topic to notify
	TopicArn pulumi.StringPtrInput `pulumi:"topicArn"`
}

func (ReceiptRuleBounceActionArgs) ElementType

func (ReceiptRuleBounceActionArgs) ToReceiptRuleBounceActionOutput

func (i ReceiptRuleBounceActionArgs) ToReceiptRuleBounceActionOutput() ReceiptRuleBounceActionOutput

func (ReceiptRuleBounceActionArgs) ToReceiptRuleBounceActionOutputWithContext

func (i ReceiptRuleBounceActionArgs) ToReceiptRuleBounceActionOutputWithContext(ctx context.Context) ReceiptRuleBounceActionOutput

type ReceiptRuleBounceActionArray

type ReceiptRuleBounceActionArray []ReceiptRuleBounceActionInput

func (ReceiptRuleBounceActionArray) ElementType

func (ReceiptRuleBounceActionArray) ToReceiptRuleBounceActionArrayOutput

func (i ReceiptRuleBounceActionArray) ToReceiptRuleBounceActionArrayOutput() ReceiptRuleBounceActionArrayOutput

func (ReceiptRuleBounceActionArray) ToReceiptRuleBounceActionArrayOutputWithContext

func (i ReceiptRuleBounceActionArray) ToReceiptRuleBounceActionArrayOutputWithContext(ctx context.Context) ReceiptRuleBounceActionArrayOutput

type ReceiptRuleBounceActionArrayInput

type ReceiptRuleBounceActionArrayInput interface {
	pulumi.Input

	ToReceiptRuleBounceActionArrayOutput() ReceiptRuleBounceActionArrayOutput
	ToReceiptRuleBounceActionArrayOutputWithContext(context.Context) ReceiptRuleBounceActionArrayOutput
}

ReceiptRuleBounceActionArrayInput is an input type that accepts ReceiptRuleBounceActionArray and ReceiptRuleBounceActionArrayOutput values. You can construct a concrete instance of `ReceiptRuleBounceActionArrayInput` via:

ReceiptRuleBounceActionArray{ ReceiptRuleBounceActionArgs{...} }

type ReceiptRuleBounceActionArrayOutput

type ReceiptRuleBounceActionArrayOutput struct{ *pulumi.OutputState }

func (ReceiptRuleBounceActionArrayOutput) ElementType

func (ReceiptRuleBounceActionArrayOutput) Index

func (ReceiptRuleBounceActionArrayOutput) ToReceiptRuleBounceActionArrayOutput

func (o ReceiptRuleBounceActionArrayOutput) ToReceiptRuleBounceActionArrayOutput() ReceiptRuleBounceActionArrayOutput

func (ReceiptRuleBounceActionArrayOutput) ToReceiptRuleBounceActionArrayOutputWithContext

func (o ReceiptRuleBounceActionArrayOutput) ToReceiptRuleBounceActionArrayOutputWithContext(ctx context.Context) ReceiptRuleBounceActionArrayOutput

type ReceiptRuleBounceActionInput

type ReceiptRuleBounceActionInput interface {
	pulumi.Input

	ToReceiptRuleBounceActionOutput() ReceiptRuleBounceActionOutput
	ToReceiptRuleBounceActionOutputWithContext(context.Context) ReceiptRuleBounceActionOutput
}

ReceiptRuleBounceActionInput is an input type that accepts ReceiptRuleBounceActionArgs and ReceiptRuleBounceActionOutput values. You can construct a concrete instance of `ReceiptRuleBounceActionInput` via:

ReceiptRuleBounceActionArgs{...}

type ReceiptRuleBounceActionOutput

type ReceiptRuleBounceActionOutput struct{ *pulumi.OutputState }

func (ReceiptRuleBounceActionOutput) ElementType

func (ReceiptRuleBounceActionOutput) Message

The message to send

func (ReceiptRuleBounceActionOutput) Position

The position of the action in the receipt rule

func (ReceiptRuleBounceActionOutput) Sender

The email address of the sender

func (ReceiptRuleBounceActionOutput) SmtpReplyCode

The RFC 5321 SMTP reply code

func (ReceiptRuleBounceActionOutput) StatusCode

The RFC 3463 SMTP enhanced status code

func (ReceiptRuleBounceActionOutput) ToReceiptRuleBounceActionOutput

func (o ReceiptRuleBounceActionOutput) ToReceiptRuleBounceActionOutput() ReceiptRuleBounceActionOutput

func (ReceiptRuleBounceActionOutput) ToReceiptRuleBounceActionOutputWithContext

func (o ReceiptRuleBounceActionOutput) ToReceiptRuleBounceActionOutputWithContext(ctx context.Context) ReceiptRuleBounceActionOutput

func (ReceiptRuleBounceActionOutput) TopicArn

The ARN of an SNS topic to notify

type ReceiptRuleInput

type ReceiptRuleInput interface {
	pulumi.Input

	ToReceiptRuleOutput() ReceiptRuleOutput
	ToReceiptRuleOutputWithContext(ctx context.Context) ReceiptRuleOutput
}

type ReceiptRuleLambdaAction

type ReceiptRuleLambdaAction struct {
	// The ARN of the Lambda function to invoke
	FunctionArn string `pulumi:"functionArn"`
	// `Event` or `RequestResponse`
	InvocationType *string `pulumi:"invocationType"`
	// The position of the action in the receipt rule
	Position int `pulumi:"position"`
	// The ARN of an SNS topic to notify
	TopicArn *string `pulumi:"topicArn"`
}

type ReceiptRuleLambdaActionArgs

type ReceiptRuleLambdaActionArgs struct {
	// The ARN of the Lambda function to invoke
	FunctionArn pulumi.StringInput `pulumi:"functionArn"`
	// `Event` or `RequestResponse`
	InvocationType pulumi.StringPtrInput `pulumi:"invocationType"`
	// The position of the action in the receipt rule
	Position pulumi.IntInput `pulumi:"position"`
	// The ARN of an SNS topic to notify
	TopicArn pulumi.StringPtrInput `pulumi:"topicArn"`
}

func (ReceiptRuleLambdaActionArgs) ElementType

func (ReceiptRuleLambdaActionArgs) ToReceiptRuleLambdaActionOutput

func (i ReceiptRuleLambdaActionArgs) ToReceiptRuleLambdaActionOutput() ReceiptRuleLambdaActionOutput

func (ReceiptRuleLambdaActionArgs) ToReceiptRuleLambdaActionOutputWithContext

func (i ReceiptRuleLambdaActionArgs) ToReceiptRuleLambdaActionOutputWithContext(ctx context.Context) ReceiptRuleLambdaActionOutput

type ReceiptRuleLambdaActionArray

type ReceiptRuleLambdaActionArray []ReceiptRuleLambdaActionInput

func (ReceiptRuleLambdaActionArray) ElementType

func (ReceiptRuleLambdaActionArray) ToReceiptRuleLambdaActionArrayOutput

func (i ReceiptRuleLambdaActionArray) ToReceiptRuleLambdaActionArrayOutput() ReceiptRuleLambdaActionArrayOutput

func (ReceiptRuleLambdaActionArray) ToReceiptRuleLambdaActionArrayOutputWithContext

func (i ReceiptRuleLambdaActionArray) ToReceiptRuleLambdaActionArrayOutputWithContext(ctx context.Context) ReceiptRuleLambdaActionArrayOutput

type ReceiptRuleLambdaActionArrayInput

type ReceiptRuleLambdaActionArrayInput interface {
	pulumi.Input

	ToReceiptRuleLambdaActionArrayOutput() ReceiptRuleLambdaActionArrayOutput
	ToReceiptRuleLambdaActionArrayOutputWithContext(context.Context) ReceiptRuleLambdaActionArrayOutput
}

ReceiptRuleLambdaActionArrayInput is an input type that accepts ReceiptRuleLambdaActionArray and ReceiptRuleLambdaActionArrayOutput values. You can construct a concrete instance of `ReceiptRuleLambdaActionArrayInput` via:

ReceiptRuleLambdaActionArray{ ReceiptRuleLambdaActionArgs{...} }

type ReceiptRuleLambdaActionArrayOutput

type ReceiptRuleLambdaActionArrayOutput struct{ *pulumi.OutputState }

func (ReceiptRuleLambdaActionArrayOutput) ElementType

func (ReceiptRuleLambdaActionArrayOutput) Index

func (ReceiptRuleLambdaActionArrayOutput) ToReceiptRuleLambdaActionArrayOutput

func (o ReceiptRuleLambdaActionArrayOutput) ToReceiptRuleLambdaActionArrayOutput() ReceiptRuleLambdaActionArrayOutput

func (ReceiptRuleLambdaActionArrayOutput) ToReceiptRuleLambdaActionArrayOutputWithContext

func (o ReceiptRuleLambdaActionArrayOutput) ToReceiptRuleLambdaActionArrayOutputWithContext(ctx context.Context) ReceiptRuleLambdaActionArrayOutput

type ReceiptRuleLambdaActionInput

type ReceiptRuleLambdaActionInput interface {
	pulumi.Input

	ToReceiptRuleLambdaActionOutput() ReceiptRuleLambdaActionOutput
	ToReceiptRuleLambdaActionOutputWithContext(context.Context) ReceiptRuleLambdaActionOutput
}

ReceiptRuleLambdaActionInput is an input type that accepts ReceiptRuleLambdaActionArgs and ReceiptRuleLambdaActionOutput values. You can construct a concrete instance of `ReceiptRuleLambdaActionInput` via:

ReceiptRuleLambdaActionArgs{...}

type ReceiptRuleLambdaActionOutput

type ReceiptRuleLambdaActionOutput struct{ *pulumi.OutputState }

func (ReceiptRuleLambdaActionOutput) ElementType

func (ReceiptRuleLambdaActionOutput) FunctionArn

The ARN of the Lambda function to invoke

func (ReceiptRuleLambdaActionOutput) InvocationType

`Event` or `RequestResponse`

func (ReceiptRuleLambdaActionOutput) Position

The position of the action in the receipt rule

func (ReceiptRuleLambdaActionOutput) ToReceiptRuleLambdaActionOutput

func (o ReceiptRuleLambdaActionOutput) ToReceiptRuleLambdaActionOutput() ReceiptRuleLambdaActionOutput

func (ReceiptRuleLambdaActionOutput) ToReceiptRuleLambdaActionOutputWithContext

func (o ReceiptRuleLambdaActionOutput) ToReceiptRuleLambdaActionOutputWithContext(ctx context.Context) ReceiptRuleLambdaActionOutput

func (ReceiptRuleLambdaActionOutput) TopicArn

The ARN of an SNS topic to notify

type ReceiptRuleMap

type ReceiptRuleMap map[string]ReceiptRuleInput

func (ReceiptRuleMap) ElementType

func (ReceiptRuleMap) ElementType() reflect.Type

func (ReceiptRuleMap) ToReceiptRuleMapOutput

func (i ReceiptRuleMap) ToReceiptRuleMapOutput() ReceiptRuleMapOutput

func (ReceiptRuleMap) ToReceiptRuleMapOutputWithContext

func (i ReceiptRuleMap) ToReceiptRuleMapOutputWithContext(ctx context.Context) ReceiptRuleMapOutput

type ReceiptRuleMapInput

type ReceiptRuleMapInput interface {
	pulumi.Input

	ToReceiptRuleMapOutput() ReceiptRuleMapOutput
	ToReceiptRuleMapOutputWithContext(context.Context) ReceiptRuleMapOutput
}

ReceiptRuleMapInput is an input type that accepts ReceiptRuleMap and ReceiptRuleMapOutput values. You can construct a concrete instance of `ReceiptRuleMapInput` via:

ReceiptRuleMap{ "key": ReceiptRuleArgs{...} }

type ReceiptRuleMapOutput

type ReceiptRuleMapOutput struct{ *pulumi.OutputState }

func (ReceiptRuleMapOutput) ElementType

func (ReceiptRuleMapOutput) ElementType() reflect.Type

func (ReceiptRuleMapOutput) MapIndex

func (ReceiptRuleMapOutput) ToReceiptRuleMapOutput

func (o ReceiptRuleMapOutput) ToReceiptRuleMapOutput() ReceiptRuleMapOutput

func (ReceiptRuleMapOutput) ToReceiptRuleMapOutputWithContext

func (o ReceiptRuleMapOutput) ToReceiptRuleMapOutputWithContext(ctx context.Context) ReceiptRuleMapOutput

type ReceiptRuleOutput

type ReceiptRuleOutput struct{ *pulumi.OutputState }

func (ReceiptRuleOutput) ElementType

func (ReceiptRuleOutput) ElementType() reflect.Type

func (ReceiptRuleOutput) ToReceiptRuleOutput

func (o ReceiptRuleOutput) ToReceiptRuleOutput() ReceiptRuleOutput

func (ReceiptRuleOutput) ToReceiptRuleOutputWithContext

func (o ReceiptRuleOutput) ToReceiptRuleOutputWithContext(ctx context.Context) ReceiptRuleOutput

func (ReceiptRuleOutput) ToReceiptRulePtrOutput

func (o ReceiptRuleOutput) ToReceiptRulePtrOutput() ReceiptRulePtrOutput

func (ReceiptRuleOutput) ToReceiptRulePtrOutputWithContext

func (o ReceiptRuleOutput) ToReceiptRulePtrOutputWithContext(ctx context.Context) ReceiptRulePtrOutput

type ReceiptRulePtrInput

type ReceiptRulePtrInput interface {
	pulumi.Input

	ToReceiptRulePtrOutput() ReceiptRulePtrOutput
	ToReceiptRulePtrOutputWithContext(ctx context.Context) ReceiptRulePtrOutput
}

type ReceiptRulePtrOutput

type ReceiptRulePtrOutput struct{ *pulumi.OutputState }

func (ReceiptRulePtrOutput) Elem added in v4.15.0

func (ReceiptRulePtrOutput) ElementType

func (ReceiptRulePtrOutput) ElementType() reflect.Type

func (ReceiptRulePtrOutput) ToReceiptRulePtrOutput

func (o ReceiptRulePtrOutput) ToReceiptRulePtrOutput() ReceiptRulePtrOutput

func (ReceiptRulePtrOutput) ToReceiptRulePtrOutputWithContext

func (o ReceiptRulePtrOutput) ToReceiptRulePtrOutputWithContext(ctx context.Context) ReceiptRulePtrOutput

type ReceiptRuleS3Action

type ReceiptRuleS3Action struct {
	// The name of the S3 bucket
	BucketName string `pulumi:"bucketName"`
	// The ARN of the KMS key
	KmsKeyArn *string `pulumi:"kmsKeyArn"`
	// The key prefix of the S3 bucket
	ObjectKeyPrefix *string `pulumi:"objectKeyPrefix"`
	// The position of the action in the receipt rule
	Position int `pulumi:"position"`
	// The ARN of an SNS topic to notify
	TopicArn *string `pulumi:"topicArn"`
}

type ReceiptRuleS3ActionArgs

type ReceiptRuleS3ActionArgs struct {
	// The name of the S3 bucket
	BucketName pulumi.StringInput `pulumi:"bucketName"`
	// The ARN of the KMS key
	KmsKeyArn pulumi.StringPtrInput `pulumi:"kmsKeyArn"`
	// The key prefix of the S3 bucket
	ObjectKeyPrefix pulumi.StringPtrInput `pulumi:"objectKeyPrefix"`
	// The position of the action in the receipt rule
	Position pulumi.IntInput `pulumi:"position"`
	// The ARN of an SNS topic to notify
	TopicArn pulumi.StringPtrInput `pulumi:"topicArn"`
}

func (ReceiptRuleS3ActionArgs) ElementType

func (ReceiptRuleS3ActionArgs) ElementType() reflect.Type

func (ReceiptRuleS3ActionArgs) ToReceiptRuleS3ActionOutput

func (i ReceiptRuleS3ActionArgs) ToReceiptRuleS3ActionOutput() ReceiptRuleS3ActionOutput

func (ReceiptRuleS3ActionArgs) ToReceiptRuleS3ActionOutputWithContext

func (i ReceiptRuleS3ActionArgs) ToReceiptRuleS3ActionOutputWithContext(ctx context.Context) ReceiptRuleS3ActionOutput

type ReceiptRuleS3ActionArray

type ReceiptRuleS3ActionArray []ReceiptRuleS3ActionInput

func (ReceiptRuleS3ActionArray) ElementType

func (ReceiptRuleS3ActionArray) ElementType() reflect.Type

func (ReceiptRuleS3ActionArray) ToReceiptRuleS3ActionArrayOutput

func (i ReceiptRuleS3ActionArray) ToReceiptRuleS3ActionArrayOutput() ReceiptRuleS3ActionArrayOutput

func (ReceiptRuleS3ActionArray) ToReceiptRuleS3ActionArrayOutputWithContext

func (i ReceiptRuleS3ActionArray) ToReceiptRuleS3ActionArrayOutputWithContext(ctx context.Context) ReceiptRuleS3ActionArrayOutput

type ReceiptRuleS3ActionArrayInput

type ReceiptRuleS3ActionArrayInput interface {
	pulumi.Input

	ToReceiptRuleS3ActionArrayOutput() ReceiptRuleS3ActionArrayOutput
	ToReceiptRuleS3ActionArrayOutputWithContext(context.Context) ReceiptRuleS3ActionArrayOutput
}

ReceiptRuleS3ActionArrayInput is an input type that accepts ReceiptRuleS3ActionArray and ReceiptRuleS3ActionArrayOutput values. You can construct a concrete instance of `ReceiptRuleS3ActionArrayInput` via:

ReceiptRuleS3ActionArray{ ReceiptRuleS3ActionArgs{...} }

type ReceiptRuleS3ActionArrayOutput

type ReceiptRuleS3ActionArrayOutput struct{ *pulumi.OutputState }

func (ReceiptRuleS3ActionArrayOutput) ElementType

func (ReceiptRuleS3ActionArrayOutput) Index

func (ReceiptRuleS3ActionArrayOutput) ToReceiptRuleS3ActionArrayOutput

func (o ReceiptRuleS3ActionArrayOutput) ToReceiptRuleS3ActionArrayOutput() ReceiptRuleS3ActionArrayOutput

func (ReceiptRuleS3ActionArrayOutput) ToReceiptRuleS3ActionArrayOutputWithContext

func (o ReceiptRuleS3ActionArrayOutput) ToReceiptRuleS3ActionArrayOutputWithContext(ctx context.Context) ReceiptRuleS3ActionArrayOutput

type ReceiptRuleS3ActionInput

type ReceiptRuleS3ActionInput interface {
	pulumi.Input

	ToReceiptRuleS3ActionOutput() ReceiptRuleS3ActionOutput
	ToReceiptRuleS3ActionOutputWithContext(context.Context) ReceiptRuleS3ActionOutput
}

ReceiptRuleS3ActionInput is an input type that accepts ReceiptRuleS3ActionArgs and ReceiptRuleS3ActionOutput values. You can construct a concrete instance of `ReceiptRuleS3ActionInput` via:

ReceiptRuleS3ActionArgs{...}

type ReceiptRuleS3ActionOutput

type ReceiptRuleS3ActionOutput struct{ *pulumi.OutputState }

func (ReceiptRuleS3ActionOutput) BucketName

The name of the S3 bucket

func (ReceiptRuleS3ActionOutput) ElementType

func (ReceiptRuleS3ActionOutput) ElementType() reflect.Type

func (ReceiptRuleS3ActionOutput) KmsKeyArn

The ARN of the KMS key

func (ReceiptRuleS3ActionOutput) ObjectKeyPrefix

func (o ReceiptRuleS3ActionOutput) ObjectKeyPrefix() pulumi.StringPtrOutput

The key prefix of the S3 bucket

func (ReceiptRuleS3ActionOutput) Position

The position of the action in the receipt rule

func (ReceiptRuleS3ActionOutput) ToReceiptRuleS3ActionOutput

func (o ReceiptRuleS3ActionOutput) ToReceiptRuleS3ActionOutput() ReceiptRuleS3ActionOutput

func (ReceiptRuleS3ActionOutput) ToReceiptRuleS3ActionOutputWithContext

func (o ReceiptRuleS3ActionOutput) ToReceiptRuleS3ActionOutputWithContext(ctx context.Context) ReceiptRuleS3ActionOutput

func (ReceiptRuleS3ActionOutput) TopicArn

The ARN of an SNS topic to notify

type ReceiptRuleSet

type ReceiptRuleSet struct {
	pulumi.CustomResourceState

	// SES receipt rule set ARN.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Name of the rule set.
	RuleSetName pulumi.StringOutput `pulumi:"ruleSetName"`
}

Provides an SES receipt rule set resource.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ses.NewReceiptRuleSet(ctx, "main", &ses.ReceiptRuleSetArgs{
			RuleSetName: pulumi.String("primary-rules"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SES receipt rule sets can be imported using the rule set name.

```sh

$ pulumi import aws:ses/receiptRuleSet:ReceiptRuleSet my_rule_set my_rule_set_name

```

func GetReceiptRuleSet

func GetReceiptRuleSet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReceiptRuleSetState, opts ...pulumi.ResourceOption) (*ReceiptRuleSet, error)

GetReceiptRuleSet gets an existing ReceiptRuleSet 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 NewReceiptRuleSet

func NewReceiptRuleSet(ctx *pulumi.Context,
	name string, args *ReceiptRuleSetArgs, opts ...pulumi.ResourceOption) (*ReceiptRuleSet, error)

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

func (*ReceiptRuleSet) ElementType

func (*ReceiptRuleSet) ElementType() reflect.Type

func (*ReceiptRuleSet) ToReceiptRuleSetOutput

func (i *ReceiptRuleSet) ToReceiptRuleSetOutput() ReceiptRuleSetOutput

func (*ReceiptRuleSet) ToReceiptRuleSetOutputWithContext

func (i *ReceiptRuleSet) ToReceiptRuleSetOutputWithContext(ctx context.Context) ReceiptRuleSetOutput

func (*ReceiptRuleSet) ToReceiptRuleSetPtrOutput

func (i *ReceiptRuleSet) ToReceiptRuleSetPtrOutput() ReceiptRuleSetPtrOutput

func (*ReceiptRuleSet) ToReceiptRuleSetPtrOutputWithContext

func (i *ReceiptRuleSet) ToReceiptRuleSetPtrOutputWithContext(ctx context.Context) ReceiptRuleSetPtrOutput

type ReceiptRuleSetArgs

type ReceiptRuleSetArgs struct {
	// Name of the rule set.
	RuleSetName pulumi.StringInput
}

The set of arguments for constructing a ReceiptRuleSet resource.

func (ReceiptRuleSetArgs) ElementType

func (ReceiptRuleSetArgs) ElementType() reflect.Type

type ReceiptRuleSetArray

type ReceiptRuleSetArray []ReceiptRuleSetInput

func (ReceiptRuleSetArray) ElementType

func (ReceiptRuleSetArray) ElementType() reflect.Type

func (ReceiptRuleSetArray) ToReceiptRuleSetArrayOutput

func (i ReceiptRuleSetArray) ToReceiptRuleSetArrayOutput() ReceiptRuleSetArrayOutput

func (ReceiptRuleSetArray) ToReceiptRuleSetArrayOutputWithContext

func (i ReceiptRuleSetArray) ToReceiptRuleSetArrayOutputWithContext(ctx context.Context) ReceiptRuleSetArrayOutput

type ReceiptRuleSetArrayInput

type ReceiptRuleSetArrayInput interface {
	pulumi.Input

	ToReceiptRuleSetArrayOutput() ReceiptRuleSetArrayOutput
	ToReceiptRuleSetArrayOutputWithContext(context.Context) ReceiptRuleSetArrayOutput
}

ReceiptRuleSetArrayInput is an input type that accepts ReceiptRuleSetArray and ReceiptRuleSetArrayOutput values. You can construct a concrete instance of `ReceiptRuleSetArrayInput` via:

ReceiptRuleSetArray{ ReceiptRuleSetArgs{...} }

type ReceiptRuleSetArrayOutput

type ReceiptRuleSetArrayOutput struct{ *pulumi.OutputState }

func (ReceiptRuleSetArrayOutput) ElementType

func (ReceiptRuleSetArrayOutput) ElementType() reflect.Type

func (ReceiptRuleSetArrayOutput) Index

func (ReceiptRuleSetArrayOutput) ToReceiptRuleSetArrayOutput

func (o ReceiptRuleSetArrayOutput) ToReceiptRuleSetArrayOutput() ReceiptRuleSetArrayOutput

func (ReceiptRuleSetArrayOutput) ToReceiptRuleSetArrayOutputWithContext

func (o ReceiptRuleSetArrayOutput) ToReceiptRuleSetArrayOutputWithContext(ctx context.Context) ReceiptRuleSetArrayOutput

type ReceiptRuleSetInput

type ReceiptRuleSetInput interface {
	pulumi.Input

	ToReceiptRuleSetOutput() ReceiptRuleSetOutput
	ToReceiptRuleSetOutputWithContext(ctx context.Context) ReceiptRuleSetOutput
}

type ReceiptRuleSetMap

type ReceiptRuleSetMap map[string]ReceiptRuleSetInput

func (ReceiptRuleSetMap) ElementType

func (ReceiptRuleSetMap) ElementType() reflect.Type

func (ReceiptRuleSetMap) ToReceiptRuleSetMapOutput

func (i ReceiptRuleSetMap) ToReceiptRuleSetMapOutput() ReceiptRuleSetMapOutput

func (ReceiptRuleSetMap) ToReceiptRuleSetMapOutputWithContext

func (i ReceiptRuleSetMap) ToReceiptRuleSetMapOutputWithContext(ctx context.Context) ReceiptRuleSetMapOutput

type ReceiptRuleSetMapInput

type ReceiptRuleSetMapInput interface {
	pulumi.Input

	ToReceiptRuleSetMapOutput() ReceiptRuleSetMapOutput
	ToReceiptRuleSetMapOutputWithContext(context.Context) ReceiptRuleSetMapOutput
}

ReceiptRuleSetMapInput is an input type that accepts ReceiptRuleSetMap and ReceiptRuleSetMapOutput values. You can construct a concrete instance of `ReceiptRuleSetMapInput` via:

ReceiptRuleSetMap{ "key": ReceiptRuleSetArgs{...} }

type ReceiptRuleSetMapOutput

type ReceiptRuleSetMapOutput struct{ *pulumi.OutputState }

func (ReceiptRuleSetMapOutput) ElementType

func (ReceiptRuleSetMapOutput) ElementType() reflect.Type

func (ReceiptRuleSetMapOutput) MapIndex

func (ReceiptRuleSetMapOutput) ToReceiptRuleSetMapOutput

func (o ReceiptRuleSetMapOutput) ToReceiptRuleSetMapOutput() ReceiptRuleSetMapOutput

func (ReceiptRuleSetMapOutput) ToReceiptRuleSetMapOutputWithContext

func (o ReceiptRuleSetMapOutput) ToReceiptRuleSetMapOutputWithContext(ctx context.Context) ReceiptRuleSetMapOutput

type ReceiptRuleSetOutput

type ReceiptRuleSetOutput struct{ *pulumi.OutputState }

func (ReceiptRuleSetOutput) ElementType

func (ReceiptRuleSetOutput) ElementType() reflect.Type

func (ReceiptRuleSetOutput) ToReceiptRuleSetOutput

func (o ReceiptRuleSetOutput) ToReceiptRuleSetOutput() ReceiptRuleSetOutput

func (ReceiptRuleSetOutput) ToReceiptRuleSetOutputWithContext

func (o ReceiptRuleSetOutput) ToReceiptRuleSetOutputWithContext(ctx context.Context) ReceiptRuleSetOutput

func (ReceiptRuleSetOutput) ToReceiptRuleSetPtrOutput

func (o ReceiptRuleSetOutput) ToReceiptRuleSetPtrOutput() ReceiptRuleSetPtrOutput

func (ReceiptRuleSetOutput) ToReceiptRuleSetPtrOutputWithContext

func (o ReceiptRuleSetOutput) ToReceiptRuleSetPtrOutputWithContext(ctx context.Context) ReceiptRuleSetPtrOutput

type ReceiptRuleSetPtrInput

type ReceiptRuleSetPtrInput interface {
	pulumi.Input

	ToReceiptRuleSetPtrOutput() ReceiptRuleSetPtrOutput
	ToReceiptRuleSetPtrOutputWithContext(ctx context.Context) ReceiptRuleSetPtrOutput
}

type ReceiptRuleSetPtrOutput

type ReceiptRuleSetPtrOutput struct{ *pulumi.OutputState }

func (ReceiptRuleSetPtrOutput) Elem added in v4.15.0

func (ReceiptRuleSetPtrOutput) ElementType

func (ReceiptRuleSetPtrOutput) ElementType() reflect.Type

func (ReceiptRuleSetPtrOutput) ToReceiptRuleSetPtrOutput

func (o ReceiptRuleSetPtrOutput) ToReceiptRuleSetPtrOutput() ReceiptRuleSetPtrOutput

func (ReceiptRuleSetPtrOutput) ToReceiptRuleSetPtrOutputWithContext

func (o ReceiptRuleSetPtrOutput) ToReceiptRuleSetPtrOutputWithContext(ctx context.Context) ReceiptRuleSetPtrOutput

type ReceiptRuleSetState

type ReceiptRuleSetState struct {
	// SES receipt rule set ARN.
	Arn pulumi.StringPtrInput
	// Name of the rule set.
	RuleSetName pulumi.StringPtrInput
}

func (ReceiptRuleSetState) ElementType

func (ReceiptRuleSetState) ElementType() reflect.Type

type ReceiptRuleSnsAction

type ReceiptRuleSnsAction struct {
	// The encoding to use for the email within the Amazon SNS notification. Default value is `UTF-8`.
	Encoding *string `pulumi:"encoding"`
	// The position of the action in the receipt rule
	Position int `pulumi:"position"`
	// The ARN of an SNS topic to notify
	TopicArn string `pulumi:"topicArn"`
}

type ReceiptRuleSnsActionArgs

type ReceiptRuleSnsActionArgs struct {
	// The encoding to use for the email within the Amazon SNS notification. Default value is `UTF-8`.
	Encoding pulumi.StringPtrInput `pulumi:"encoding"`
	// The position of the action in the receipt rule
	Position pulumi.IntInput `pulumi:"position"`
	// The ARN of an SNS topic to notify
	TopicArn pulumi.StringInput `pulumi:"topicArn"`
}

func (ReceiptRuleSnsActionArgs) ElementType

func (ReceiptRuleSnsActionArgs) ElementType() reflect.Type

func (ReceiptRuleSnsActionArgs) ToReceiptRuleSnsActionOutput

func (i ReceiptRuleSnsActionArgs) ToReceiptRuleSnsActionOutput() ReceiptRuleSnsActionOutput

func (ReceiptRuleSnsActionArgs) ToReceiptRuleSnsActionOutputWithContext

func (i ReceiptRuleSnsActionArgs) ToReceiptRuleSnsActionOutputWithContext(ctx context.Context) ReceiptRuleSnsActionOutput

type ReceiptRuleSnsActionArray

type ReceiptRuleSnsActionArray []ReceiptRuleSnsActionInput

func (ReceiptRuleSnsActionArray) ElementType

func (ReceiptRuleSnsActionArray) ElementType() reflect.Type

func (ReceiptRuleSnsActionArray) ToReceiptRuleSnsActionArrayOutput

func (i ReceiptRuleSnsActionArray) ToReceiptRuleSnsActionArrayOutput() ReceiptRuleSnsActionArrayOutput

func (ReceiptRuleSnsActionArray) ToReceiptRuleSnsActionArrayOutputWithContext

func (i ReceiptRuleSnsActionArray) ToReceiptRuleSnsActionArrayOutputWithContext(ctx context.Context) ReceiptRuleSnsActionArrayOutput

type ReceiptRuleSnsActionArrayInput

type ReceiptRuleSnsActionArrayInput interface {
	pulumi.Input

	ToReceiptRuleSnsActionArrayOutput() ReceiptRuleSnsActionArrayOutput
	ToReceiptRuleSnsActionArrayOutputWithContext(context.Context) ReceiptRuleSnsActionArrayOutput
}

ReceiptRuleSnsActionArrayInput is an input type that accepts ReceiptRuleSnsActionArray and ReceiptRuleSnsActionArrayOutput values. You can construct a concrete instance of `ReceiptRuleSnsActionArrayInput` via:

ReceiptRuleSnsActionArray{ ReceiptRuleSnsActionArgs{...} }

type ReceiptRuleSnsActionArrayOutput

type ReceiptRuleSnsActionArrayOutput struct{ *pulumi.OutputState }

func (ReceiptRuleSnsActionArrayOutput) ElementType

func (ReceiptRuleSnsActionArrayOutput) Index

func (ReceiptRuleSnsActionArrayOutput) ToReceiptRuleSnsActionArrayOutput

func (o ReceiptRuleSnsActionArrayOutput) ToReceiptRuleSnsActionArrayOutput() ReceiptRuleSnsActionArrayOutput

func (ReceiptRuleSnsActionArrayOutput) ToReceiptRuleSnsActionArrayOutputWithContext

func (o ReceiptRuleSnsActionArrayOutput) ToReceiptRuleSnsActionArrayOutputWithContext(ctx context.Context) ReceiptRuleSnsActionArrayOutput

type ReceiptRuleSnsActionInput

type ReceiptRuleSnsActionInput interface {
	pulumi.Input

	ToReceiptRuleSnsActionOutput() ReceiptRuleSnsActionOutput
	ToReceiptRuleSnsActionOutputWithContext(context.Context) ReceiptRuleSnsActionOutput
}

ReceiptRuleSnsActionInput is an input type that accepts ReceiptRuleSnsActionArgs and ReceiptRuleSnsActionOutput values. You can construct a concrete instance of `ReceiptRuleSnsActionInput` via:

ReceiptRuleSnsActionArgs{...}

type ReceiptRuleSnsActionOutput

type ReceiptRuleSnsActionOutput struct{ *pulumi.OutputState }

func (ReceiptRuleSnsActionOutput) ElementType

func (ReceiptRuleSnsActionOutput) ElementType() reflect.Type

func (ReceiptRuleSnsActionOutput) Encoding added in v4.2.0

The encoding to use for the email within the Amazon SNS notification. Default value is `UTF-8`.

func (ReceiptRuleSnsActionOutput) Position

The position of the action in the receipt rule

func (ReceiptRuleSnsActionOutput) ToReceiptRuleSnsActionOutput

func (o ReceiptRuleSnsActionOutput) ToReceiptRuleSnsActionOutput() ReceiptRuleSnsActionOutput

func (ReceiptRuleSnsActionOutput) ToReceiptRuleSnsActionOutputWithContext

func (o ReceiptRuleSnsActionOutput) ToReceiptRuleSnsActionOutputWithContext(ctx context.Context) ReceiptRuleSnsActionOutput

func (ReceiptRuleSnsActionOutput) TopicArn

The ARN of an SNS topic to notify

type ReceiptRuleState

type ReceiptRuleState struct {
	// A list of Add Header Action blocks. Documented below.
	AddHeaderActions ReceiptRuleAddHeaderActionArrayInput
	// The name of the rule to place this rule after
	After pulumi.StringPtrInput
	// The SES receipt rule ARN.
	Arn pulumi.StringPtrInput
	// A list of Bounce Action blocks. Documented below.
	BounceActions ReceiptRuleBounceActionArrayInput
	// If true, the rule will be enabled
	Enabled pulumi.BoolPtrInput
	// A list of Lambda Action blocks. Documented below.
	LambdaActions ReceiptRuleLambdaActionArrayInput
	// The name of the rule
	Name pulumi.StringPtrInput
	// A list of email addresses
	Recipients pulumi.StringArrayInput
	// The name of the rule set
	RuleSetName pulumi.StringPtrInput
	// A list of S3 Action blocks. Documented below.
	S3Actions ReceiptRuleS3ActionArrayInput
	// If true, incoming emails will be scanned for spam and viruses
	ScanEnabled pulumi.BoolPtrInput
	// A list of SNS Action blocks. Documented below.
	SnsActions ReceiptRuleSnsActionArrayInput
	// A list of Stop Action blocks. Documented below.
	StopActions ReceiptRuleStopActionArrayInput
	// `Require` or `Optional`
	TlsPolicy pulumi.StringPtrInput
	// A list of WorkMail Action blocks. Documented below.
	WorkmailActions ReceiptRuleWorkmailActionArrayInput
}

func (ReceiptRuleState) ElementType

func (ReceiptRuleState) ElementType() reflect.Type

type ReceiptRuleStopAction

type ReceiptRuleStopAction struct {
	// The position of the action in the receipt rule
	Position int `pulumi:"position"`
	// The scope to apply
	Scope string `pulumi:"scope"`
	// The ARN of an SNS topic to notify
	TopicArn *string `pulumi:"topicArn"`
}

type ReceiptRuleStopActionArgs

type ReceiptRuleStopActionArgs struct {
	// The position of the action in the receipt rule
	Position pulumi.IntInput `pulumi:"position"`
	// The scope to apply
	Scope pulumi.StringInput `pulumi:"scope"`
	// The ARN of an SNS topic to notify
	TopicArn pulumi.StringPtrInput `pulumi:"topicArn"`
}

func (ReceiptRuleStopActionArgs) ElementType

func (ReceiptRuleStopActionArgs) ElementType() reflect.Type

func (ReceiptRuleStopActionArgs) ToReceiptRuleStopActionOutput

func (i ReceiptRuleStopActionArgs) ToReceiptRuleStopActionOutput() ReceiptRuleStopActionOutput

func (ReceiptRuleStopActionArgs) ToReceiptRuleStopActionOutputWithContext

func (i ReceiptRuleStopActionArgs) ToReceiptRuleStopActionOutputWithContext(ctx context.Context) ReceiptRuleStopActionOutput

type ReceiptRuleStopActionArray

type ReceiptRuleStopActionArray []ReceiptRuleStopActionInput

func (ReceiptRuleStopActionArray) ElementType

func (ReceiptRuleStopActionArray) ElementType() reflect.Type

func (ReceiptRuleStopActionArray) ToReceiptRuleStopActionArrayOutput

func (i ReceiptRuleStopActionArray) ToReceiptRuleStopActionArrayOutput() ReceiptRuleStopActionArrayOutput

func (ReceiptRuleStopActionArray) ToReceiptRuleStopActionArrayOutputWithContext

func (i ReceiptRuleStopActionArray) ToReceiptRuleStopActionArrayOutputWithContext(ctx context.Context) ReceiptRuleStopActionArrayOutput

type ReceiptRuleStopActionArrayInput

type ReceiptRuleStopActionArrayInput interface {
	pulumi.Input

	ToReceiptRuleStopActionArrayOutput() ReceiptRuleStopActionArrayOutput
	ToReceiptRuleStopActionArrayOutputWithContext(context.Context) ReceiptRuleStopActionArrayOutput
}

ReceiptRuleStopActionArrayInput is an input type that accepts ReceiptRuleStopActionArray and ReceiptRuleStopActionArrayOutput values. You can construct a concrete instance of `ReceiptRuleStopActionArrayInput` via:

ReceiptRuleStopActionArray{ ReceiptRuleStopActionArgs{...} }

type ReceiptRuleStopActionArrayOutput

type ReceiptRuleStopActionArrayOutput struct{ *pulumi.OutputState }

func (ReceiptRuleStopActionArrayOutput) ElementType

func (ReceiptRuleStopActionArrayOutput) Index

func (ReceiptRuleStopActionArrayOutput) ToReceiptRuleStopActionArrayOutput

func (o ReceiptRuleStopActionArrayOutput) ToReceiptRuleStopActionArrayOutput() ReceiptRuleStopActionArrayOutput

func (ReceiptRuleStopActionArrayOutput) ToReceiptRuleStopActionArrayOutputWithContext

func (o ReceiptRuleStopActionArrayOutput) ToReceiptRuleStopActionArrayOutputWithContext(ctx context.Context) ReceiptRuleStopActionArrayOutput

type ReceiptRuleStopActionInput

type ReceiptRuleStopActionInput interface {
	pulumi.Input

	ToReceiptRuleStopActionOutput() ReceiptRuleStopActionOutput
	ToReceiptRuleStopActionOutputWithContext(context.Context) ReceiptRuleStopActionOutput
}

ReceiptRuleStopActionInput is an input type that accepts ReceiptRuleStopActionArgs and ReceiptRuleStopActionOutput values. You can construct a concrete instance of `ReceiptRuleStopActionInput` via:

ReceiptRuleStopActionArgs{...}

type ReceiptRuleStopActionOutput

type ReceiptRuleStopActionOutput struct{ *pulumi.OutputState }

func (ReceiptRuleStopActionOutput) ElementType

func (ReceiptRuleStopActionOutput) Position

The position of the action in the receipt rule

func (ReceiptRuleStopActionOutput) Scope

The scope to apply

func (ReceiptRuleStopActionOutput) ToReceiptRuleStopActionOutput

func (o ReceiptRuleStopActionOutput) ToReceiptRuleStopActionOutput() ReceiptRuleStopActionOutput

func (ReceiptRuleStopActionOutput) ToReceiptRuleStopActionOutputWithContext

func (o ReceiptRuleStopActionOutput) ToReceiptRuleStopActionOutputWithContext(ctx context.Context) ReceiptRuleStopActionOutput

func (ReceiptRuleStopActionOutput) TopicArn

The ARN of an SNS topic to notify

type ReceiptRuleWorkmailAction

type ReceiptRuleWorkmailAction struct {
	// The ARN of the WorkMail organization
	OrganizationArn string `pulumi:"organizationArn"`
	// The position of the action in the receipt rule
	Position int `pulumi:"position"`
	// The ARN of an SNS topic to notify
	TopicArn *string `pulumi:"topicArn"`
}

type ReceiptRuleWorkmailActionArgs

type ReceiptRuleWorkmailActionArgs struct {
	// The ARN of the WorkMail organization
	OrganizationArn pulumi.StringInput `pulumi:"organizationArn"`
	// The position of the action in the receipt rule
	Position pulumi.IntInput `pulumi:"position"`
	// The ARN of an SNS topic to notify
	TopicArn pulumi.StringPtrInput `pulumi:"topicArn"`
}

func (ReceiptRuleWorkmailActionArgs) ElementType

func (ReceiptRuleWorkmailActionArgs) ToReceiptRuleWorkmailActionOutput

func (i ReceiptRuleWorkmailActionArgs) ToReceiptRuleWorkmailActionOutput() ReceiptRuleWorkmailActionOutput

func (ReceiptRuleWorkmailActionArgs) ToReceiptRuleWorkmailActionOutputWithContext

func (i ReceiptRuleWorkmailActionArgs) ToReceiptRuleWorkmailActionOutputWithContext(ctx context.Context) ReceiptRuleWorkmailActionOutput

type ReceiptRuleWorkmailActionArray

type ReceiptRuleWorkmailActionArray []ReceiptRuleWorkmailActionInput

func (ReceiptRuleWorkmailActionArray) ElementType

func (ReceiptRuleWorkmailActionArray) ToReceiptRuleWorkmailActionArrayOutput

func (i ReceiptRuleWorkmailActionArray) ToReceiptRuleWorkmailActionArrayOutput() ReceiptRuleWorkmailActionArrayOutput

func (ReceiptRuleWorkmailActionArray) ToReceiptRuleWorkmailActionArrayOutputWithContext

func (i ReceiptRuleWorkmailActionArray) ToReceiptRuleWorkmailActionArrayOutputWithContext(ctx context.Context) ReceiptRuleWorkmailActionArrayOutput

type ReceiptRuleWorkmailActionArrayInput

type ReceiptRuleWorkmailActionArrayInput interface {
	pulumi.Input

	ToReceiptRuleWorkmailActionArrayOutput() ReceiptRuleWorkmailActionArrayOutput
	ToReceiptRuleWorkmailActionArrayOutputWithContext(context.Context) ReceiptRuleWorkmailActionArrayOutput
}

ReceiptRuleWorkmailActionArrayInput is an input type that accepts ReceiptRuleWorkmailActionArray and ReceiptRuleWorkmailActionArrayOutput values. You can construct a concrete instance of `ReceiptRuleWorkmailActionArrayInput` via:

ReceiptRuleWorkmailActionArray{ ReceiptRuleWorkmailActionArgs{...} }

type ReceiptRuleWorkmailActionArrayOutput

type ReceiptRuleWorkmailActionArrayOutput struct{ *pulumi.OutputState }

func (ReceiptRuleWorkmailActionArrayOutput) ElementType

func (ReceiptRuleWorkmailActionArrayOutput) Index

func (ReceiptRuleWorkmailActionArrayOutput) ToReceiptRuleWorkmailActionArrayOutput

func (o ReceiptRuleWorkmailActionArrayOutput) ToReceiptRuleWorkmailActionArrayOutput() ReceiptRuleWorkmailActionArrayOutput

func (ReceiptRuleWorkmailActionArrayOutput) ToReceiptRuleWorkmailActionArrayOutputWithContext

func (o ReceiptRuleWorkmailActionArrayOutput) ToReceiptRuleWorkmailActionArrayOutputWithContext(ctx context.Context) ReceiptRuleWorkmailActionArrayOutput

type ReceiptRuleWorkmailActionInput

type ReceiptRuleWorkmailActionInput interface {
	pulumi.Input

	ToReceiptRuleWorkmailActionOutput() ReceiptRuleWorkmailActionOutput
	ToReceiptRuleWorkmailActionOutputWithContext(context.Context) ReceiptRuleWorkmailActionOutput
}

ReceiptRuleWorkmailActionInput is an input type that accepts ReceiptRuleWorkmailActionArgs and ReceiptRuleWorkmailActionOutput values. You can construct a concrete instance of `ReceiptRuleWorkmailActionInput` via:

ReceiptRuleWorkmailActionArgs{...}

type ReceiptRuleWorkmailActionOutput

type ReceiptRuleWorkmailActionOutput struct{ *pulumi.OutputState }

func (ReceiptRuleWorkmailActionOutput) ElementType

func (ReceiptRuleWorkmailActionOutput) OrganizationArn

The ARN of the WorkMail organization

func (ReceiptRuleWorkmailActionOutput) Position

The position of the action in the receipt rule

func (ReceiptRuleWorkmailActionOutput) ToReceiptRuleWorkmailActionOutput

func (o ReceiptRuleWorkmailActionOutput) ToReceiptRuleWorkmailActionOutput() ReceiptRuleWorkmailActionOutput

func (ReceiptRuleWorkmailActionOutput) ToReceiptRuleWorkmailActionOutputWithContext

func (o ReceiptRuleWorkmailActionOutput) ToReceiptRuleWorkmailActionOutputWithContext(ctx context.Context) ReceiptRuleWorkmailActionOutput

func (ReceiptRuleWorkmailActionOutput) TopicArn

The ARN of an SNS topic to notify

type Template

type Template struct {
	pulumi.CustomResourceState

	// The ARN of the SES template
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The HTML body of the email. Must be less than 500KB in size, including both the text and HTML parts.
	Html pulumi.StringPtrOutput `pulumi:"html"`
	// The name of the template. Cannot exceed 64 characters. You will refer to this name when you send email.
	Name pulumi.StringOutput `pulumi:"name"`
	// The subject line of the email.
	Subject pulumi.StringPtrOutput `pulumi:"subject"`
	// The email body that will be visible to recipients whose email clients do not display HTML. Must be less than 500KB in size, including both the text and HTML parts.
	Text pulumi.StringPtrOutput `pulumi:"text"`
}

Provides a resource to create a SES template.

## Example Usage

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ses.NewTemplate(ctx, "myTemplate", &ses.TemplateArgs{
			Html:    pulumi.String("<h1>Hello {{name}},</h1><p>Your favorite animal is {{favoriteanimal}}.</p>"),
			Subject: pulumi.String("Greetings, {{name}}!"),
			Text: pulumi.String(fmt.Sprintf("%v%v", "Hello {{name}},\n", "Your favorite animal is {{favoriteanimal}}.\n")),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SES templates can be imported using the template name, e.g.

```sh

$ pulumi import aws:ses/template:Template MyTemplate MyTemplate

```

func GetTemplate

func GetTemplate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TemplateState, opts ...pulumi.ResourceOption) (*Template, error)

GetTemplate gets an existing Template 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 NewTemplate

func NewTemplate(ctx *pulumi.Context,
	name string, args *TemplateArgs, opts ...pulumi.ResourceOption) (*Template, error)

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

func (*Template) ElementType

func (*Template) ElementType() reflect.Type

func (*Template) ToTemplateOutput

func (i *Template) ToTemplateOutput() TemplateOutput

func (*Template) ToTemplateOutputWithContext

func (i *Template) ToTemplateOutputWithContext(ctx context.Context) TemplateOutput

func (*Template) ToTemplatePtrOutput

func (i *Template) ToTemplatePtrOutput() TemplatePtrOutput

func (*Template) ToTemplatePtrOutputWithContext

func (i *Template) ToTemplatePtrOutputWithContext(ctx context.Context) TemplatePtrOutput

type TemplateArgs

type TemplateArgs struct {
	// The HTML body of the email. Must be less than 500KB in size, including both the text and HTML parts.
	Html pulumi.StringPtrInput
	// The name of the template. Cannot exceed 64 characters. You will refer to this name when you send email.
	Name pulumi.StringPtrInput
	// The subject line of the email.
	Subject pulumi.StringPtrInput
	// The email body that will be visible to recipients whose email clients do not display HTML. Must be less than 500KB in size, including both the text and HTML parts.
	Text pulumi.StringPtrInput
}

The set of arguments for constructing a Template resource.

func (TemplateArgs) ElementType

func (TemplateArgs) ElementType() reflect.Type

type TemplateArray

type TemplateArray []TemplateInput

func (TemplateArray) ElementType

func (TemplateArray) ElementType() reflect.Type

func (TemplateArray) ToTemplateArrayOutput

func (i TemplateArray) ToTemplateArrayOutput() TemplateArrayOutput

func (TemplateArray) ToTemplateArrayOutputWithContext

func (i TemplateArray) ToTemplateArrayOutputWithContext(ctx context.Context) TemplateArrayOutput

type TemplateArrayInput

type TemplateArrayInput interface {
	pulumi.Input

	ToTemplateArrayOutput() TemplateArrayOutput
	ToTemplateArrayOutputWithContext(context.Context) TemplateArrayOutput
}

TemplateArrayInput is an input type that accepts TemplateArray and TemplateArrayOutput values. You can construct a concrete instance of `TemplateArrayInput` via:

TemplateArray{ TemplateArgs{...} }

type TemplateArrayOutput

type TemplateArrayOutput struct{ *pulumi.OutputState }

func (TemplateArrayOutput) ElementType

func (TemplateArrayOutput) ElementType() reflect.Type

func (TemplateArrayOutput) Index

func (TemplateArrayOutput) ToTemplateArrayOutput

func (o TemplateArrayOutput) ToTemplateArrayOutput() TemplateArrayOutput

func (TemplateArrayOutput) ToTemplateArrayOutputWithContext

func (o TemplateArrayOutput) ToTemplateArrayOutputWithContext(ctx context.Context) TemplateArrayOutput

type TemplateInput

type TemplateInput interface {
	pulumi.Input

	ToTemplateOutput() TemplateOutput
	ToTemplateOutputWithContext(ctx context.Context) TemplateOutput
}

type TemplateMap

type TemplateMap map[string]TemplateInput

func (TemplateMap) ElementType

func (TemplateMap) ElementType() reflect.Type

func (TemplateMap) ToTemplateMapOutput

func (i TemplateMap) ToTemplateMapOutput() TemplateMapOutput

func (TemplateMap) ToTemplateMapOutputWithContext

func (i TemplateMap) ToTemplateMapOutputWithContext(ctx context.Context) TemplateMapOutput

type TemplateMapInput

type TemplateMapInput interface {
	pulumi.Input

	ToTemplateMapOutput() TemplateMapOutput
	ToTemplateMapOutputWithContext(context.Context) TemplateMapOutput
}

TemplateMapInput is an input type that accepts TemplateMap and TemplateMapOutput values. You can construct a concrete instance of `TemplateMapInput` via:

TemplateMap{ "key": TemplateArgs{...} }

type TemplateMapOutput

type TemplateMapOutput struct{ *pulumi.OutputState }

func (TemplateMapOutput) ElementType

func (TemplateMapOutput) ElementType() reflect.Type

func (TemplateMapOutput) MapIndex

func (TemplateMapOutput) ToTemplateMapOutput

func (o TemplateMapOutput) ToTemplateMapOutput() TemplateMapOutput

func (TemplateMapOutput) ToTemplateMapOutputWithContext

func (o TemplateMapOutput) ToTemplateMapOutputWithContext(ctx context.Context) TemplateMapOutput

type TemplateOutput

type TemplateOutput struct{ *pulumi.OutputState }

func (TemplateOutput) ElementType

func (TemplateOutput) ElementType() reflect.Type

func (TemplateOutput) ToTemplateOutput

func (o TemplateOutput) ToTemplateOutput() TemplateOutput

func (TemplateOutput) ToTemplateOutputWithContext

func (o TemplateOutput) ToTemplateOutputWithContext(ctx context.Context) TemplateOutput

func (TemplateOutput) ToTemplatePtrOutput

func (o TemplateOutput) ToTemplatePtrOutput() TemplatePtrOutput

func (TemplateOutput) ToTemplatePtrOutputWithContext

func (o TemplateOutput) ToTemplatePtrOutputWithContext(ctx context.Context) TemplatePtrOutput

type TemplatePtrInput

type TemplatePtrInput interface {
	pulumi.Input

	ToTemplatePtrOutput() TemplatePtrOutput
	ToTemplatePtrOutputWithContext(ctx context.Context) TemplatePtrOutput
}

type TemplatePtrOutput

type TemplatePtrOutput struct{ *pulumi.OutputState }

func (TemplatePtrOutput) Elem added in v4.15.0

func (TemplatePtrOutput) ElementType

func (TemplatePtrOutput) ElementType() reflect.Type

func (TemplatePtrOutput) ToTemplatePtrOutput

func (o TemplatePtrOutput) ToTemplatePtrOutput() TemplatePtrOutput

func (TemplatePtrOutput) ToTemplatePtrOutputWithContext

func (o TemplatePtrOutput) ToTemplatePtrOutputWithContext(ctx context.Context) TemplatePtrOutput

type TemplateState

type TemplateState struct {
	// The ARN of the SES template
	Arn pulumi.StringPtrInput
	// The HTML body of the email. Must be less than 500KB in size, including both the text and HTML parts.
	Html pulumi.StringPtrInput
	// The name of the template. Cannot exceed 64 characters. You will refer to this name when you send email.
	Name pulumi.StringPtrInput
	// The subject line of the email.
	Subject pulumi.StringPtrInput
	// The email body that will be visible to recipients whose email clients do not display HTML. Must be less than 500KB in size, including both the text and HTML parts.
	Text pulumi.StringPtrInput
}

func (TemplateState) ElementType

func (TemplateState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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