Documentation
¶
Index ¶
- type Args
- type CloudwatchDestination
- type CloudwatchDestinationAttributes
- func (cd CloudwatchDestinationAttributes) DefaultValue() terra.StringValue
- func (cd CloudwatchDestinationAttributes) DimensionName() terra.StringValue
- func (cd CloudwatchDestinationAttributes) InternalRef() (terra.Reference, error)
- func (cd CloudwatchDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cd CloudwatchDestinationAttributes) InternalWithRef(ref terra.Reference) CloudwatchDestinationAttributes
- func (cd CloudwatchDestinationAttributes) ValueSource() terra.StringValue
- type CloudwatchDestinationState
- type KinesisDestination
- type KinesisDestinationAttributes
- func (kd KinesisDestinationAttributes) InternalRef() (terra.Reference, error)
- func (kd KinesisDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (kd KinesisDestinationAttributes) InternalWithRef(ref terra.Reference) KinesisDestinationAttributes
- func (kd KinesisDestinationAttributes) RoleArn() terra.StringValue
- func (kd KinesisDestinationAttributes) StreamArn() terra.StringValue
- type KinesisDestinationState
- type Resource
- func (ased *Resource) Attributes() awsSesEventDestinationAttributes
- func (ased *Resource) Configuration() interface{}
- func (ased *Resource) DependOn() terra.Reference
- func (ased *Resource) Dependencies() terra.Dependencies
- func (ased *Resource) ImportState(state io.Reader) error
- func (ased *Resource) LifecycleManagement() *terra.Lifecycle
- func (ased *Resource) LocalName() string
- func (ased *Resource) State() (*awsSesEventDestinationState, bool)
- func (ased *Resource) StateMust() *awsSesEventDestinationState
- func (ased *Resource) Type() string
- type SnsDestination
- type SnsDestinationAttributes
- func (sd SnsDestinationAttributes) InternalRef() (terra.Reference, error)
- func (sd SnsDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sd SnsDestinationAttributes) InternalWithRef(ref terra.Reference) SnsDestinationAttributes
- func (sd SnsDestinationAttributes) TopicArn() terra.StringValue
- type SnsDestinationState
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 (cd CloudwatchDestinationAttributes) DefaultValue() terra.StringValue
func (CloudwatchDestinationAttributes) DimensionName ¶
func (cd CloudwatchDestinationAttributes) DimensionName() terra.StringValue
func (CloudwatchDestinationAttributes) InternalRef ¶
func (cd CloudwatchDestinationAttributes) InternalRef() (terra.Reference, error)
func (CloudwatchDestinationAttributes) InternalTokens ¶
func (cd CloudwatchDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CloudwatchDestinationAttributes) InternalWithRef ¶
func (cd CloudwatchDestinationAttributes) InternalWithRef(ref terra.Reference) CloudwatchDestinationAttributes
func (CloudwatchDestinationAttributes) ValueSource ¶
func (cd CloudwatchDestinationAttributes) ValueSource() terra.StringValue
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 (kd KinesisDestinationAttributes) InternalWithRef(ref terra.Reference) KinesisDestinationAttributes
func (KinesisDestinationAttributes) RoleArn ¶
func (kd KinesisDestinationAttributes) RoleArn() terra.StringValue
func (KinesisDestinationAttributes) StreamArn ¶
func (kd KinesisDestinationAttributes) StreamArn() terra.StringValue
type KinesisDestinationState ¶
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 (*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) Dependencies ¶
func (ased *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block 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 (sd SnsDestinationAttributes) InternalWithRef(ref terra.Reference) SnsDestinationAttributes
func (SnsDestinationAttributes) TopicArn ¶
func (sd SnsDestinationAttributes) TopicArn() terra.StringValue
type SnsDestinationState ¶
type SnsDestinationState struct {
TopicArn string `json:"topic_arn"`
}
Click to show internal directories.
Click to hide internal directories.