ses

package
v3.29.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 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/v3/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.13.0

func (*ActiveReceiptRuleSet) ElementType() reflect.Type

func (*ActiveReceiptRuleSet) ToActiveReceiptRuleSetOutput added in v3.13.0

func (i *ActiveReceiptRuleSet) ToActiveReceiptRuleSetOutput() ActiveReceiptRuleSetOutput

func (*ActiveReceiptRuleSet) ToActiveReceiptRuleSetOutputWithContext added in v3.13.0

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

func (*ActiveReceiptRuleSet) ToActiveReceiptRuleSetPtrOutput added in v3.25.0

func (i *ActiveReceiptRuleSet) ToActiveReceiptRuleSetPtrOutput() ActiveReceiptRuleSetPtrOutput

func (*ActiveReceiptRuleSet) ToActiveReceiptRuleSetPtrOutputWithContext added in v3.25.0

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 added in v3.25.0

type ActiveReceiptRuleSetArray []ActiveReceiptRuleSetInput

func (ActiveReceiptRuleSetArray) ElementType added in v3.25.0

func (ActiveReceiptRuleSetArray) ElementType() reflect.Type

func (ActiveReceiptRuleSetArray) ToActiveReceiptRuleSetArrayOutput added in v3.25.0

func (i ActiveReceiptRuleSetArray) ToActiveReceiptRuleSetArrayOutput() ActiveReceiptRuleSetArrayOutput

func (ActiveReceiptRuleSetArray) ToActiveReceiptRuleSetArrayOutputWithContext added in v3.25.0

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

type ActiveReceiptRuleSetArrayInput added in v3.25.0

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 added in v3.25.0

type ActiveReceiptRuleSetArrayOutput struct{ *pulumi.OutputState }

func (ActiveReceiptRuleSetArrayOutput) ElementType added in v3.25.0

func (ActiveReceiptRuleSetArrayOutput) Index added in v3.25.0

func (ActiveReceiptRuleSetArrayOutput) ToActiveReceiptRuleSetArrayOutput added in v3.25.0

func (o ActiveReceiptRuleSetArrayOutput) ToActiveReceiptRuleSetArrayOutput() ActiveReceiptRuleSetArrayOutput

func (ActiveReceiptRuleSetArrayOutput) ToActiveReceiptRuleSetArrayOutputWithContext added in v3.25.0

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

type ActiveReceiptRuleSetInput added in v3.13.0

type ActiveReceiptRuleSetInput interface {
	pulumi.Input

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

type ActiveReceiptRuleSetMap added in v3.25.0

type ActiveReceiptRuleSetMap map[string]ActiveReceiptRuleSetInput

func (ActiveReceiptRuleSetMap) ElementType added in v3.25.0

func (ActiveReceiptRuleSetMap) ElementType() reflect.Type

func (ActiveReceiptRuleSetMap) ToActiveReceiptRuleSetMapOutput added in v3.25.0

func (i ActiveReceiptRuleSetMap) ToActiveReceiptRuleSetMapOutput() ActiveReceiptRuleSetMapOutput

func (ActiveReceiptRuleSetMap) ToActiveReceiptRuleSetMapOutputWithContext added in v3.25.0

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

type ActiveReceiptRuleSetMapInput added in v3.25.0

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 added in v3.25.0

type ActiveReceiptRuleSetMapOutput struct{ *pulumi.OutputState }

func (ActiveReceiptRuleSetMapOutput) ElementType added in v3.25.0

func (ActiveReceiptRuleSetMapOutput) MapIndex added in v3.25.0

func (ActiveReceiptRuleSetMapOutput) ToActiveReceiptRuleSetMapOutput added in v3.25.0

func (o ActiveReceiptRuleSetMapOutput) ToActiveReceiptRuleSetMapOutput() ActiveReceiptRuleSetMapOutput

func (ActiveReceiptRuleSetMapOutput) ToActiveReceiptRuleSetMapOutputWithContext added in v3.25.0

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

type ActiveReceiptRuleSetOutput added in v3.13.0

type ActiveReceiptRuleSetOutput struct {
	*pulumi.OutputState
}

func (ActiveReceiptRuleSetOutput) ElementType added in v3.13.0

func (ActiveReceiptRuleSetOutput) ElementType() reflect.Type

func (ActiveReceiptRuleSetOutput) ToActiveReceiptRuleSetOutput added in v3.13.0

func (o ActiveReceiptRuleSetOutput) ToActiveReceiptRuleSetOutput() ActiveReceiptRuleSetOutput

func (ActiveReceiptRuleSetOutput) ToActiveReceiptRuleSetOutputWithContext added in v3.13.0

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

func (ActiveReceiptRuleSetOutput) ToActiveReceiptRuleSetPtrOutput added in v3.25.0

func (o ActiveReceiptRuleSetOutput) ToActiveReceiptRuleSetPtrOutput() ActiveReceiptRuleSetPtrOutput

func (ActiveReceiptRuleSetOutput) ToActiveReceiptRuleSetPtrOutputWithContext added in v3.25.0

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

type ActiveReceiptRuleSetPtrInput added in v3.25.0

type ActiveReceiptRuleSetPtrInput interface {
	pulumi.Input

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

type ActiveReceiptRuleSetPtrOutput added in v3.25.0

type ActiveReceiptRuleSetPtrOutput struct {
	*pulumi.OutputState
}

func (ActiveReceiptRuleSetPtrOutput) ElementType added in v3.25.0

func (ActiveReceiptRuleSetPtrOutput) ToActiveReceiptRuleSetPtrOutput added in v3.25.0

func (o ActiveReceiptRuleSetPtrOutput) ToActiveReceiptRuleSetPtrOutput() ActiveReceiptRuleSetPtrOutput

func (ActiveReceiptRuleSetPtrOutput) ToActiveReceiptRuleSetPtrOutputWithContext added in v3.25.0

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"`
	// Name of the configuration set.
	Name pulumi.StringOutput `pulumi:"name"`
}

Provides an SES configuration set resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v2/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/v3/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.13.0

func (*ConfgurationSet) ElementType() reflect.Type

func (*ConfgurationSet) ToConfgurationSetOutput added in v3.13.0

func (i *ConfgurationSet) ToConfgurationSetOutput() ConfgurationSetOutput

func (*ConfgurationSet) ToConfgurationSetOutputWithContext added in v3.13.0

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

func (*ConfgurationSet) ToConfgurationSetPtrOutput added in v3.25.0

func (i *ConfgurationSet) ToConfgurationSetPtrOutput() ConfgurationSetPtrOutput

func (*ConfgurationSet) ToConfgurationSetPtrOutputWithContext added in v3.25.0

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
}

The set of arguments for constructing a ConfgurationSet resource.

func (ConfgurationSetArgs) ElementType

func (ConfgurationSetArgs) ElementType() reflect.Type

type ConfgurationSetArray added in v3.25.0

type ConfgurationSetArray []ConfgurationSetInput

func (ConfgurationSetArray) ElementType added in v3.25.0

func (ConfgurationSetArray) ElementType() reflect.Type

func (ConfgurationSetArray) ToConfgurationSetArrayOutput added in v3.25.0

func (i ConfgurationSetArray) ToConfgurationSetArrayOutput() ConfgurationSetArrayOutput

func (ConfgurationSetArray) ToConfgurationSetArrayOutputWithContext added in v3.25.0

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

type ConfgurationSetArrayInput added in v3.25.0

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 added in v3.25.0

type ConfgurationSetArrayOutput struct{ *pulumi.OutputState }

func (ConfgurationSetArrayOutput) ElementType added in v3.25.0

func (ConfgurationSetArrayOutput) ElementType() reflect.Type

func (ConfgurationSetArrayOutput) Index added in v3.25.0

func (ConfgurationSetArrayOutput) ToConfgurationSetArrayOutput added in v3.25.0

func (o ConfgurationSetArrayOutput) ToConfgurationSetArrayOutput() ConfgurationSetArrayOutput

func (ConfgurationSetArrayOutput) ToConfgurationSetArrayOutputWithContext added in v3.25.0

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

type ConfgurationSetDeliveryOptions added in v3.29.0

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 added in v3.29.0

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 added in v3.29.0

func (ConfgurationSetDeliveryOptionsArgs) ToConfgurationSetDeliveryOptionsOutput added in v3.29.0

func (i ConfgurationSetDeliveryOptionsArgs) ToConfgurationSetDeliveryOptionsOutput() ConfgurationSetDeliveryOptionsOutput

func (ConfgurationSetDeliveryOptionsArgs) ToConfgurationSetDeliveryOptionsOutputWithContext added in v3.29.0

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

func (ConfgurationSetDeliveryOptionsArgs) ToConfgurationSetDeliveryOptionsPtrOutput added in v3.29.0

func (i ConfgurationSetDeliveryOptionsArgs) ToConfgurationSetDeliveryOptionsPtrOutput() ConfgurationSetDeliveryOptionsPtrOutput

func (ConfgurationSetDeliveryOptionsArgs) ToConfgurationSetDeliveryOptionsPtrOutputWithContext added in v3.29.0

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

type ConfgurationSetDeliveryOptionsInput added in v3.29.0

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 added in v3.29.0

type ConfgurationSetDeliveryOptionsOutput struct{ *pulumi.OutputState }

func (ConfgurationSetDeliveryOptionsOutput) ElementType added in v3.29.0

func (ConfgurationSetDeliveryOptionsOutput) TlsPolicy added in v3.29.0

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 added in v3.29.0

func (o ConfgurationSetDeliveryOptionsOutput) ToConfgurationSetDeliveryOptionsOutput() ConfgurationSetDeliveryOptionsOutput

func (ConfgurationSetDeliveryOptionsOutput) ToConfgurationSetDeliveryOptionsOutputWithContext added in v3.29.0

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

func (ConfgurationSetDeliveryOptionsOutput) ToConfgurationSetDeliveryOptionsPtrOutput added in v3.29.0

