aws_sesv2_configuration_set_event_destination

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// ConfigurationSetName: string, required
	ConfigurationSetName terra.StringValue `hcl:"configuration_set_name,attr" validate:"required"`
	// EventDestinationName: string, required
	EventDestinationName terra.StringValue `hcl:"event_destination_name,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// EventDestination: required
	EventDestination *EventDestination `hcl:"event_destination,block" validate:"required"`
}

Args contains the configurations for aws_sesv2_configuration_set_event_destination.

type EventDestination

type EventDestination struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// MatchingEventTypes: list of string, required
	MatchingEventTypes terra.ListValue[terra.StringValue] `hcl:"matching_event_types,attr" validate:"required"`
	// EventDestinationCloudWatchDestination: optional
	CloudWatchDestination *EventDestinationCloudWatchDestination `hcl:"cloud_watch_destination,block"`
	// EventDestinationKinesisFirehoseDestination: optional
	KinesisFirehoseDestination *EventDestinationKinesisFirehoseDestination `hcl:"kinesis_firehose_destination,block"`
	// EventDestinationPinpointDestination: optional
	PinpointDestination *EventDestinationPinpointDestination `hcl:"pinpoint_destination,block"`
	// EventDestinationSnsDestination: optional
	SnsDestination *EventDestinationSnsDestination `hcl:"sns_destination,block"`
}

type EventDestinationAttributes

type EventDestinationAttributes struct {
	// contains filtered or unexported fields
}

func (EventDestinationAttributes) CloudWatchDestination

func (EventDestinationAttributes) Enabled

func (EventDestinationAttributes) InternalRef

func (ed EventDestinationAttributes) InternalRef() (terra.Reference, error)

func (EventDestinationAttributes) InternalTokens

func (ed EventDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EventDestinationAttributes) InternalWithRef

func (EventDestinationAttributes) KinesisFirehoseDestination

func (EventDestinationAttributes) MatchingEventTypes

func (ed EventDestinationAttributes) MatchingEventTypes() terra.ListValue[terra.StringValue]

func (EventDestinationAttributes) PinpointDestination

func (EventDestinationAttributes) SnsDestination

type EventDestinationCloudWatchDestination

type EventDestinationCloudWatchDestination struct {
	// EventDestinationCloudWatchDestinationDimensionConfiguration: min=1
	DimensionConfiguration []EventDestinationCloudWatchDestinationDimensionConfiguration `hcl:"dimension_configuration,block" validate:"min=1"`
}

type EventDestinationCloudWatchDestinationAttributes

type EventDestinationCloudWatchDestinationAttributes struct {
	// contains filtered or unexported fields
}

func (EventDestinationCloudWatchDestinationAttributes) InternalRef

func (EventDestinationCloudWatchDestinationAttributes) InternalTokens

func (EventDestinationCloudWatchDestinationAttributes) InternalWithRef

type EventDestinationCloudWatchDestinationDimensionConfiguration

type EventDestinationCloudWatchDestinationDimensionConfiguration struct {
	// DefaultDimensionValue: string, required
	DefaultDimensionValue terra.StringValue `hcl:"default_dimension_value,attr" validate:"required"`
	// DimensionName: string, required
	DimensionName terra.StringValue `hcl:"dimension_name,attr" validate:"required"`
	// DimensionValueSource: string, required
	DimensionValueSource terra.StringValue `hcl:"dimension_value_source,attr" validate:"required"`
}

type EventDestinationCloudWatchDestinationDimensionConfigurationAttributes

type EventDestinationCloudWatchDestinationDimensionConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (EventDestinationCloudWatchDestinationDimensionConfigurationAttributes) DefaultDimensionValue

func (EventDestinationCloudWatchDestinationDimensionConfigurationAttributes) DimensionName

func (EventDestinationCloudWatchDestinationDimensionConfigurationAttributes) DimensionValueSource

func (EventDestinationCloudWatchDestinationDimensionConfigurationAttributes) InternalRef

func (EventDestinationCloudWatchDestinationDimensionConfigurationAttributes) InternalTokens

func (EventDestinationCloudWatchDestinationDimensionConfigurationAttributes) InternalWithRef

type EventDestinationCloudWatchDestinationDimensionConfigurationState

type EventDestinationCloudWatchDestinationDimensionConfigurationState struct {
	DefaultDimensionValue string `json:"default_dimension_value"`
	DimensionName         string `json:"dimension_name"`
	DimensionValueSource  string `json:"dimension_value_source"`
}

type EventDestinationCloudWatchDestinationState

type EventDestinationCloudWatchDestinationState struct {
	DimensionConfiguration []EventDestinationCloudWatchDestinationDimensionConfigurationState `json:"dimension_configuration"`
}

type EventDestinationKinesisFirehoseDestination

type EventDestinationKinesisFirehoseDestination struct {
	// DeliveryStreamArn: string, required
	DeliveryStreamArn terra.StringValue `hcl:"delivery_stream_arn,attr" validate:"required"`
	// IamRoleArn: string, required
	IamRoleArn terra.StringValue `hcl:"iam_role_arn,attr" validate:"required"`
}

type EventDestinationKinesisFirehoseDestinationAttributes

type EventDestinationKinesisFirehoseDestinationAttributes struct {
	// contains filtered or unexported fields
}

func (EventDestinationKinesisFirehoseDestinationAttributes) DeliveryStreamArn

func (EventDestinationKinesisFirehoseDestinationAttributes) IamRoleArn

func (EventDestinationKinesisFirehoseDestinationAttributes) InternalRef

func (EventDestinationKinesisFirehoseDestinationAttributes) InternalTokens

func (EventDestinationKinesisFirehoseDestinationAttributes) InternalWithRef

type EventDestinationKinesisFirehoseDestinationState

type EventDestinationKinesisFirehoseDestinationState struct {
	DeliveryStreamArn string `json:"delivery_stream_arn"`
	IamRoleArn        string `json:"iam_role_arn"`
}

type EventDestinationPinpointDestination

type EventDestinationPinpointDestination struct {
	// ApplicationArn: string, required
	ApplicationArn terra.StringValue `hcl:"application_arn,attr" validate:"required"`
}

type EventDestinationPinpointDestinationAttributes

type EventDestinationPinpointDestinationAttributes struct {
	// contains filtered or unexported fields
}

func (EventDestinationPinpointDestinationAttributes) ApplicationArn

func (EventDestinationPinpointDestinationAttributes) InternalRef

func (EventDestinationPinpointDestinationAttributes) InternalTokens

func (EventDestinationPinpointDestinationAttributes) InternalWithRef

type EventDestinationPinpointDestinationState

type EventDestinationPinpointDestinationState struct {
	ApplicationArn string `json:"application_arn"`
}

type EventDestinationSnsDestination

type EventDestinationSnsDestination struct {
	// TopicArn: string, required
	TopicArn terra.StringValue `hcl:"topic_arn,attr" validate:"required"`
}

type EventDestinationSnsDestinationAttributes

type EventDestinationSnsDestinationAttributes struct {
	// contains filtered or unexported fields
}

func (EventDestinationSnsDestinationAttributes) InternalRef

func (EventDestinationSnsDestinationAttributes) InternalTokens

func (EventDestinationSnsDestinationAttributes) InternalWithRef

func (EventDestinationSnsDestinationAttributes) TopicArn

type EventDestinationSnsDestinationState

type EventDestinationSnsDestinationState struct {
	TopicArn string `json:"topic_arn"`
}

type EventDestinationState

type EventDestinationState struct {
	Enabled                    bool                                              `json:"enabled"`
	MatchingEventTypes         []string                                          `json:"matching_event_types"`
	CloudWatchDestination      []EventDestinationCloudWatchDestinationState      `json:"cloud_watch_destination"`
	KinesisFirehoseDestination []EventDestinationKinesisFirehoseDestinationState `json:"kinesis_firehose_destination"`
	PinpointDestination        []EventDestinationPinpointDestinationState        `json:"pinpoint_destination"`
	SnsDestination             []EventDestinationSnsDestinationState             `json:"sns_destination"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_sesv2_configuration_set_event_destination.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (ascsed *Resource) Attributes() awsSesv2ConfigurationSetEventDestinationAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (ascsed *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (ascsed *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (ascsed *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (ascsed *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (ascsed *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (ascsed *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (ascsed *Resource) State() (*awsSesv2ConfigurationSetEventDestinationState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (ascsed *Resource) StateMust() *awsSesv2ConfigurationSetEventDestinationState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (ascsed *Resource) Type() string

Type returns the Terraform object type for Resource.

Jump to

Keyboard shortcuts

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