aws_sesv2_configuration_set

package
v5.45.0 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"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// DeliveryOptions: optional
	DeliveryOptions *DeliveryOptions `hcl:"delivery_options,block"`
	// ReputationOptions: optional
	ReputationOptions *ReputationOptions `hcl:"reputation_options,block"`
	// SendingOptions: optional
	SendingOptions *SendingOptions `hcl:"sending_options,block"`
	// SuppressionOptions: optional
	SuppressionOptions *SuppressionOptions `hcl:"suppression_options,block"`
	// TrackingOptions: optional
	TrackingOptions *TrackingOptions `hcl:"tracking_options,block"`
}

Args contains the configurations for aws_sesv2_configuration_set.

type DeliveryOptions

type DeliveryOptions struct {
	// SendingPoolName: string, optional
	SendingPoolName terra.StringValue `hcl:"sending_pool_name,attr"`
	// TlsPolicy: string, optional
	TlsPolicy terra.StringValue `hcl:"tls_policy,attr"`
}

type DeliveryOptionsAttributes

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

func (DeliveryOptionsAttributes) InternalRef

func (do DeliveryOptionsAttributes) InternalRef() (terra.Reference, error)

func (DeliveryOptionsAttributes) InternalTokens

func (do DeliveryOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DeliveryOptionsAttributes) InternalWithRef

func (DeliveryOptionsAttributes) SendingPoolName

func (do DeliveryOptionsAttributes) SendingPoolName() terra.StringValue

func (DeliveryOptionsAttributes) TlsPolicy

type DeliveryOptionsState

type DeliveryOptionsState struct {
	SendingPoolName string `json:"sending_pool_name"`
	TlsPolicy       string `json:"tls_policy"`
}

type ReputationOptions

type ReputationOptions struct {
	// ReputationMetricsEnabled: bool, optional
	ReputationMetricsEnabled terra.BoolValue `hcl:"reputation_metrics_enabled,attr"`
}

type ReputationOptionsAttributes

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

func (ReputationOptionsAttributes) InternalRef

func (ro ReputationOptionsAttributes) InternalRef() (terra.Reference, error)

func (ReputationOptionsAttributes) InternalTokens

func (ro ReputationOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ReputationOptionsAttributes) InternalWithRef

func (ReputationOptionsAttributes) LastFreshStart

func (ro ReputationOptionsAttributes) LastFreshStart() terra.StringValue

func (ReputationOptionsAttributes) ReputationMetricsEnabled

func (ro ReputationOptionsAttributes) ReputationMetricsEnabled() terra.BoolValue

type ReputationOptionsState

type ReputationOptionsState struct {
	LastFreshStart           string `json:"last_fresh_start"`
	ReputationMetricsEnabled bool   `json:"reputation_metrics_enabled"`
}

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.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (ascs *Resource) Attributes() awsSesv2ConfigurationSetAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (ascs *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (ascs *Resource) State() (*awsSesv2ConfigurationSetState, bool)

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

func (*Resource) StateMust

func (ascs *Resource) StateMust() *awsSesv2ConfigurationSetState

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

func (*Resource) Type

func (ascs *Resource) Type() string

Type returns the Terraform object type for Resource.

type SendingOptions

type SendingOptions struct {
	// SendingEnabled: bool, optional
	SendingEnabled terra.BoolValue `hcl:"sending_enabled,attr"`
}

type SendingOptionsAttributes

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

func (SendingOptionsAttributes) InternalRef

func (so SendingOptionsAttributes) InternalRef() (terra.Reference, error)

func (SendingOptionsAttributes) InternalTokens

func (so SendingOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SendingOptionsAttributes) InternalWithRef

func (SendingOptionsAttributes) SendingEnabled

func (so SendingOptionsAttributes) SendingEnabled() terra.BoolValue

type SendingOptionsState

type SendingOptionsState struct {
	SendingEnabled bool `json:"sending_enabled"`
}

type SuppressionOptions

type SuppressionOptions struct {
	// SuppressedReasons: list of string, optional
	SuppressedReasons terra.ListValue[terra.StringValue] `hcl:"suppressed_reasons,attr"`
}

type SuppressionOptionsAttributes

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

func (SuppressionOptionsAttributes) InternalRef

func (so SuppressionOptionsAttributes) InternalRef() (terra.Reference, error)

func (SuppressionOptionsAttributes) InternalTokens

func (so SuppressionOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SuppressionOptionsAttributes) InternalWithRef

func (SuppressionOptionsAttributes) SuppressedReasons

type SuppressionOptionsState

type SuppressionOptionsState struct {
	SuppressedReasons []string `json:"suppressed_reasons"`
}

type TrackingOptions

type TrackingOptions struct {
	// CustomRedirectDomain: string, required
	CustomRedirectDomain terra.StringValue `hcl:"custom_redirect_domain,attr" validate:"required"`
}

type TrackingOptionsAttributes

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

func (TrackingOptionsAttributes) CustomRedirectDomain

func (to TrackingOptionsAttributes) CustomRedirectDomain() terra.StringValue

func (TrackingOptionsAttributes) InternalRef

func (to TrackingOptionsAttributes) InternalRef() (terra.Reference, error)

func (TrackingOptionsAttributes) InternalTokens

func (to TrackingOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TrackingOptionsAttributes) InternalWithRef

type TrackingOptionsState

type TrackingOptionsState struct {
	CustomRedirectDomain string `json:"custom_redirect_domain"`
}

Jump to

Keyboard shortcuts

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