func (o ConfgurationSetDeliveryOptionsOutput) ToConfgurationSetDeliveryOptionsPtrOutput() ConfgurationSetDeliveryOptionsPtrOutput

func (ConfgurationSetDeliveryOptionsOutput) ToConfgurationSetDeliveryOptionsPtrOutputWithContext added in v3.29.0

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

type ConfgurationSetDeliveryOptionsPtrInput added in v3.29.0

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 added in v3.29.0

type ConfgurationSetDeliveryOptionsPtrOutput struct{ *pulumi.OutputState }

func (ConfgurationSetDeliveryOptionsPtrOutput) Elem added in v3.29.0

func (ConfgurationSetDeliveryOptionsPtrOutput) ElementType added in v3.29.0

func (ConfgurationSetDeliveryOptionsPtrOutput) TlsPolicy added in v3.29.0

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 added in v3.29.0

func (o ConfgurationSetDeliveryOptionsPtrOutput) ToConfgurationSetDeliveryOptionsPtrOutput() ConfgurationSetDeliveryOptionsPtrOutput

func (ConfgurationSetDeliveryOptionsPtrOutput) ToConfgurationSetDeliveryOptionsPtrOutputWithContext added in v3.29.0

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

type ConfgurationSetInput added in v3.13.0

type ConfgurationSetInput interface {
	pulumi.Input

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

type ConfgurationSetMap added in v3.25.0

type ConfgurationSetMap map[string]ConfgurationSetInput

func (ConfgurationSetMap) ElementType added in v3.25.0

func (ConfgurationSetMap) ElementType() reflect.Type

func (ConfgurationSetMap) ToConfgurationSetMapOutput added in v3.25.0

func (i ConfgurationSetMap) ToConfgurationSetMapOutput() ConfgurationSetMapOutput

func (ConfgurationSetMap) ToConfgurationSetMapOutputWithContext added in v3.25.0

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

type ConfgurationSetMapInput added in v3.25.0

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 added in v3.25.0

type ConfgurationSetMapOutput struct{ *pulumi.OutputState }

func (ConfgurationSetMapOutput) ElementType added in v3.25.0

func (ConfgurationSetMapOutput) ElementType() reflect.Type

func (ConfgurationSetMapOutput) MapIndex added in v3.25.0

func (ConfgurationSetMapOutput) ToConfgurationSetMapOutput added in v3.25.0

func (o ConfgurationSetMapOutput) ToConfgurationSetMapOutput() ConfgurationSetMapOutput

func (ConfgurationSetMapOutput) ToConfgurationSetMapOutputWithContext added in v3.25.0

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

type ConfgurationSetOutput added in v3.13.0

type ConfgurationSetOutput struct {
	*pulumi.OutputState
}

func (ConfgurationSetOutput) ElementType added in v3.13.0

func (ConfgurationSetOutput) ElementType() reflect.Type

func (ConfgurationSetOutput) ToConfgurationSetOutput added in v3.13.0

func (o ConfgurationSetOutput) ToConfgurationSetOutput() ConfgurationSetOutput

func (ConfgurationSetOutput) ToConfgurationSetOutputWithContext added in v3.13.0

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

func (ConfgurationSetOutput) ToConfgurationSetPtrOutput added in v3.25.0

func (o ConfgurationSetOutput) ToConfgurationSetPtrOutput() ConfgurationSetPtrOutput

func (ConfgurationSetOutput) ToConfgurationSetPtrOutputWithContext added in v3.25.0

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

type ConfgurationSetPtrInput added in v3.25.0

type ConfgurationSetPtrInput interface {
	pulumi.Input

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

type ConfgurationSetPtrOutput added in v3.25.0

type ConfgurationSetPtrOutput struct {
	*pulumi.OutputState
}

func (ConfgurationSetPtrOutput) ElementType added in v3.25.0

func (ConfgurationSetPtrOutput) ElementType() reflect.Type

func (ConfgurationSetPtrOutput) ToConfgurationSetPtrOutput added in v3.25.0

func (o ConfgurationSetPtrOutput) ToConfgurationSetPtrOutput() ConfgurationSetPtrOutput

func (ConfgurationSetPtrOutput) ToConfgurationSetPtrOutputWithContext added in v3.25.0

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
	// Name of the configuration set.
	Name pulumi.StringPtrInput
}

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"`
	// Name of the configuration set.
	Name pulumi.StringOutput `pulumi:"name"`
}

Provides an SES configuration set resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v2/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/v3/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.13.0

func (*ConfigurationSet) ElementType() reflect.Type

func (*ConfigurationSet) ToConfigurationSetOutput added in v3.13.0

func (i *ConfigurationSet) ToConfigurationSetOutput() ConfigurationSetOutput

func (*ConfigurationSet) ToConfigurationSetOutputWithContext added in v3.13.0

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

func (*ConfigurationSet) ToConfigurationSetPtrOutput added in v3.25.0

func (i *ConfigurationSet) ToConfigurationSetPtrOutput() ConfigurationSetPtrOutput

func (*ConfigurationSet) ToConfigurationSetPtrOutputWithContext added in v3.25.0

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
}

The set of arguments for constructing a ConfigurationSet resource.

func (ConfigurationSetArgs) ElementType

func (ConfigurationSetArgs) ElementType() reflect.Type

type ConfigurationSetArray added in v3.25.0

type ConfigurationSetArray []ConfigurationSetInput

func (ConfigurationSetArray) ElementType added in v3.25.0

func (ConfigurationSetArray) ElementType() reflect.Type

func (ConfigurationSetArray) ToConfigurationSetArrayOutput added in v3.25.0

func (i ConfigurationSetArray) ToConfigurationSetArrayOutput() ConfigurationSetArrayOutput

func (ConfigurationSetArray) ToConfigurationSetArrayOutputWithContext added in v3.25.0

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

type ConfigurationSetArrayInput added in v3.25.0

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 added in v3.25.0

type ConfigurationSetArrayOutput struct{ *pulumi.OutputState }

func (ConfigurationSetArrayOutput) ElementType added in v3.25.0

func (ConfigurationSetArrayOutput) Index added in v3.25.0

func (ConfigurationSetArrayOutput) ToConfigurationSetArrayOutput added in v3.25.0

func (o ConfigurationSetArrayOutput) ToConfigurationSetArrayOutput() ConfigurationSetArrayOutput

func (ConfigurationSetArrayOutput) ToConfigurationSetArrayOutputWithContext added in v3.25.0

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

type ConfigurationSetDeliveryOptions added in v3.29.0

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 added in v3.29.0

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 added in v3.29.0

func (ConfigurationSetDeliveryOptionsArgs) ToConfigurationSetDeliveryOptionsOutput added in v3.29.0

func (i ConfigurationSetDeliveryOptionsArgs) ToConfigurationSetDeliveryOptionsOutput() ConfigurationSetDeliveryOptionsOutput

func (ConfigurationSetDeliveryOptionsArgs) ToConfigurationSetDeliveryOptionsOutputWithContext added in v3.29.0

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

func (ConfigurationSetDeliveryOptionsArgs) ToConfigurationSetDeliveryOptionsPtrOutput added in v3.29.0

func (i ConfigurationSetDeliveryOptionsArgs) ToConfigurationSetDeliveryOptionsPtrOutput() ConfigurationSetDeliveryOptionsPtrOutput

func (ConfigurationSetDeliveryOptionsArgs) ToConfigurationSetDeliveryOptionsPtrOutputWithContext added in v3.29.0

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

type ConfigurationSetDeliveryOptionsInput added in v3.29.0

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 added in v3.29.0

type ConfigurationSetDeliveryOptionsOutput struct{ *pulumi.OutputState }

func (ConfigurationSetDeliveryOptionsOutput) ElementType added in v3.29.0

func (ConfigurationSetDeliveryOptionsOutput) TlsPolicy added in v3.29.0

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 added in v3.29.0

func (o ConfigurationSetDeliveryOptionsOutput) ToConfigurationSetDeliveryOptionsOutput() ConfigurationSetDeliveryOptionsOutput

func (ConfigurationSetDeliveryOptionsOutput) ToConfigurationSetDeliveryOptionsOutputWithContext added in v3.29.0

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

func (ConfigurationSetDeliveryOptionsOutput) ToConfigurationSetDeliveryOptionsPtrOutput added in v3.29.0

func (o ConfigurationSetDeliveryOptionsOutput) ToConfigurationSetDeliveryOptionsPtrOutput() ConfigurationSetDeliveryOptionsPtrOutput

func (ConfigurationSetDeliveryOptionsOutput) ToConfigurationSetDeliveryOptionsPtrOutputWithContext added in v3.29.0

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

type ConfigurationSetDeliveryOptionsPtrInput added in v3.29.0

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 added in v3.29.0

type ConfigurationSetDeliveryOptionsPtrOutput struct{ *pulumi.OutputState }

func (ConfigurationSetDeliveryOptionsPtrOutput) Elem added in v3.29.0

func (ConfigurationSetDeliveryOptionsPtrOutput) ElementType added in v3.29.0

func (ConfigurationSetDeliveryOptionsPtrOutput) TlsPolicy added in v3.29.0

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 added in v3.29.0

func (o ConfigurationSetDeliveryOptionsPtrOutput) ToConfigurationSetDeliveryOptionsPtrOutput() ConfigurationSetDeliveryOptionsPtrOutput

func (ConfigurationSetDeliveryOptionsPtrOutput) ToConfigurationSetDeliveryOptionsPtrOutputWithContext added in v3.29.0

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

type ConfigurationSetInput added in v3.13.0

