aws_ses_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"`
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// MatchingTypes: set of string, required
	MatchingTypes terra.SetValue[terra.StringValue] `hcl:"matching_types,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// CloudwatchDestination: min=0
	CloudwatchDestination []CloudwatchDestination `hcl:"cloudwatch_destination,block" validate:"min=0"`
	// KinesisDestination: optional
	KinesisDestination *KinesisDestination `hcl:"kinesis_destination,block"`
	// SnsDestination: optional
	SnsDestination *SnsDestination `hcl:"sns_destination,block"`
}

Args contains the configurations for aws_ses_event_destination.

type CloudwatchDestination

type CloudwatchDestination struct {
	// DefaultValue: string, required
	DefaultValue terra.StringValue `hcl:"default_value,attr" validate:"required"`
	// DimensionName: string, required
	DimensionName terra.StringValue `hcl:"dimension_name,attr" validate:"required"`
	// ValueSource: string, required
	ValueSource terra.StringValue `hcl:"value_source,attr" validate:"required"`
}

type CloudwatchDestinationAttributes

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

func (CloudwatchDestinationAttributes) DefaultValue

func (CloudwatchDestinationAttributes) DimensionName

func (CloudwatchDestinationAttributes) InternalRef

func (CloudwatchDestinationAttributes) InternalTokens

func (cd CloudwatchDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CloudwatchDestinationAttributes) InternalWithRef

func (CloudwatchDestinationAttributes) ValueSource

type CloudwatchDestinationState

type CloudwatchDestinationState struct {
	DefaultValue  string `json:"default_value"`
	DimensionName string `json:"dimension_name"`
	ValueSource   string `json:"value_source"`
}

type KinesisDestination

type KinesisDestination struct {
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// StreamArn: string, required
	StreamArn terra.StringValue `hcl:"stream_arn,attr" validate:"required"`
}

type KinesisDestinationAttributes

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

func (KinesisDestinationAttributes) InternalRef

func (kd KinesisDestinationAttributes) InternalRef() (terra.Reference, error)

func (KinesisDestinationAttributes) InternalTokens

func (kd KinesisDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (KinesisDestinationAttributes) InternalWithRef

func (KinesisDestinationAttributes) RoleArn

func (KinesisDestinationAttributes) StreamArn

type KinesisDestinationState

type KinesisDestinationState struct {
	RoleArn   string `json:"role_arn"`
	StreamArn string `json:"stream_arn"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (ased *Resource) Attributes() awsSesEventDestinationAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (ased *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (ased *Resource) State() (*awsSesEventDestinationState, bool)

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

func (*Resource) StateMust

func (ased *Resource) StateMust() *awsSesEventDestinationState

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

func (*Resource) Type

func (ased *Resource) Type() string

Type returns the Terraform object type for Resource.

type SnsDestination

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

type SnsDestinationAttributes

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

func (SnsDestinationAttributes) InternalRef

func (sd SnsDestinationAttributes) InternalRef() (terra.Reference, error)

func (SnsDestinationAttributes) InternalTokens

func (sd SnsDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SnsDestinationAttributes) InternalWithRef

func (SnsDestinationAttributes) TopicArn

type SnsDestinationState

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

Jump to

Keyboard shortcuts

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