sesv2configurationseteventdestination

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudWatchDestination

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

type CloudWatchDestinationAttributes

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

func (CloudWatchDestinationAttributes) DimensionConfiguration

func (CloudWatchDestinationAttributes) InternalRef

func (CloudWatchDestinationAttributes) InternalTokens

func (cwd CloudWatchDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CloudWatchDestinationAttributes) InternalWithRef

type CloudWatchDestinationState

type CloudWatchDestinationState struct {
	DimensionConfiguration []DimensionConfigurationState `json:"dimension_configuration"`
}

type DimensionConfiguration

type DimensionConfiguration 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 DimensionConfigurationAttributes

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

func (DimensionConfigurationAttributes) DefaultDimensionValue

func (dc DimensionConfigurationAttributes) DefaultDimensionValue() terra.StringValue

func (DimensionConfigurationAttributes) DimensionName

func (DimensionConfigurationAttributes) DimensionValueSource

func (dc DimensionConfigurationAttributes) DimensionValueSource() terra.StringValue

func (DimensionConfigurationAttributes) InternalRef

func (DimensionConfigurationAttributes) InternalTokens

func (dc DimensionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DimensionConfigurationAttributes) InternalWithRef

type DimensionConfigurationState

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

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"`
	// CloudWatchDestination: optional
	CloudWatchDestination *CloudWatchDestination `hcl:"cloud_watch_destination,block"`
	// KinesisFirehoseDestination: optional
	KinesisFirehoseDestination *KinesisFirehoseDestination `hcl:"kinesis_firehose_destination,block"`
	// PinpointDestination: optional
	PinpointDestination *PinpointDestination `hcl:"pinpoint_destination,block"`
	// SnsDestination: optional
	SnsDestination *SnsDestination `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 EventDestinationState

type EventDestinationState struct {
	Enabled                    bool                              `json:"enabled"`
	MatchingEventTypes         []string                          `json:"matching_event_types"`
	CloudWatchDestination      []CloudWatchDestinationState      `json:"cloud_watch_destination"`
	KinesisFirehoseDestination []KinesisFirehoseDestinationState `json:"kinesis_firehose_destination"`
	PinpointDestination        []PinpointDestinationState        `json:"pinpoint_destination"`
	SnsDestination             []SnsDestinationState             `json:"sns_destination"`
}

type KinesisFirehoseDestination

type KinesisFirehoseDestination 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 KinesisFirehoseDestinationAttributes

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

func (KinesisFirehoseDestinationAttributes) DeliveryStreamArn

func (kfd KinesisFirehoseDestinationAttributes) DeliveryStreamArn() terra.StringValue

func (KinesisFirehoseDestinationAttributes) IamRoleArn

func (KinesisFirehoseDestinationAttributes) InternalRef

func (KinesisFirehoseDestinationAttributes) InternalTokens

func (KinesisFirehoseDestinationAttributes) InternalWithRef

type KinesisFirehoseDestinationState

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

type PinpointDestination

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

type PinpointDestinationAttributes

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

func (PinpointDestinationAttributes) ApplicationArn

func (pd PinpointDestinationAttributes) ApplicationArn() terra.StringValue

func (PinpointDestinationAttributes) InternalRef

func (pd PinpointDestinationAttributes) InternalRef() (terra.Reference, error)

func (PinpointDestinationAttributes) InternalTokens

func (pd PinpointDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PinpointDestinationAttributes) InternalWithRef

type PinpointDestinationState

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

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