type ConfigurationSetInput interface {
	pulumi.Input

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

type ConfigurationSetMap added in v3.25.0

type ConfigurationSetMap map[string]ConfigurationSetInput

func (ConfigurationSetMap) ElementType added in v3.25.0

func (ConfigurationSetMap) ElementType() reflect.Type

func (ConfigurationSetMap) ToConfigurationSetMapOutput added in v3.25.0

func (i ConfigurationSetMap) ToConfigurationSetMapOutput() ConfigurationSetMapOutput

func (ConfigurationSetMap) ToConfigurationSetMapOutputWithContext added in v3.25.0

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

type ConfigurationSetMapInput added in v3.25.0

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 added in v3.25.0

type ConfigurationSetMapOutput struct{ *pulumi.OutputState }

func (ConfigurationSetMapOutput) ElementType added in v3.25.0

func (ConfigurationSetMapOutput) ElementType() reflect.Type

func (ConfigurationSetMapOutput) MapIndex added in v3.25.0

func (ConfigurationSetMapOutput) ToConfigurationSetMapOutput added in v3.25.0

func (o ConfigurationSetMapOutput) ToConfigurationSetMapOutput() ConfigurationSetMapOutput

func (ConfigurationSetMapOutput) ToConfigurationSetMapOutputWithContext added in v3.25.0

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

type ConfigurationSetOutput added in v3.13.0

type ConfigurationSetOutput struct {
	*pulumi.OutputState
}

func (ConfigurationSetOutput) ElementType added in v3.13.0

func (ConfigurationSetOutput) ElementType() reflect.Type

func (ConfigurationSetOutput) ToConfigurationSetOutput added in v3.13.0

func (o ConfigurationSetOutput) ToConfigurationSetOutput() ConfigurationSetOutput

func (ConfigurationSetOutput) ToConfigurationSetOutputWithContext added in v3.13.0

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

func (ConfigurationSetOutput) ToConfigurationSetPtrOutput added in v3.25.0

func (o ConfigurationSetOutput) ToConfigurationSetPtrOutput() ConfigurationSetPtrOutput

func (ConfigurationSetOutput) ToConfigurationSetPtrOutputWithContext added in v3.25.0

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

type ConfigurationSetPtrInput added in v3.25.0

type ConfigurationSetPtrInput interface {
	pulumi.Input

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

type ConfigurationSetPtrOutput added in v3.25.0

type ConfigurationSetPtrOutput struct {
	*pulumi.OutputState
}

func (ConfigurationSetPtrOutput) ElementType added in v3.25.0

func (ConfigurationSetPtrOutput) ElementType() reflect.Type

func (ConfigurationSetPtrOutput) ToConfigurationSetPtrOutput added in v3.25.0

func (o ConfigurationSetPtrOutput) ToConfigurationSetPtrOutput() ConfigurationSetPtrOutput

func (ConfigurationSetPtrOutput) ToConfigurationSetPtrOutputWithContext added in v3.25.0

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
	// Name of the configuration set.
	Name pulumi.StringPtrInput
}

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 added in v3.13.0

func (*DomainDkim) ElementType() reflect.Type

func (*DomainDkim) ToDomainDkimOutput added in v3.13.0

func (i *DomainDkim) ToDomainDkimOutput() DomainDkimOutput

func (*DomainDkim) ToDomainDkimOutputWithContext added in v3.13.0

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

func (*DomainDkim) ToDomainDkimPtrOutput added in v3.25.0

func (i *DomainDkim) ToDomainDkimPtrOutput() DomainDkimPtrOutput

func (*DomainDkim) ToDomainDkimPtrOutputWithContext added in v3.25.0

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 added in v3.25.0

type DomainDkimArray []DomainDkimInput

func (DomainDkimArray) ElementType added in v3.25.0

func (DomainDkimArray) ElementType() reflect.Type

func (DomainDkimArray) ToDomainDkimArrayOutput added in v3.25.0

func (i DomainDkimArray) ToDomainDkimArrayOutput() DomainDkimArrayOutput

func (DomainDkimArray) ToDomainDkimArrayOutputWithContext added in v3.25.0

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

type DomainDkimArrayInput added in v3.25.0

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 added in v3.25.0

type DomainDkimArrayOutput struct{ *pulumi.OutputState }

func (DomainDkimArrayOutput) ElementType added in v3.25.0

func (DomainDkimArrayOutput) ElementType() reflect.Type

func (DomainDkimArrayOutput) Index added in v3.25.0

func (DomainDkimArrayOutput) ToDomainDkimArrayOutput added in v3.25.0

func (o DomainDkimArrayOutput) ToDomainDkimArrayOutput() DomainDkimArrayOutput

func (DomainDkimArrayOutput) ToDomainDkimArrayOutputWithContext added in v3.25.0

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

type DomainDkimInput added in v3.13.0

type DomainDkimInput interface {
	pulumi.Input

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

type DomainDkimMap added in v3.25.0

type DomainDkimMap map[string]DomainDkimInput

func (DomainDkimMap) ElementType added in v3.25.0

func (DomainDkimMap) ElementType() reflect.Type

func (DomainDkimMap) ToDomainDkimMapOutput added in v3.25.0

func (i DomainDkimMap) ToDomainDkimMapOutput() DomainDkimMapOutput

func (DomainDkimMap) ToDomainDkimMapOutputWithContext added in v3.25.0

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

type DomainDkimMapInput added in v3.25.0

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 added in v3.25.0

type DomainDkimMapOutput struct{ *pulumi.OutputState }

func (DomainDkimMapOutput) ElementType added in v3.25.0

func (DomainDkimMapOutput) ElementType() reflect.Type

func (DomainDkimMapOutput) MapIndex added in v3.25.0

func (DomainDkimMapOutput) ToDomainDkimMapOutput added in v3.25.0

func (o DomainDkimMapOutput) ToDomainDkimMapOutput() DomainDkimMapOutput

func (DomainDkimMapOutput) ToDomainDkimMapOutputWithContext added in v3.25.0

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

type DomainDkimOutput added in v3.13.0

type DomainDkimOutput struct {
	*pulumi.OutputState
}

func (DomainDkimOutput) ElementType added in v3.13.0

func (DomainDkimOutput) ElementType() reflect.Type

func (DomainDkimOutput) ToDomainDkimOutput added in v3.13.0

func (o DomainDkimOutput) ToDomainDkimOutput() DomainDkimOutput

func (DomainDkimOutput) ToDomainDkimOutputWithContext added in v3.13.0

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

func (DomainDkimOutput) ToDomainDkimPtrOutput added in v3.25.0

func (o DomainDkimOutput) ToDomainDkimPtrOutput() DomainDkimPtrOutput

func (DomainDkimOutput) ToDomainDkimPtrOutputWithContext added in v3.25.0

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

type DomainDkimPtrInput added in v3.25.0

type DomainDkimPtrInput interface {
	pulumi.Input

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

type DomainDkimPtrOutput added in v3.25.0

type DomainDkimPtrOutput struct {
	*pulumi.OutputState
}

func (DomainDkimPtrOutput) ElementType added in v3.25.0

func (DomainDkimPtrOutput) ElementType() reflect.Type

func (DomainDkimPtrOutput) ToDomainDkimPtrOutput added in v3.25.0

func (o DomainDkimPtrOutput) ToDomainDkimPtrOutput() DomainDkimPtrOutput

func (DomainDkimPtrOutput) ToDomainDkimPtrOutputWithContext added in v3.25.0

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/v3/go/aws/route53"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.13.0

func (*DomainIdentity) ElementType() reflect.Type

func (*DomainIdentity) ToDomainIdentityOutput added in v3.13.0

func (i *DomainIdentity) ToDomainIdentityOutput() DomainIdentityOutput

func (*DomainIdentity) ToDomainIdentityOutputWithContext added in v3.13.0

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

func (*DomainIdentity) ToDomainIdentityPtrOutput added in v3.25.0

func (i *DomainIdentity) ToDomainIdentityPtrOutput() DomainIdentityPtrOutput

func (*DomainIdentity) ToDomainIdentityPtrOutputWithContext added in v3.25.0

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 added in v3.25.0

type DomainIdentityArray []DomainIdentityInput

func (DomainIdentityArray) ElementType added in v3.25.0

func (DomainIdentityArray) ElementType() reflect.Type

func (DomainIdentityArray) ToDomainIdentityArrayOutput added in v3.25.0

func (i DomainIdentityArray) ToDomainIdentityArrayOutput() DomainIdentityArrayOutput

func (DomainIdentityArray) ToDomainIdentityArrayOutputWithContext added in v3.25.0

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

type DomainIdentityArrayInput added in v3.25.0

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 added in v3.25.0

type DomainIdentityArrayOutput struct{ *pulumi.OutputState }

func (DomainIdentityArrayOutput) ElementType added in v3.25.0

func (DomainIdentityArrayOutput) ElementType() reflect.Type

func (DomainIdentityArrayOutput) Index added in v3.25.0

func (DomainIdentityArrayOutput) ToDomainIdentityArrayOutput added in v3.25.0

func (o DomainIdentityArrayOutput) ToDomainIdentityArrayOutput() DomainIdentityArrayOutput

func (DomainIdentityArrayOutput) ToDomainIdentityArrayOutputWithContext added in v3.25.0

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

type DomainIdentityInput added in v3.13.0

type DomainIdentityInput interface {
	pulumi.Input

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

type DomainIdentityMap added in v3.25.0

type DomainIdentityMap map[string]DomainIdentityInput

func (DomainIdentityMap) ElementType added in v3.25.0

func (DomainIdentityMap) ElementType() reflect.Type

func (DomainIdentityMap) ToDomainIdentityMapOutput added in v3.25.0

func (i DomainIdentityMap) ToDomainIdentityMapOutput() DomainIdentityMapOutput

func (DomainIdentityMap) ToDomainIdentityMapOutputWithContext added in v3.25.0

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

type DomainIdentityMapInput added in v3.25.0

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 added in v3.25.0

type DomainIdentityMapOutput struct{ *pulumi.OutputState }

func (DomainIdentityMapOutput) ElementType added in v3.25.0

func (DomainIdentityMapOutput) ElementType() reflect.Type

func (DomainIdentityMapOutput) MapIndex added in v3.25.0

func (DomainIdentityMapOutput) ToDomainIdentityMapOutput added in v3.25.0

func (o DomainIdentityMapOutput) ToDomainIdentityMapOutput() DomainIdentityMapOutput

func (DomainIdentityMapOutput) ToDomainIdentityMapOutputWithContext added in v3.25.0

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

type DomainIdentityOutput added in v3.13.0

type DomainIdentityOutput struct {
	*pulumi.OutputState
}

func (DomainIdentityOutput) ElementType added in v3.13.0

func (DomainIdentityOutput) ElementType() reflect.Type

func (DomainIdentityOutput) ToDomainIdentityOutput added in v3.13.0

func (o DomainIdentityOutput) ToDomainIdentityOutput() DomainIdentityOutput

func (DomainIdentityOutput) ToDomainIdentityOutputWithContext added in v3.13.0

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

func (DomainIdentityOutput) ToDomainIdentityPtrOutput added in v3.25.0

func (o DomainIdentityOutput) ToDomainIdentityPtrOutput() DomainIdentityPtrOutput

func (DomainIdentityOutput) ToDomainIdentityPtrOutputWithContext added in v3.25.0

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

type DomainIdentityPtrInput added in v3.25.0

type DomainIdentityPtrInput interface {
	pulumi.Input

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

type DomainIdentityPtrOutput added in v3.25.0

type DomainIdentityPtrOutput struct {
	*pulumi.OutputState
}

func (DomainIdentityPtrOutput) ElementType added in v3.25.0

func (DomainIdentityPtrOutput) ElementType() reflect.Type

func (DomainIdentityPtrOutput) ToDomainIdentityPtrOutput added in v3.25.0

func (o DomainIdentityPtrOutput) ToDomainIdentityPtrOutput() DomainIdentityPtrOutput

func (DomainIdentityPtrOutput) ToDomainIdentityPtrOutputWithContext added in v3.25.0

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/v3/go/aws/route53"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.13.0

func (*DomainIdentityVerification) ElementType() reflect.Type

func (*DomainIdentityVerification) ToDomainIdentityVerificationOutput added in v3.13.0

func (i *DomainIdentityVerification) ToDomainIdentityVerificationOutput() DomainIdentityVerificationOutput

func (*DomainIdentityVerification) ToDomainIdentityVerificationOutputWithContext added in v3.13.0

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

func (*DomainIdentityVerification) ToDomainIdentityVerificationPtrOutput added in v3.25.0

func (i *DomainIdentityVerification) ToDomainIdentityVerificationPtrOutput() DomainIdentityVerificationPtrOutput

func (*DomainIdentityVerification) ToDomainIdentityVerificationPtrOutputWithContext added in v3.25.0

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 added in v3.25.0

type DomainIdentityVerificationArray []DomainIdentityVerificationInput

func (DomainIdentityVerificationArray) ElementType added in v3.25.0

func (DomainIdentityVerificationArray) ToDomainIdentityVerificationArrayOutput added in v3.25.0

func (i DomainIdentityVerificationArray) ToDomainIdentityVerificationArrayOutput() DomainIdentityVerificationArrayOutput

func (DomainIdentityVerificationArray) ToDomainIdentityVerificationArrayOutputWithContext added in v3.25.0

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

type DomainIdentityVerificationArrayInput added in v3.25.0

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 added in v3.25.0

type DomainIdentityVerificationArrayOutput struct{ *pulumi.OutputState }

func (DomainIdentityVerificationArrayOutput) ElementType added in v3.25.0

func (DomainIdentityVerificationArrayOutput) Index added in v3.25.0

func (DomainIdentityVerificationArrayOutput) ToDomainIdentityVerificationArrayOutput added in v3.25.0

func (o DomainIdentityVerificationArrayOutput) ToDomainIdentityVerificationArrayOutput() DomainIdentityVerificationArrayOutput

func (DomainIdentityVerificationArrayOutput) ToDomainIdentityVerificationArrayOutputWithContext added in v3.25.0

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

type DomainIdentityVerificationInput added in v3.13.0

type DomainIdentityVerificationInput interface {
	pulumi.Input

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

type DomainIdentityVerificationMap added in v3.25.0

type DomainIdentityVerificationMap map[string]DomainIdentityVerificationInput

func (DomainIdentityVerificationMap) ElementType added in v3.25.0

func (DomainIdentityVerificationMap) ToDomainIdentityVerificationMapOutput added in v3.25.0

func (i DomainIdentityVerificationMap) ToDomainIdentityVerificationMapOutput() DomainIdentityVerificationMapOutput

func (DomainIdentityVerificationMap) ToDomainIdentityVerificationMapOutputWithContext added in v3.25.0

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

type DomainIdentityVerificationMapInput added in v3.25.0

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 added in v3.25.0

type DomainIdentityVerificationMapOutput struct{ *pulumi.OutputState }

func (DomainIdentityVerificationMapOutput) ElementType added in v3.25.0

func (DomainIdentityVerificationMapOutput) MapIndex added in v3.25.0

func (DomainIdentityVerificationMapOutput) ToDomainIdentityVerificationMapOutput added in v3.25.0

func (o DomainIdentityVerificationMapOutput) ToDomainIdentityVerificationMapOutput() DomainIdentityVerificationMapOutput

func (DomainIdentityVerificationMapOutput) ToDomainIdentityVerificationMapOutputWithContext added in v3.25.0

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

type DomainIdentityVerificationOutput added in v3.13.0

type DomainIdentityVerificationOutput struct {
	*pulumi.OutputState
}

func (DomainIdentityVerificationOutput) ElementType added in v3.13.0

func (DomainIdentityVerificationOutput) ToDomainIdentityVerificationOutput added in v3.13.0

func (o DomainIdentityVerificationOutput) ToDomainIdentityVerificationOutput() DomainIdentityVerificationOutput

func (DomainIdentityVerificationOutput) ToDomainIdentityVerificationOutputWithContext added in v3.13.0

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

func (DomainIdentityVerificationOutput) ToDomainIdentityVerificationPtrOutput added in v3.25.0

func (o DomainIdentityVerificationOutput) ToDomainIdentityVerificationPtrOutput() DomainIdentityVerificationPtrOutput

func (DomainIdentityVerificationOutput) ToDomainIdentityVerificationPtrOutputWithContext added in v3.25.0

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

type DomainIdentityVerificationPtrInput added in v3.25.0

type DomainIdentityVerificationPtrInput interface {
	pulumi.Input

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

type DomainIdentityVerificationPtrOutput added in v3.25.0

type DomainIdentityVerificationPtrOutput struct {
	*pulumi.OutputState
}

func (DomainIdentityVerificationPtrOutput) ElementType added in v3.25.0

func (DomainIdentityVerificationPtrOutput) ToDomainIdentityVerificationPtrOutput added in v3.25.0

func (o DomainIdentityVerificationPtrOutput) ToDomainIdentityVerificationPtrOutput() DomainIdentityVerificationPtrOutput

func (DomainIdentityVerificationPtrOutput) ToDomainIdentityVerificationPtrOutputWithContext added in v3.25.0

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/v3/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.13.0

func (*EmailIdentity) ElementType() reflect.Type

func (*EmailIdentity) ToEmailIdentityOutput added in v3.13.0

func (i *EmailIdentity) ToEmailIdentityOutput() EmailIdentityOutput

func (*EmailIdentity) ToEmailIdentityOutputWithContext added in v3.13.0

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

func (*EmailIdentity) ToEmailIdentityPtrOutput added in v3.25.0

func (i *EmailIdentity) ToEmailIdentityPtrOutput() EmailIdentityPtrOutput

func (*EmailIdentity) ToEmailIdentityPtrOutputWithContext added in v3.25.0

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 added in v3.25.0

type EmailIdentityArray []EmailIdentityInput

func (EmailIdentityArray) ElementType added in v3.25.0

func (EmailIdentityArray) ElementType() reflect.Type

func (EmailIdentityArray) ToEmailIdentityArrayOutput added in v3.25.0

func (i EmailIdentityArray) ToEmailIdentityArrayOutput() EmailIdentityArrayOutput

func (EmailIdentityArray) ToEmailIdentityArrayOutputWithContext added in v3.25.0

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

type EmailIdentityArrayInput added in v3.25.0

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 added in v3.25.0

type EmailIdentityArrayOutput struct{ *pulumi.OutputState }

func (EmailIdentityArrayOutput) ElementType added in v3.25.0

func (EmailIdentityArrayOutput) ElementType() reflect.Type

func (EmailIdentityArrayOutput) Index added in v3.25.0

func (EmailIdentityArrayOutput) ToEmailIdentityArrayOutput added in v3.25.0

func (o EmailIdentityArrayOutput) ToEmailIdentityArrayOutput() EmailIdentityArrayOutput

func (EmailIdentityArrayOutput) ToEmailIdentityArrayOutputWithContext added in v3.25.0

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

type EmailIdentityInput added in v3.13.0

type EmailIdentityInput interface {
	pulumi.Input

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

type EmailIdentityMap added in v3.25.0

type EmailIdentityMap map[string]EmailIdentityInput

func (EmailIdentityMap) ElementType added in v3.25.0

func (EmailIdentityMap) ElementType() reflect.Type

func (EmailIdentityMap) ToEmailIdentityMapOutput added in v3.25.0

func (i EmailIdentityMap) ToEmailIdentityMapOutput() EmailIdentityMapOutput

func (EmailIdentityMap) ToEmailIdentityMapOutputWithContext added in v3.25.0

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

type EmailIdentityMapInput added in v3.25.0

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 added in v3.25.0

type EmailIdentityMapOutput struct{ *pulumi.OutputState }

func (EmailIdentityMapOutput) ElementType added in v3.25.0

func (EmailIdentityMapOutput) ElementType() reflect.Type

func (EmailIdentityMapOutput) MapIndex added in v3.25.0

func (EmailIdentityMapOutput) ToEmailIdentityMapOutput added in v3.25.0

func (o EmailIdentityMapOutput) ToEmailIdentityMapOutput() EmailIdentityMapOutput

func (EmailIdentityMapOutput) ToEmailIdentityMapOutputWithContext added in v3.25.0

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

type EmailIdentityOutput added in v3.13.0

type EmailIdentityOutput struct {
	*pulumi.OutputState
}

func (EmailIdentityOutput) ElementType added in v3.13.0

func (EmailIdentityOutput) ElementType() reflect.Type

func (EmailIdentityOutput) ToEmailIdentityOutput added in v3.13.0

func (o EmailIdentityOutput) ToEmailIdentityOutput() EmailIdentityOutput

func (EmailIdentityOutput) ToEmailIdentityOutputWithContext added in v3.13.0

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

func (EmailIdentityOutput) ToEmailIdentityPtrOutput added in v3.25.0

func (o EmailIdentityOutput) ToEmailIdentityPtrOutput() EmailIdentityPtrOutput

func (EmailIdentityOutput) ToEmailIdentityPtrOutputWithContext added in v3.25.0

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

type EmailIdentityPtrInput added in v3.25.0

type EmailIdentityPtrInput interface {
	pulumi.Input

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

type EmailIdentityPtrOutput added in v3.25.0

type EmailIdentityPtrOutput struct {
	*pulumi.OutputState
}

func (EmailIdentityPtrOutput) ElementType added in v3.25.0

func (EmailIdentityPtrOutput) ElementType() reflect.Type

func (EmailIdentityPtrOutput) ToEmailIdentityPtrOutput added in v3.25.0

func (o EmailIdentityPtrOutput) ToEmailIdentityPtrOutput() EmailIdentityPtrOutput

func (EmailIdentityPtrOutput) ToEmailIdentityPtrOutputWithContext added in v3.25.0

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/v3/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v2/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/v3/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v2/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/v3/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.13.0

func (*EventDestination) ElementType() reflect.Type

func (*EventDestination) ToEventDestinationOutput added in v3.13.0

func (i *EventDestination) ToEventDestinationOutput() EventDestinationOutput

func (*EventDestination) ToEventDestinationOutputWithContext added in v3.13.0

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

func (*EventDestination) ToEventDestinationPtrOutput added in v3.25.0

func (i *EventDestination) ToEventDestinationPtrOutput() EventDestinationPtrOutput

func (*EventDestination) ToEventDestinationPtrOutputWithContext added in v3.25.0

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 added in v3.25.0

type EventDestinationArray []EventDestinationInput

func (EventDestinationArray) ElementType added in v3.25.0

func (EventDestinationArray) ElementType() reflect.Type

func (EventDestinationArray) ToEventDestinationArrayOutput added in v3.25.0

func (i EventDestinationArray) ToEventDestinationArrayOutput() EventDestinationArrayOutput

func (EventDestinationArray) ToEventDestinationArrayOutputWithContext added in v3.25.0

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

type EventDestinationArrayInput added in v3.25.0

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 added in v3.25.0

type EventDestinationArrayOutput struct{ *pulumi.OutputState }

func (EventDestinationArrayOutput) ElementType added in v3.25.0

func (EventDestinationArrayOutput) Index added in v3.25.0

func (EventDestinationArrayOutput) ToEventDestinationArrayOutput added in v3.25.0

func (o EventDestinationArrayOutput) ToEventDestinationArrayOutput() EventDestinationArrayOutput

func (EventDestinationArrayOutput) ToEventDestinationArrayOutputWithContext added in v3.25.0

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 added in v3.13.0

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 added in v3.25.0

type EventDestinationMap map[string]EventDestinationInput

func (EventDestinationMap) ElementType added in v3.25.0

func (EventDestinationMap) ElementType() reflect.Type

func (EventDestinationMap) ToEventDestinationMapOutput added in v3.25.0

func (i EventDestinationMap) ToEventDestinationMapOutput() EventDestinationMapOutput

func (EventDestinationMap) ToEventDestinationMapOutputWithContext added in v3.25.0

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

type EventDestinationMapInput added in v3.25.0

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 added in v3.25.0

type EventDestinationMapOutput struct{ *pulumi.OutputState }

func (EventDestinationMapOutput) ElementType added in v3.25.0

func (EventDestinationMapOutput) ElementType() reflect.Type

func (EventDestinationMapOutput) MapIndex added in v3.25.0

func (EventDestinationMapOutput) ToEventDestinationMapOutput added in v3.25.0

func (o EventDestinationMapOutput) ToEventDestinationMapOutput() EventDestinationMapOutput

func (EventDestinationMapOutput) ToEventDestinationMapOutputWithContext added in v3.25.0

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

type EventDestinationOutput added in v3.13.0

type EventDestinationOutput struct {
	*pulumi.OutputState
}

func (EventDestinationOutput) ElementType added in v3.13.0

func (EventDestinationOutput) ElementType() reflect.Type

func (EventDestinationOutput) ToEventDestinationOutput added in v3.13.0

func (o EventDestinationOutput) ToEventDestinationOutput() EventDestinationOutput

func (EventDestinationOutput) ToEventDestinationOutputWithContext added in v3.13.0

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

func (EventDestinationOutput) ToEventDestinationPtrOutput added in v3.25.0

func (o EventDestinationOutput) ToEventDestinationPtrOutput() EventDestinationPtrOutput

func (EventDestinationOutput) ToEventDestinationPtrOutputWithContext added in v3.25.0

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

type EventDestinationPtrInput added in v3.25.0

type EventDestinationPtrInput interface {
	pulumi.Input

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

type EventDestinationPtrOutput added in v3.25.0

type EventDestinationPtrOutput struct {
	*pulumi.OutputState
}

func (EventDestinationPtrOutput) ElementType added in v3.25.0

func (EventDestinationPtrOutput) ElementType() reflect.Type

func (EventDestinationPtrOutput) ToEventDestinationPtrOutput added in v3.25.0

func (o EventDestinationPtrOutput) ToEventDestinationPtrOutput() EventDestinationPtrOutput

func (EventDestinationPtrOutput) ToEventDestinationPtrOutputWithContext added in v3.25.0

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/v3/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v2/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. e.g. example.com|Bounce In this example, `example.com` is the SES Identity and `Bounce` is the Notification Type. To import the ID above, it would look as follows

```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 added in v3.13.0

func (*IdentityNotificationTopic) ElementType() reflect.Type

func (*IdentityNotificationTopic) ToIdentityNotificationTopicOutput added in v3.13.0

func (i *IdentityNotificationTopic) ToIdentityNotificationTopicOutput() IdentityNotificationTopicOutput

func (*IdentityNotificationTopic) ToIdentityNotificationTopicOutputWithContext added in v3.13.0

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

func (*IdentityNotificationTopic) ToIdentityNotificationTopicPtrOutput added in v3.25.0

func (i *IdentityNotificationTopic) ToIdentityNotificationTopicPtrOutput() IdentityNotificationTopicPtrOutput

func (*IdentityNotificationTopic) ToIdentityNotificationTopicPtrOutputWithContext added in v3.25.0

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 added in v3.25.0

type IdentityNotificationTopicArray []IdentityNotificationTopicInput

func (IdentityNotificationTopicArray) ElementType added in v3.25.0

func (IdentityNotificationTopicArray) ToIdentityNotificationTopicArrayOutput added in v3.25.0

func (i IdentityNotificationTopicArray) ToIdentityNotificationTopicArrayOutput() IdentityNotificationTopicArrayOutput

func (IdentityNotificationTopicArray) ToIdentityNotificationTopicArrayOutputWithContext added in v3.25.0

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

type IdentityNotificationTopicArrayInput added in v3.25.0

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 added in v3.25.0

type IdentityNotificationTopicArrayOutput struct{ *pulumi.OutputState }

func (IdentityNotificationTopicArrayOutput) ElementType added in v3.25.0

func (IdentityNotificationTopicArrayOutput) Index added in v3.25.0

func (IdentityNotificationTopicArrayOutput) ToIdentityNotificationTopicArrayOutput added in v3.25.0

func (o IdentityNotificationTopicArrayOutput) ToIdentityNotificationTopicArrayOutput() IdentityNotificationTopicArrayOutput

func (IdentityNotificationTopicArrayOutput) ToIdentityNotificationTopicArrayOutputWithContext added in v3.25.0

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

type IdentityNotificationTopicInput added in v3.13.0

type IdentityNotificationTopicInput interface {
	pulumi.Input

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

type IdentityNotificationTopicMap added in v3.25.0

type IdentityNotificationTopicMap map[string]IdentityNotificationTopicInput

func (IdentityNotificationTopicMap) ElementType added in v3.25.0

func (IdentityNotificationTopicMap) ToIdentityNotificationTopicMapOutput added in v3.25.0

func (i IdentityNotificationTopicMap) ToIdentityNotificationTopicMapOutput() IdentityNotificationTopicMapOutput

func (IdentityNotificationTopicMap) ToIdentityNotificationTopicMapOutputWithContext added in v3.25.0

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

type IdentityNotificationTopicMapInput added in v3.25.0

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 added in v3.25.0

type IdentityNotificationTopicMapOutput struct{ *pulumi.OutputState }

func (IdentityNotificationTopicMapOutput) ElementType added in v3.25.0

func (IdentityNotificationTopicMapOutput) MapIndex added in v3.25.0

func (IdentityNotificationTopicMapOutput) ToIdentityNotificationTopicMapOutput added in v3.25.0

func (o IdentityNotificationTopicMapOutput) ToIdentityNotificationTopicMapOutput() IdentityNotificationTopicMapOutput

func (IdentityNotificationTopicMapOutput) ToIdentityNotificationTopicMapOutputWithContext added in v3.25.0

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

type IdentityNotificationTopicOutput added in v3.13.0

type IdentityNotificationTopicOutput struct {
	*pulumi.OutputState
}

func (IdentityNotificationTopicOutput) ElementType added in v3.13.0

func (IdentityNotificationTopicOutput) ToIdentityNotificationTopicOutput added in v3.13.0

func (o IdentityNotificationTopicOutput) ToIdentityNotificationTopicOutput() IdentityNotificationTopicOutput

func (IdentityNotificationTopicOutput) ToIdentityNotificationTopicOutputWithContext added in v3.13.0

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

func (IdentityNotificationTopicOutput) ToIdentityNotificationTopicPtrOutput added in v3.25.0

func (o IdentityNotificationTopicOutput) ToIdentityNotificationTopicPtrOutput() IdentityNotificationTopicPtrOutput

func (IdentityNotificationTopicOutput) ToIdentityNotificationTopicPtrOutputWithContext added in v3.25.0

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

type IdentityNotificationTopicPtrInput added in v3.25.0

type IdentityNotificationTopicPtrInput interface {
	pulumi.Input

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

type IdentityNotificationTopicPtrOutput added in v3.25.0

type IdentityNotificationTopicPtrOutput struct {
	*pulumi.OutputState
}

func (IdentityNotificationTopicPtrOutput) ElementType added in v3.25.0

func (IdentityNotificationTopicPtrOutput) ToIdentityNotificationTopicPtrOutput added in v3.25.0

func (o IdentityNotificationTopicPtrOutput) ToIdentityNotificationTopicPtrOutput() IdentityNotificationTopicPtrOutput

func (IdentityNotificationTopicPtrOutput) ToIdentityNotificationTopicPtrOutputWithContext added in v3.25.0

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/v3/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.13.0

func (*IdentityPolicy) ElementType() reflect.Type

func (*IdentityPolicy) ToIdentityPolicyOutput added in v3.13.0

func (i *IdentityPolicy) ToIdentityPolicyOutput() IdentityPolicyOutput

func (*IdentityPolicy) ToIdentityPolicyOutputWithContext added in v3.13.0

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

func (*IdentityPolicy) ToIdentityPolicyPtrOutput added in v3.25.0

func (i *IdentityPolicy) ToIdentityPolicyPtrOutput() IdentityPolicyPtrOutput

func (*IdentityPolicy) ToIdentityPolicyPtrOutputWithContext added in v3.25.0

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 added in v3.25.0

type IdentityPolicyArray []IdentityPolicyInput

func (IdentityPolicyArray) ElementType added in v3.25.0

func (IdentityPolicyArray) ElementType() reflect.Type

func (IdentityPolicyArray) ToIdentityPolicyArrayOutput added in v3.25.0

func (i IdentityPolicyArray) ToIdentityPolicyArrayOutput() IdentityPolicyArrayOutput

func (IdentityPolicyArray) ToIdentityPolicyArrayOutputWithContext added in v3.25.0

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

type IdentityPolicyArrayInput added in v3.25.0

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 added in v3.25.0

type IdentityPolicyArrayOutput struct{ *pulumi.OutputState }

func (IdentityPolicyArrayOutput) ElementType added in v3.25.0

func (IdentityPolicyArrayOutput) ElementType() reflect.Type

func (IdentityPolicyArrayOutput) Index added in v3.25.0

func (IdentityPolicyArrayOutput) ToIdentityPolicyArrayOutput added in v3.25.0

func (o IdentityPolicyArrayOutput) ToIdentityPolicyArrayOutput() IdentityPolicyArrayOutput

func (IdentityPolicyArrayOutput) ToIdentityPolicyArrayOutputWithContext added in v3.25.0

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

type IdentityPolicyInput added in v3.13.0

type IdentityPolicyInput interface {
	pulumi.Input

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

type IdentityPolicyMap added in v3.25.0

type IdentityPolicyMap map[string]IdentityPolicyInput

func (IdentityPolicyMap) ElementType added in v3.25.0

func (IdentityPolicyMap) ElementType() reflect.Type

func (IdentityPolicyMap) ToIdentityPolicyMapOutput added in v3.25.0

func (i IdentityPolicyMap) ToIdentityPolicyMapOutput() IdentityPolicyMapOutput

func (IdentityPolicyMap) ToIdentityPolicyMapOutputWithContext added in v3.25.0

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

type IdentityPolicyMapInput added in v3.25.0

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 added in v3.25.0

type IdentityPolicyMapOutput struct{ *pulumi.OutputState }

func (IdentityPolicyMapOutput) ElementType added in v3.25.0

func (IdentityPolicyMapOutput) ElementType() reflect.Type

func (IdentityPolicyMapOutput) MapIndex added in v3.25.0

func (IdentityPolicyMapOutput) ToIdentityPolicyMapOutput added in v3.25.0

func (o IdentityPolicyMapOutput) ToIdentityPolicyMapOutput() IdentityPolicyMapOutput

func (IdentityPolicyMapOutput) ToIdentityPolicyMapOutputWithContext added in v3.25.0

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

type IdentityPolicyOutput added in v3.13.0

type IdentityPolicyOutput struct {
	*pulumi.OutputState
}

func (IdentityPolicyOutput) ElementType added in v3.13.0

func (IdentityPolicyOutput) ElementType() reflect.Type

func (IdentityPolicyOutput) ToIdentityPolicyOutput added in v3.13.0

func (o IdentityPolicyOutput) ToIdentityPolicyOutput() IdentityPolicyOutput

func (IdentityPolicyOutput) ToIdentityPolicyOutputWithContext added in v3.13.0

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

func (IdentityPolicyOutput) ToIdentityPolicyPtrOutput added in v3.25.0

func (o IdentityPolicyOutput) ToIdentityPolicyPtrOutput() IdentityPolicyPtrOutput

func (IdentityPolicyOutput) ToIdentityPolicyPtrOutputWithContext added in v3.25.0

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

type IdentityPolicyPtrInput added in v3.25.0

type IdentityPolicyPtrInput interface {
	pulumi.Input

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

type IdentityPolicyPtrOutput added in v3.25.0

type IdentityPolicyPtrOutput struct {
	*pulumi.OutputState
}

func (IdentityPolicyPtrOutput) ElementType added in v3.25.0

func (IdentityPolicyPtrOutput) ElementType() reflect.Type

func (IdentityPolicyPtrOutput) ToIdentityPolicyPtrOutput added in v3.25.0

func (o IdentityPolicyPtrOutput) ToIdentityPolicyPtrOutput() IdentityPolicyPtrOutput

func (IdentityPolicyPtrOutput) ToIdentityPolicyPtrOutputWithContext added in v3.25.0

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/v3/go/aws/route53"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.13.0

func (*MailFrom) ElementType() reflect.Type

func (*MailFrom) ToMailFromOutput added in v3.13.0

func (i *MailFrom) ToMailFromOutput() MailFromOutput

func (*MailFrom) ToMailFromOutputWithContext added in v3.13.0

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

func (*MailFrom) ToMailFromPtrOutput added in v3.25.0

func (i *MailFrom) ToMailFromPtrOutput() MailFromPtrOutput

func (*MailFrom) ToMailFromPtrOutputWithContext added in v3.25.0

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 added in v3.25.0

type MailFromArray []MailFromInput

func (MailFromArray) ElementType added in v3.25.0

func (MailFromArray) ElementType() reflect.Type

func (MailFromArray) ToMailFromArrayOutput added in v3.25.0

func (i MailFromArray) ToMailFromArrayOutput() MailFromArrayOutput

func (MailFromArray) ToMailFromArrayOutputWithContext added in v3.25.0

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

type MailFromArrayInput added in v3.25.0

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 added in v3.25.0

type MailFromArrayOutput struct{ *pulumi.OutputState }

func (MailFromArrayOutput) ElementType added in v3.25.0

func (MailFromArrayOutput) ElementType() reflect.Type

func (MailFromArrayOutput) Index added in v3.25.0

func (MailFromArrayOutput) ToMailFromArrayOutput added in v3.25.0

func (o MailFromArrayOutput) ToMailFromArrayOutput() MailFromArrayOutput

func (MailFromArrayOutput) ToMailFromArrayOutputWithContext added in v3.25.0

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

type MailFromInput added in v3.13.0

type MailFromInput interface {
	pulumi.Input

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

type MailFromMap added in v3.25.0

type MailFromMap map[string]MailFromInput

func (MailFromMap) ElementType added in v3.25.0

func (MailFromMap) ElementType() reflect.Type

func (MailFromMap) ToMailFromMapOutput added in v3.25.0

func (i MailFromMap) ToMailFromMapOutput() MailFromMapOutput

func (MailFromMap) ToMailFromMapOutputWithContext added in v3.25.0

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

type MailFromMapInput added in v3.25.0

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 added in v3.25.0

type MailFromMapOutput struct{ *pulumi.OutputState }

func (MailFromMapOutput) ElementType added in v3.25.0

func (MailFromMapOutput) ElementType() reflect.Type

func (MailFromMapOutput) MapIndex added in v3.25.0

func (MailFromMapOutput) ToMailFromMapOutput added in v3.25.0

func (o MailFromMapOutput) ToMailFromMapOutput() MailFromMapOutput

func (MailFromMapOutput) ToMailFromMapOutputWithContext added in v3.25.0

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

type MailFromOutput added in v3.13.0

type MailFromOutput struct {
	*pulumi.OutputState
}

func (MailFromOutput) ElementType added in v3.13.0

func (MailFromOutput) ElementType() reflect.Type

func (MailFromOutput) ToMailFromOutput added in v3.13.0

func (o MailFromOutput) ToMailFromOutput() MailFromOutput

func (MailFromOutput) ToMailFromOutputWithContext added in v3.13.0

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

func (MailFromOutput) ToMailFromPtrOutput added in v3.25.0

func (o MailFromOutput) ToMailFromPtrOutput() MailFromPtrOutput

func (MailFromOutput) ToMailFromPtrOutputWithContext added in v3.25.0

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

type MailFromPtrInput added in v3.25.0

type MailFromPtrInput interface {
	pulumi.Input

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

type MailFromPtrOutput added in v3.25.0

type MailFromPtrOutput struct {
	*pulumi.OutputState
}

func (MailFromPtrOutput) ElementType added in v3.25.0

func (MailFromPtrOutput) ElementType() reflect.Type

func (MailFromPtrOutput) ToMailFromPtrOutput added in v3.25.0

func (o MailFromPtrOutput) ToMailFromPtrOutput() MailFromPtrOutput

func (MailFromPtrOutput) ToMailFromPtrOutputWithContext added in v3.25.0

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/v3/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.13.0

func (*ReceiptFilter) ElementType() reflect.Type

func (*ReceiptFilter) ToReceiptFilterOutput added in v3.13.0

func (i *ReceiptFilter) ToReceiptFilterOutput() ReceiptFilterOutput

func (*ReceiptFilter) ToReceiptFilterOutputWithContext added in v3.13.0

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

func (*ReceiptFilter) ToReceiptFilterPtrOutput added in v3.25.0

func (i *ReceiptFilter) ToReceiptFilterPtrOutput() ReceiptFilterPtrOutput

func (*ReceiptFilter) ToReceiptFilterPtrOutputWithContext added in v3.25.0

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 added in v3.25.0

type ReceiptFilterArray []ReceiptFilterInput

func (ReceiptFilterArray) ElementType added in v3.25.0

func (ReceiptFilterArray) ElementType() reflect.Type

func (ReceiptFilterArray) ToReceiptFilterArrayOutput added in v3.25.0

func (i ReceiptFilterArray) ToReceiptFilterArrayOutput() ReceiptFilterArrayOutput

func (ReceiptFilterArray) ToReceiptFilterArrayOutputWithContext added in v3.25.0

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

type ReceiptFilterArrayInput added in v3.25.0

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 added in v3.25.0

type ReceiptFilterArrayOutput struct{ *pulumi.OutputState }

func (ReceiptFilterArrayOutput) ElementType added in v3.25.0

func (ReceiptFilterArrayOutput) ElementType() reflect.Type

func (ReceiptFilterArrayOutput) Index added in v3.25.0

func (ReceiptFilterArrayOutput) ToReceiptFilterArrayOutput added in v3.25.0

func (o ReceiptFilterArrayOutput) ToReceiptFilterArrayOutput() ReceiptFilterArrayOutput

func (ReceiptFilterArrayOutput) ToReceiptFilterArrayOutputWithContext added in v3.25.0

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

type ReceiptFilterInput added in v3.13.0

type ReceiptFilterInput interface {
	pulumi.Input

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

type ReceiptFilterMap added in v3.25.0

type ReceiptFilterMap map[string]ReceiptFilterInput

func (ReceiptFilterMap) ElementType added in v3.25.0

func (ReceiptFilterMap) ElementType() reflect.Type

func (ReceiptFilterMap) ToReceiptFilterMapOutput added in v3.25.0

func (i ReceiptFilterMap) ToReceiptFilterMapOutput() ReceiptFilterMapOutput

func (ReceiptFilterMap) ToReceiptFilterMapOutputWithContext added in v3.25.0

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

type ReceiptFilterMapInput added in v3.25.0

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 added in v3.25.0

type ReceiptFilterMapOutput struct{ *pulumi.OutputState }

func (ReceiptFilterMapOutput) ElementType added in v3.25.0

func (ReceiptFilterMapOutput) ElementType() reflect.Type

func (ReceiptFilterMapOutput) MapIndex added in v3.25.0

func (ReceiptFilterMapOutput) ToReceiptFilterMapOutput added in v3.25.0

func (o ReceiptFilterMapOutput) ToReceiptFilterMapOutput() ReceiptFilterMapOutput

func (ReceiptFilterMapOutput) ToReceiptFilterMapOutputWithContext added in v3.25.0

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

type ReceiptFilterOutput added in v3.13.0

type ReceiptFilterOutput struct {
	*pulumi.OutputState
}

func (ReceiptFilterOutput) ElementType added in v3.13.0

func (ReceiptFilterOutput) ElementType() reflect.Type

func (ReceiptFilterOutput) ToReceiptFilterOutput added in v3.13.0

func (o ReceiptFilterOutput) ToReceiptFilterOutput() ReceiptFilterOutput

func (ReceiptFilterOutput) ToReceiptFilterOutputWithContext added in v3.13.0

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

func (ReceiptFilterOutput) ToReceiptFilterPtrOutput added in v3.25.0

func (o ReceiptFilterOutput) ToReceiptFilterPtrOutput() ReceiptFilterPtrOutput

func (ReceiptFilterOutput) ToReceiptFilterPtrOutputWithContext added in v3.25.0

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

type ReceiptFilterPtrInput added in v3.25.0

type ReceiptFilterPtrInput interface {
	pulumi.Input

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

type ReceiptFilterPtrOutput added in v3.25.0

type ReceiptFilterPtrOutput struct {
	*pulumi.OutputState
}

func (ReceiptFilterPtrOutput) ElementType added in v3.25.0

func (ReceiptFilterPtrOutput) ElementType() reflect.Type

func (ReceiptFilterPtrOutput) ToReceiptFilterPtrOutput added in v3.25.0

func (o ReceiptFilterPtrOutput) ToReceiptFilterPtrOutput() ReceiptFilterPtrOutput

func (ReceiptFilterPtrOutput) ToReceiptFilterPtrOutputWithContext added in v3.25.0

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/v3/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.13.0

func (*ReceiptRule) ElementType() reflect.Type

func (*ReceiptRule) ToReceiptRuleOutput added in v3.13.0

func (i *ReceiptRule) ToReceiptRuleOutput() ReceiptRuleOutput

func (*ReceiptRule) ToReceiptRuleOutputWithContext added in v3.13.0

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

func (*ReceiptRule) ToReceiptRulePtrOutput added in v3.25.0

func (i *ReceiptRule) ToReceiptRulePtrOutput() ReceiptRulePtrOutput

func (*ReceiptRule) ToReceiptRulePtrOutputWithContext added in v3.25.0

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 added in v3.25.0

type ReceiptRuleArray []ReceiptRuleInput

func (ReceiptRuleArray) ElementType added in v3.25.0

func (ReceiptRuleArray) ElementType() reflect.Type

func (ReceiptRuleArray) ToReceiptRuleArrayOutput added in v3.25.0

func (i ReceiptRuleArray) ToReceiptRuleArrayOutput() ReceiptRuleArrayOutput

func (ReceiptRuleArray) ToReceiptRuleArrayOutputWithContext added in v3.25.0

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

type ReceiptRuleArrayInput added in v3.25.0

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 added in v3.25.0

type ReceiptRuleArrayOutput struct{ *pulumi.OutputState }

func (ReceiptRuleArrayOutput) ElementType added in v3.25.0

func (ReceiptRuleArrayOutput) ElementType() reflect.Type

func (ReceiptRuleArrayOutput) Index added in v3.25.0

func (ReceiptRuleArrayOutput) ToReceiptRuleArrayOutput added in v3.25.0

func (o ReceiptRuleArrayOutput) ToReceiptRuleArrayOutput() ReceiptRuleArrayOutput

func (ReceiptRuleArrayOutput) ToReceiptRuleArrayOutputWithContext added in v3.25.0

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 added in v3.13.0

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 added in v3.25.0

type ReceiptRuleMap map[string]ReceiptRuleInput

func (ReceiptRuleMap) ElementType added in v3.25.0

func (ReceiptRuleMap) ElementType() reflect.Type

func (ReceiptRuleMap) ToReceiptRuleMapOutput added in v3.25.0

func (i ReceiptRuleMap) ToReceiptRuleMapOutput() ReceiptRuleMapOutput

func (ReceiptRuleMap) ToReceiptRuleMapOutputWithContext added in v3.25.0

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

type ReceiptRuleMapInput added in v3.25.0

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 added in v3.25.0

type ReceiptRuleMapOutput struct{ *pulumi.OutputState }

func (ReceiptRuleMapOutput) ElementType added in v3.25.0

func (ReceiptRuleMapOutput) ElementType() reflect.Type

func (ReceiptRuleMapOutput) MapIndex added in v3.25.0

func (ReceiptRuleMapOutput) ToReceiptRuleMapOutput added in v3.25.0

func (o ReceiptRuleMapOutput) ToReceiptRuleMapOutput() ReceiptRuleMapOutput

func (ReceiptRuleMapOutput) ToReceiptRuleMapOutputWithContext added in v3.25.0

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

type ReceiptRuleOutput added in v3.13.0

type ReceiptRuleOutput struct {
	*pulumi.OutputState
}

func (ReceiptRuleOutput) ElementType added in v3.13.0

func (ReceiptRuleOutput) ElementType() reflect.Type

func (ReceiptRuleOutput) ToReceiptRuleOutput added in v3.13.0

func (o ReceiptRuleOutput) ToReceiptRuleOutput() ReceiptRuleOutput

func (ReceiptRuleOutput) ToReceiptRuleOutputWithContext added in v3.13.0

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

func (ReceiptRuleOutput) ToReceiptRulePtrOutput added in v3.25.0

func (o ReceiptRuleOutput) ToReceiptRulePtrOutput() ReceiptRulePtrOutput

func (ReceiptRuleOutput) ToReceiptRulePtrOutputWithContext added in v3.25.0

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

type ReceiptRulePtrInput added in v3.25.0

type ReceiptRulePtrInput interface {
	pulumi.Input

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

type ReceiptRulePtrOutput added in v3.25.0

type ReceiptRulePtrOutput struct {
	*pulumi.OutputState
}

func (ReceiptRulePtrOutput) ElementType added in v3.25.0

func (ReceiptRulePtrOutput) ElementType() reflect.Type

func (ReceiptRulePtrOutput) ToReceiptRulePtrOutput added in v3.25.0

func (o ReceiptRulePtrOutput) ToReceiptRulePtrOutput() ReceiptRulePtrOutput

func (ReceiptRulePtrOutput) ToReceiptRulePtrOutputWithContext added in v3.25.0

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

	// The 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/v3/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.13.0

func (*ReceiptRuleSet) ElementType() reflect.Type

func (*ReceiptRuleSet) ToReceiptRuleSetOutput added in v3.13.0

func (i *ReceiptRuleSet) ToReceiptRuleSetOutput() ReceiptRuleSetOutput

func (*ReceiptRuleSet) ToReceiptRuleSetOutputWithContext added in v3.13.0

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

func (*ReceiptRuleSet) ToReceiptRuleSetPtrOutput added in v3.25.0

func (i *ReceiptRuleSet) ToReceiptRuleSetPtrOutput() ReceiptRuleSetPtrOutput

func (*ReceiptRuleSet) ToReceiptRuleSetPtrOutputWithContext added in v3.25.0

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

type ReceiptRuleSetArgs

type ReceiptRuleSetArgs struct {
	// The 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 added in v3.25.0

type ReceiptRuleSetArray []ReceiptRuleSetInput

func (ReceiptRuleSetArray) ElementType added in v3.25.0

func (ReceiptRuleSetArray) ElementType() reflect.Type

func (ReceiptRuleSetArray) ToReceiptRuleSetArrayOutput added in v3.25.0

func (i ReceiptRuleSetArray) ToReceiptRuleSetArrayOutput() ReceiptRuleSetArrayOutput

func (ReceiptRuleSetArray) ToReceiptRuleSetArrayOutputWithContext added in v3.25.0

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

type ReceiptRuleSetArrayInput added in v3.25.0

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 added in v3.25.0

type ReceiptRuleSetArrayOutput struct{ *pulumi.OutputState }

func (ReceiptRuleSetArrayOutput) ElementType added in v3.25.0

func (ReceiptRuleSetArrayOutput) ElementType() reflect.Type

func (ReceiptRuleSetArrayOutput) Index added in v3.25.0

func (ReceiptRuleSetArrayOutput) ToReceiptRuleSetArrayOutput added in v3.25.0

func (o ReceiptRuleSetArrayOutput) ToReceiptRuleSetArrayOutput() ReceiptRuleSetArrayOutput

func (ReceiptRuleSetArrayOutput) ToReceiptRuleSetArrayOutputWithContext added in v3.25.0

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

type ReceiptRuleSetInput added in v3.13.0

type ReceiptRuleSetInput interface {
	pulumi.Input

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

type ReceiptRuleSetMap added in v3.25.0

type ReceiptRuleSetMap map[string]ReceiptRuleSetInput

func (ReceiptRuleSetMap) ElementType added in v3.25.0

func (ReceiptRuleSetMap) ElementType() reflect.Type

func (ReceiptRuleSetMap) ToReceiptRuleSetMapOutput added in v3.25.0

func (i ReceiptRuleSetMap) ToReceiptRuleSetMapOutput() ReceiptRuleSetMapOutput

func (ReceiptRuleSetMap) ToReceiptRuleSetMapOutputWithContext added in v3.25.0

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

type ReceiptRuleSetMapInput added in v3.25.0

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 added in v3.25.0

type ReceiptRuleSetMapOutput struct{ *pulumi.OutputState }

func (ReceiptRuleSetMapOutput) ElementType added in v3.25.0

func (ReceiptRuleSetMapOutput) ElementType() reflect.Type

func (ReceiptRuleSetMapOutput) MapIndex added in v3.25.0

func (ReceiptRuleSetMapOutput) ToReceiptRuleSetMapOutput added in v3.25.0

func (o ReceiptRuleSetMapOutput) ToReceiptRuleSetMapOutput() ReceiptRuleSetMapOutput

func (ReceiptRuleSetMapOutput) ToReceiptRuleSetMapOutputWithContext added in v3.25.0

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

type ReceiptRuleSetOutput added in v3.13.0

type ReceiptRuleSetOutput struct {
	*pulumi.OutputState
}

func (ReceiptRuleSetOutput) ElementType added in v3.13.0

func (ReceiptRuleSetOutput) ElementType() reflect.Type

func (ReceiptRuleSetOutput) ToReceiptRuleSetOutput added in v3.13.0

func (o ReceiptRuleSetOutput) ToReceiptRuleSetOutput() ReceiptRuleSetOutput

func (ReceiptRuleSetOutput) ToReceiptRuleSetOutputWithContext added in v3.13.0

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

func (ReceiptRuleSetOutput) ToReceiptRuleSetPtrOutput added in v3.25.0

func (o ReceiptRuleSetOutput) ToReceiptRuleSetPtrOutput() ReceiptRuleSetPtrOutput

func (ReceiptRuleSetOutput) ToReceiptRuleSetPtrOutputWithContext added in v3.25.0

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

type ReceiptRuleSetPtrInput added in v3.25.0

type ReceiptRuleSetPtrInput interface {
	pulumi.Input

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

type ReceiptRuleSetPtrOutput added in v3.25.0

type ReceiptRuleSetPtrOutput struct {
	*pulumi.OutputState
}

func (ReceiptRuleSetPtrOutput) ElementType added in v3.25.0

func (ReceiptRuleSetPtrOutput) ElementType() reflect.Type

func (ReceiptRuleSetPtrOutput) ToReceiptRuleSetPtrOutput added in v3.25.0

func (o ReceiptRuleSetPtrOutput) ToReceiptRuleSetPtrOutput() ReceiptRuleSetPtrOutput

func (ReceiptRuleSetPtrOutput) ToReceiptRuleSetPtrOutputWithContext added in v3.25.0

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

type ReceiptRuleSetState

type ReceiptRuleSetState struct {
	// The name of the rule set
	RuleSetName pulumi.StringPtrInput
}

func (ReceiptRuleSetState) ElementType

func (ReceiptRuleSetState) ElementType() reflect.Type

type ReceiptRuleSnsAction

type ReceiptRuleSnsAction struct {
	// 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 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) 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/v3/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.13.0

func (*Template) ElementType() reflect.Type

func (*Template) ToTemplateOutput added in v3.13.0

func (i *Template) ToTemplateOutput() TemplateOutput

func (*Template) ToTemplateOutputWithContext added in v3.13.0

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

func (*Template) ToTemplatePtrOutput added in v3.25.0

func (i *Template) ToTemplatePtrOutput() TemplatePtrOutput

func (*Template) ToTemplatePtrOutputWithContext added in v3.25.0

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 added in v3.25.0

type TemplateArray []TemplateInput

func (TemplateArray) ElementType added in v3.25.0

func (TemplateArray) ElementType() reflect.Type

func (TemplateArray) ToTemplateArrayOutput added in v3.25.0

func (i TemplateArray) ToTemplateArrayOutput() TemplateArrayOutput

func (TemplateArray) ToTemplateArrayOutputWithContext added in v3.25.0

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

type TemplateArrayInput added in v3.25.0

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 added in v3.25.0

type TemplateArrayOutput struct{ *pulumi.OutputState }

func (TemplateArrayOutput) ElementType added in v3.25.0

func (TemplateArrayOutput) ElementType() reflect.Type

func (TemplateArrayOutput) Index added in v3.25.0

func (TemplateArrayOutput) ToTemplateArrayOutput added in v3.25.0

func (o TemplateArrayOutput) ToTemplateArrayOutput() TemplateArrayOutput

func (TemplateArrayOutput) ToTemplateArrayOutputWithContext added in v3.25.0

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

type TemplateInput added in v3.13.0

type TemplateInput interface {
	pulumi.Input

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

type TemplateMap added in v3.25.0

type TemplateMap map[string]TemplateInput

func (TemplateMap) ElementType added in v3.25.0

func (TemplateMap) ElementType() reflect.Type

func (TemplateMap) ToTemplateMapOutput added in v3.25.0

func (i TemplateMap) ToTemplateMapOutput() TemplateMapOutput

func (TemplateMap) ToTemplateMapOutputWithContext added in v3.25.0

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

type TemplateMapInput added in v3.25.0

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 added in v3.25.0

type TemplateMapOutput struct{ *pulumi.OutputState }

func (TemplateMapOutput) ElementType added in v3.25.0

func (TemplateMapOutput) ElementType() reflect.Type

func (TemplateMapOutput) MapIndex added in v3.25.0

func (TemplateMapOutput) ToTemplateMapOutput added in v3.25.0

func (o TemplateMapOutput) ToTemplateMapOutput() TemplateMapOutput

func (TemplateMapOutput) ToTemplateMapOutputWithContext added in v3.25.0

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

type TemplateOutput added in v3.13.0

type TemplateOutput struct {
	*pulumi.OutputState
}

func (TemplateOutput) ElementType added in v3.13.0

func (TemplateOutput) ElementType() reflect.Type

func (TemplateOutput) ToTemplateOutput added in v3.13.0

func (o TemplateOutput) ToTemplateOutput() TemplateOutput

func (TemplateOutput) ToTemplateOutputWithContext added in v3.13.0

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

func (TemplateOutput) ToTemplatePtrOutput added in v3.25.0

func (o TemplateOutput) ToTemplatePtrOutput() TemplatePtrOutput

func (TemplateOutput) ToTemplatePtrOutputWithContext added in v3.25.0

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

type TemplatePtrInput added in v3.25.0

type TemplatePtrInput interface {
	pulumi.Input

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

type TemplatePtrOutput added in v3.25.0

type TemplatePtrOutput struct {
	*pulumi.OutputState
}

func (TemplatePtrOutput) ElementType added in v3.25.0

func (TemplatePtrOutput) ElementType() reflect.Type

func (TemplatePtrOutput) ToTemplatePtrOutput added in v3.25.0

func (o TemplatePtrOutput) ToTemplatePtrOutput() TemplatePtrOutput

func (TemplatePtrOutput) ToTemplatePtrOutputWithContext added in v3.25.0

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