aws_iot_topic_rule

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 {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Sql: string, required
	Sql terra.StringValue `hcl:"sql,attr" validate:"required"`
	// SqlVersion: string, required
	SqlVersion terra.StringValue `hcl:"sql_version,attr" validate:"required"`
	// 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"`
	// CloudwatchAlarm: min=0
	CloudwatchAlarm []CloudwatchAlarm `hcl:"cloudwatch_alarm,block" validate:"min=0"`
	// CloudwatchLogs: min=0
	CloudwatchLogs []CloudwatchLogs `hcl:"cloudwatch_logs,block" validate:"min=0"`
	// CloudwatchMetric: min=0
	CloudwatchMetric []CloudwatchMetric `hcl:"cloudwatch_metric,block" validate:"min=0"`
	// Dynamodb: min=0
	Dynamodb []Dynamodb `hcl:"dynamodb,block" validate:"min=0"`
	// Dynamodbv2: min=0
	Dynamodbv2 []Dynamodbv2 `hcl:"dynamodbv2,block" validate:"min=0"`
	// Elasticsearch: min=0
	Elasticsearch []Elasticsearch `hcl:"elasticsearch,block" validate:"min=0"`
	// ErrorAction: optional
	ErrorAction *ErrorAction `hcl:"error_action,block"`
	// Firehose: min=0
	Firehose []Firehose `hcl:"firehose,block" validate:"min=0"`
	// Http: min=0
	Http []Http `hcl:"http,block" validate:"min=0"`
	// IotAnalytics: min=0
	IotAnalytics []IotAnalytics `hcl:"iot_analytics,block" validate:"min=0"`
	// IotEvents: min=0
	IotEvents []IotEvents `hcl:"iot_events,block" validate:"min=0"`
	// Kafka: min=0
	Kafka []Kafka `hcl:"kafka,block" validate:"min=0"`
	// Kinesis: min=0
	Kinesis []Kinesis `hcl:"kinesis,block" validate:"min=0"`
	// Lambda: min=0
	Lambda []Lambda `hcl:"lambda,block" validate:"min=0"`
	// Republish: min=0
	Republish []Republish `hcl:"republish,block" validate:"min=0"`
	// S3: min=0
	S3 []S3 `hcl:"s3,block" validate:"min=0"`
	// Sns: min=0
	Sns []Sns `hcl:"sns,block" validate:"min=0"`
	// Sqs: min=0
	Sqs []Sqs `hcl:"sqs,block" validate:"min=0"`
	// StepFunctions: min=0
	StepFunctions []StepFunctions `hcl:"step_functions,block" validate:"min=0"`
	// Timestream: min=0
	Timestream []Timestream `hcl:"timestream,block" validate:"min=0"`
}

Args contains the configurations for aws_iot_topic_rule.

type CloudwatchAlarm

type CloudwatchAlarm struct {
	// AlarmName: string, required
	AlarmName terra.StringValue `hcl:"alarm_name,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// StateReason: string, required
	StateReason terra.StringValue `hcl:"state_reason,attr" validate:"required"`
	// StateValue: string, required
	StateValue terra.StringValue `hcl:"state_value,attr" validate:"required"`
}

type CloudwatchAlarmAttributes

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

func (CloudwatchAlarmAttributes) AlarmName

func (CloudwatchAlarmAttributes) InternalRef

func (ca CloudwatchAlarmAttributes) InternalRef() (terra.Reference, error)

func (CloudwatchAlarmAttributes) InternalTokens

func (ca CloudwatchAlarmAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CloudwatchAlarmAttributes) InternalWithRef

func (CloudwatchAlarmAttributes) RoleArn

func (CloudwatchAlarmAttributes) StateReason

func (ca CloudwatchAlarmAttributes) StateReason() terra.StringValue

func (CloudwatchAlarmAttributes) StateValue

type CloudwatchAlarmState

type CloudwatchAlarmState struct {
	AlarmName   string `json:"alarm_name"`
	RoleArn     string `json:"role_arn"`
	StateReason string `json:"state_reason"`
	StateValue  string `json:"state_value"`
}

type CloudwatchLogs

type CloudwatchLogs struct {
	// LogGroupName: string, required
	LogGroupName terra.StringValue `hcl:"log_group_name,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
}

type CloudwatchLogsAttributes

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

func (CloudwatchLogsAttributes) InternalRef

func (cl CloudwatchLogsAttributes) InternalRef() (terra.Reference, error)

func (CloudwatchLogsAttributes) InternalTokens

func (cl CloudwatchLogsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CloudwatchLogsAttributes) InternalWithRef

func (CloudwatchLogsAttributes) LogGroupName

func (cl CloudwatchLogsAttributes) LogGroupName() terra.StringValue

func (CloudwatchLogsAttributes) RoleArn

type CloudwatchLogsState

type CloudwatchLogsState struct {
	LogGroupName string `json:"log_group_name"`
	RoleArn      string `json:"role_arn"`
}

type CloudwatchMetric

type CloudwatchMetric struct {
	// MetricName: string, required
	MetricName terra.StringValue `hcl:"metric_name,attr" validate:"required"`
	// MetricNamespace: string, required
	MetricNamespace terra.StringValue `hcl:"metric_namespace,attr" validate:"required"`
	// MetricTimestamp: string, optional
	MetricTimestamp terra.StringValue `hcl:"metric_timestamp,attr"`
	// MetricUnit: string, required
	MetricUnit terra.StringValue `hcl:"metric_unit,attr" validate:"required"`
	// MetricValue: string, required
	MetricValue terra.StringValue `hcl:"metric_value,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
}

type CloudwatchMetricAttributes

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

func (CloudwatchMetricAttributes) InternalRef

func (cm CloudwatchMetricAttributes) InternalRef() (terra.Reference, error)

func (CloudwatchMetricAttributes) InternalTokens

func (cm CloudwatchMetricAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CloudwatchMetricAttributes) InternalWithRef

func (CloudwatchMetricAttributes) MetricName

func (CloudwatchMetricAttributes) MetricNamespace

func (cm CloudwatchMetricAttributes) MetricNamespace() terra.StringValue

func (CloudwatchMetricAttributes) MetricTimestamp

func (cm CloudwatchMetricAttributes) MetricTimestamp() terra.StringValue

func (CloudwatchMetricAttributes) MetricUnit

func (CloudwatchMetricAttributes) MetricValue

func (cm CloudwatchMetricAttributes) MetricValue() terra.StringValue

func (CloudwatchMetricAttributes) RoleArn

type CloudwatchMetricState

type CloudwatchMetricState struct {
	MetricName      string `json:"metric_name"`
	MetricNamespace string `json:"metric_namespace"`
	MetricTimestamp string `json:"metric_timestamp"`
	MetricUnit      string `json:"metric_unit"`
	MetricValue     string `json:"metric_value"`
	RoleArn         string `json:"role_arn"`
}

type Dynamodb

type Dynamodb struct {
	// HashKeyField: string, required
	HashKeyField terra.StringValue `hcl:"hash_key_field,attr" validate:"required"`
	// HashKeyType: string, optional
	HashKeyType terra.StringValue `hcl:"hash_key_type,attr"`
	// HashKeyValue: string, required
	HashKeyValue terra.StringValue `hcl:"hash_key_value,attr" validate:"required"`
	// Operation: string, optional
	Operation terra.StringValue `hcl:"operation,attr"`
	// PayloadField: string, optional
	PayloadField terra.StringValue `hcl:"payload_field,attr"`
	// RangeKeyField: string, optional
	RangeKeyField terra.StringValue `hcl:"range_key_field,attr"`
	// RangeKeyType: string, optional
	RangeKeyType terra.StringValue `hcl:"range_key_type,attr"`
	// RangeKeyValue: string, optional
	RangeKeyValue terra.StringValue `hcl:"range_key_value,attr"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// TableName: string, required
	TableName terra.StringValue `hcl:"table_name,attr" validate:"required"`
}

type DynamodbAttributes

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

func (DynamodbAttributes) HashKeyField

func (d DynamodbAttributes) HashKeyField() terra.StringValue

func (DynamodbAttributes) HashKeyType

func (d DynamodbAttributes) HashKeyType() terra.StringValue

func (DynamodbAttributes) HashKeyValue

func (d DynamodbAttributes) HashKeyValue() terra.StringValue

func (DynamodbAttributes) InternalRef

func (d DynamodbAttributes) InternalRef() (terra.Reference, error)

func (DynamodbAttributes) InternalTokens

func (d DynamodbAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DynamodbAttributes) InternalWithRef

func (d DynamodbAttributes) InternalWithRef(ref terra.Reference) DynamodbAttributes

func (DynamodbAttributes) Operation

func (d DynamodbAttributes) Operation() terra.StringValue

func (DynamodbAttributes) PayloadField

func (d DynamodbAttributes) PayloadField() terra.StringValue

func (DynamodbAttributes) RangeKeyField

func (d DynamodbAttributes) RangeKeyField() terra.StringValue

func (DynamodbAttributes) RangeKeyType

func (d DynamodbAttributes) RangeKeyType() terra.StringValue

func (DynamodbAttributes) RangeKeyValue

func (d DynamodbAttributes) RangeKeyValue() terra.StringValue

func (DynamodbAttributes) RoleArn

func (d DynamodbAttributes) RoleArn() terra.StringValue

func (DynamodbAttributes) TableName

func (d DynamodbAttributes) TableName() terra.StringValue

type DynamodbState

type DynamodbState struct {
	HashKeyField  string `json:"hash_key_field"`
	HashKeyType   string `json:"hash_key_type"`
	HashKeyValue  string `json:"hash_key_value"`
	Operation     string `json:"operation"`
	PayloadField  string `json:"payload_field"`
	RangeKeyField string `json:"range_key_field"`
	RangeKeyType  string `json:"range_key_type"`
	RangeKeyValue string `json:"range_key_value"`
	RoleArn       string `json:"role_arn"`
	TableName     string `json:"table_name"`
}

type Dynamodbv2

type Dynamodbv2 struct {
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// Dynamodbv2PutItem: optional
	PutItem *Dynamodbv2PutItem `hcl:"put_item,block"`
}

type Dynamodbv2Attributes

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

func (Dynamodbv2Attributes) InternalRef

func (d Dynamodbv2Attributes) InternalRef() (terra.Reference, error)

func (Dynamodbv2Attributes) InternalTokens

func (d Dynamodbv2Attributes) InternalTokens() (hclwrite.Tokens, error)

func (Dynamodbv2Attributes) InternalWithRef

func (Dynamodbv2Attributes) PutItem

func (Dynamodbv2Attributes) RoleArn

type Dynamodbv2PutItem

type Dynamodbv2PutItem struct {
	// TableName: string, required
	TableName terra.StringValue `hcl:"table_name,attr" validate:"required"`
}

type Dynamodbv2PutItemAttributes

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

func (Dynamodbv2PutItemAttributes) InternalRef

func (pi Dynamodbv2PutItemAttributes) InternalRef() (terra.Reference, error)

func (Dynamodbv2PutItemAttributes) InternalTokens

func (pi Dynamodbv2PutItemAttributes) InternalTokens() (hclwrite.Tokens, error)

func (Dynamodbv2PutItemAttributes) InternalWithRef

func (Dynamodbv2PutItemAttributes) TableName

type Dynamodbv2PutItemState

type Dynamodbv2PutItemState struct {
	TableName string `json:"table_name"`
}

type Dynamodbv2State

type Dynamodbv2State struct {
	RoleArn string                   `json:"role_arn"`
	PutItem []Dynamodbv2PutItemState `json:"put_item"`
}

type Elasticsearch

type Elasticsearch struct {
	// Endpoint: string, required
	Endpoint terra.StringValue `hcl:"endpoint,attr" validate:"required"`
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
	// Index: string, required
	Index terra.StringValue `hcl:"index,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type ElasticsearchAttributes

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

func (ElasticsearchAttributes) Endpoint

func (ElasticsearchAttributes) Id

func (ElasticsearchAttributes) Index

func (ElasticsearchAttributes) InternalRef

func (e ElasticsearchAttributes) InternalRef() (terra.Reference, error)

func (ElasticsearchAttributes) InternalTokens

func (e ElasticsearchAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ElasticsearchAttributes) InternalWithRef

func (ElasticsearchAttributes) RoleArn

func (ElasticsearchAttributes) Type

type ElasticsearchState

type ElasticsearchState struct {
	Endpoint string `json:"endpoint"`
	Id       string `json:"id"`
	Index    string `json:"index"`
	RoleArn  string `json:"role_arn"`
	Type     string `json:"type"`
}

type ErrorAction

type ErrorAction struct {
	// ErrorActionCloudwatchAlarm: optional
	CloudwatchAlarm *ErrorActionCloudwatchAlarm `hcl:"cloudwatch_alarm,block"`
	// ErrorActionCloudwatchLogs: optional
	CloudwatchLogs *ErrorActionCloudwatchLogs `hcl:"cloudwatch_logs,block"`
	// ErrorActionCloudwatchMetric: optional
	CloudwatchMetric *ErrorActionCloudwatchMetric `hcl:"cloudwatch_metric,block"`
	// ErrorActionDynamodb: optional
	Dynamodb *ErrorActionDynamodb `hcl:"dynamodb,block"`
	// ErrorActionDynamodbv2: optional
	Dynamodbv2 *ErrorActionDynamodbv2 `hcl:"dynamodbv2,block"`
	// ErrorActionElasticsearch: optional
	Elasticsearch *ErrorActionElasticsearch `hcl:"elasticsearch,block"`
	// ErrorActionFirehose: optional
	Firehose *ErrorActionFirehose `hcl:"firehose,block"`
	// ErrorActionHttp: optional
	Http *ErrorActionHttp `hcl:"http,block"`
	// ErrorActionIotAnalytics: optional
	IotAnalytics *ErrorActionIotAnalytics `hcl:"iot_analytics,block"`
	// ErrorActionIotEvents: optional
	IotEvents *ErrorActionIotEvents `hcl:"iot_events,block"`
	// ErrorActionKafka: optional
	Kafka *ErrorActionKafka `hcl:"kafka,block"`
	// ErrorActionKinesis: optional
	Kinesis *ErrorActionKinesis `hcl:"kinesis,block"`
	// ErrorActionLambda: optional
	Lambda *ErrorActionLambda `hcl:"lambda,block"`
	// ErrorActionRepublish: optional
	Republish *ErrorActionRepublish `hcl:"republish,block"`
	// ErrorActionS3: optional
	S3 *ErrorActionS3 `hcl:"s3,block"`
	// ErrorActionSns: optional
	Sns *ErrorActionSns `hcl:"sns,block"`
	// ErrorActionSqs: optional
	Sqs *ErrorActionSqs `hcl:"sqs,block"`
	// ErrorActionStepFunctions: optional
	StepFunctions *ErrorActionStepFunctions `hcl:"step_functions,block"`
	// ErrorActionTimestream: optional
	Timestream *ErrorActionTimestream `hcl:"timestream,block"`
}

type ErrorActionAttributes

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

func (ErrorActionAttributes) CloudwatchAlarm

func (ErrorActionAttributes) CloudwatchLogs

func (ErrorActionAttributes) CloudwatchMetric

func (ErrorActionAttributes) Dynamodb

func (ErrorActionAttributes) Dynamodbv2

func (ErrorActionAttributes) Elasticsearch

func (ErrorActionAttributes) Firehose

func (ErrorActionAttributes) Http

func (ErrorActionAttributes) InternalRef

func (ea ErrorActionAttributes) InternalRef() (terra.Reference, error)

func (ErrorActionAttributes) InternalTokens

func (ea ErrorActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ErrorActionAttributes) InternalWithRef

func (ErrorActionAttributes) IotAnalytics

func (ErrorActionAttributes) IotEvents

func (ErrorActionAttributes) Kafka

func (ErrorActionAttributes) Kinesis

func (ErrorActionAttributes) Lambda

func (ErrorActionAttributes) Republish

func (ErrorActionAttributes) S3

func (ErrorActionAttributes) Sns

func (ErrorActionAttributes) Sqs

func (ErrorActionAttributes) StepFunctions

func (ErrorActionAttributes) Timestream

type ErrorActionCloudwatchAlarm

type ErrorActionCloudwatchAlarm struct {
	// AlarmName: string, required
	AlarmName terra.StringValue `hcl:"alarm_name,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// StateReason: string, required
	StateReason terra.StringValue `hcl:"state_reason,attr" validate:"required"`
	// StateValue: string, required
	StateValue terra.StringValue `hcl:"state_value,attr" validate:"required"`
}

type ErrorActionCloudwatchAlarmAttributes

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

func (ErrorActionCloudwatchAlarmAttributes) AlarmName

func (ErrorActionCloudwatchAlarmAttributes) InternalRef

func (ErrorActionCloudwatchAlarmAttributes) InternalTokens

func (ErrorActionCloudwatchAlarmAttributes) InternalWithRef

func (ErrorActionCloudwatchAlarmAttributes) RoleArn

func (ErrorActionCloudwatchAlarmAttributes) StateReason

func (ErrorActionCloudwatchAlarmAttributes) StateValue

type ErrorActionCloudwatchAlarmState

type ErrorActionCloudwatchAlarmState struct {
	AlarmName   string `json:"alarm_name"`
	RoleArn     string `json:"role_arn"`
	StateReason string `json:"state_reason"`
	StateValue  string `json:"state_value"`
}

type ErrorActionCloudwatchLogs

type ErrorActionCloudwatchLogs struct {
	// LogGroupName: string, required
	LogGroupName terra.StringValue `hcl:"log_group_name,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
}

type ErrorActionCloudwatchLogsAttributes

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

func (ErrorActionCloudwatchLogsAttributes) InternalRef

func (ErrorActionCloudwatchLogsAttributes) InternalTokens

func (ErrorActionCloudwatchLogsAttributes) InternalWithRef

func (ErrorActionCloudwatchLogsAttributes) LogGroupName

func (ErrorActionCloudwatchLogsAttributes) RoleArn

type ErrorActionCloudwatchLogsState

type ErrorActionCloudwatchLogsState struct {
	LogGroupName string `json:"log_group_name"`
	RoleArn      string `json:"role_arn"`
}

type ErrorActionCloudwatchMetric

type ErrorActionCloudwatchMetric struct {
	// MetricName: string, required
	MetricName terra.StringValue `hcl:"metric_name,attr" validate:"required"`
	// MetricNamespace: string, required
	MetricNamespace terra.StringValue `hcl:"metric_namespace,attr" validate:"required"`
	// MetricTimestamp: string, optional
	MetricTimestamp terra.StringValue `hcl:"metric_timestamp,attr"`
	// MetricUnit: string, required
	MetricUnit terra.StringValue `hcl:"metric_unit,attr" validate:"required"`
	// MetricValue: string, required
	MetricValue terra.StringValue `hcl:"metric_value,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
}

type ErrorActionCloudwatchMetricAttributes

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

func (ErrorActionCloudwatchMetricAttributes) InternalRef

func (ErrorActionCloudwatchMetricAttributes) InternalTokens

func (ErrorActionCloudwatchMetricAttributes) InternalWithRef

func (ErrorActionCloudwatchMetricAttributes) MetricName

func (ErrorActionCloudwatchMetricAttributes) MetricNamespace

func (ErrorActionCloudwatchMetricAttributes) MetricTimestamp

func (ErrorActionCloudwatchMetricAttributes) MetricUnit

func (ErrorActionCloudwatchMetricAttributes) MetricValue

func (ErrorActionCloudwatchMetricAttributes) RoleArn

type ErrorActionCloudwatchMetricState

type ErrorActionCloudwatchMetricState struct {
	MetricName      string `json:"metric_name"`
	MetricNamespace string `json:"metric_namespace"`
	MetricTimestamp string `json:"metric_timestamp"`
	MetricUnit      string `json:"metric_unit"`
	MetricValue     string `json:"metric_value"`
	RoleArn         string `json:"role_arn"`
}

type ErrorActionDynamodb

type ErrorActionDynamodb struct {
	// HashKeyField: string, required
	HashKeyField terra.StringValue `hcl:"hash_key_field,attr" validate:"required"`
	// HashKeyType: string, optional
	HashKeyType terra.StringValue `hcl:"hash_key_type,attr"`
	// HashKeyValue: string, required
	HashKeyValue terra.StringValue `hcl:"hash_key_value,attr" validate:"required"`
	// Operation: string, optional
	Operation terra.StringValue `hcl:"operation,attr"`
	// PayloadField: string, optional
	PayloadField terra.StringValue `hcl:"payload_field,attr"`
	// RangeKeyField: string, optional
	RangeKeyField terra.StringValue `hcl:"range_key_field,attr"`
	// RangeKeyType: string, optional
	RangeKeyType terra.StringValue `hcl:"range_key_type,attr"`
	// RangeKeyValue: string, optional
	RangeKeyValue terra.StringValue `hcl:"range_key_value,attr"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// TableName: string, required
	TableName terra.StringValue `hcl:"table_name,attr" validate:"required"`
}

type ErrorActionDynamodbAttributes

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

func (ErrorActionDynamodbAttributes) HashKeyField

func (ErrorActionDynamodbAttributes) HashKeyType

func (ErrorActionDynamodbAttributes) HashKeyValue

func (ErrorActionDynamodbAttributes) InternalRef

func (ErrorActionDynamodbAttributes) InternalTokens

func (d ErrorActionDynamodbAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ErrorActionDynamodbAttributes) InternalWithRef

func (ErrorActionDynamodbAttributes) Operation

func (ErrorActionDynamodbAttributes) PayloadField

func (ErrorActionDynamodbAttributes) RangeKeyField

func (ErrorActionDynamodbAttributes) RangeKeyType

func (ErrorActionDynamodbAttributes) RangeKeyValue

func (ErrorActionDynamodbAttributes) RoleArn

func (ErrorActionDynamodbAttributes) TableName

type ErrorActionDynamodbState

type ErrorActionDynamodbState struct {
	HashKeyField  string `json:"hash_key_field"`
	HashKeyType   string `json:"hash_key_type"`
	HashKeyValue  string `json:"hash_key_value"`
	Operation     string `json:"operation"`
	PayloadField  string `json:"payload_field"`
	RangeKeyField string `json:"range_key_field"`
	RangeKeyType  string `json:"range_key_type"`
	RangeKeyValue string `json:"range_key_value"`
	RoleArn       string `json:"role_arn"`
	TableName     string `json:"table_name"`
}

type ErrorActionDynamodbv2

type ErrorActionDynamodbv2 struct {
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// ErrorActionDynamodbv2PutItem: optional
	PutItem *ErrorActionDynamodbv2PutItem `hcl:"put_item,block"`
}

type ErrorActionDynamodbv2Attributes

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

func (ErrorActionDynamodbv2Attributes) InternalRef

func (ErrorActionDynamodbv2Attributes) InternalTokens

func (d ErrorActionDynamodbv2Attributes) InternalTokens() (hclwrite.Tokens, error)

func (ErrorActionDynamodbv2Attributes) InternalWithRef

func (ErrorActionDynamodbv2Attributes) PutItem

func (ErrorActionDynamodbv2Attributes) RoleArn

type ErrorActionDynamodbv2PutItem

type ErrorActionDynamodbv2PutItem struct {
	// TableName: string, required
	TableName terra.StringValue `hcl:"table_name,attr" validate:"required"`
}

type ErrorActionDynamodbv2PutItemAttributes

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

func (ErrorActionDynamodbv2PutItemAttributes) InternalRef

func (ErrorActionDynamodbv2PutItemAttributes) InternalTokens

func (ErrorActionDynamodbv2PutItemAttributes) InternalWithRef

func (ErrorActionDynamodbv2PutItemAttributes) TableName

type ErrorActionDynamodbv2PutItemState

type ErrorActionDynamodbv2PutItemState struct {
	TableName string `json:"table_name"`
}

type ErrorActionDynamodbv2State

type ErrorActionDynamodbv2State struct {
	RoleArn string                              `json:"role_arn"`
	PutItem []ErrorActionDynamodbv2PutItemState `json:"put_item"`
}

type ErrorActionElasticsearch

type ErrorActionElasticsearch struct {
	// Endpoint: string, required
	Endpoint terra.StringValue `hcl:"endpoint,attr" validate:"required"`
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
	// Index: string, required
	Index terra.StringValue `hcl:"index,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type ErrorActionElasticsearchAttributes

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

func (ErrorActionElasticsearchAttributes) Endpoint

func (ErrorActionElasticsearchAttributes) Id

func (ErrorActionElasticsearchAttributes) Index

func (ErrorActionElasticsearchAttributes) InternalRef

func (ErrorActionElasticsearchAttributes) InternalTokens

func (ErrorActionElasticsearchAttributes) InternalWithRef

func (ErrorActionElasticsearchAttributes) RoleArn

func (ErrorActionElasticsearchAttributes) Type

type ErrorActionElasticsearchState

type ErrorActionElasticsearchState struct {
	Endpoint string `json:"endpoint"`
	Id       string `json:"id"`
	Index    string `json:"index"`
	RoleArn  string `json:"role_arn"`
	Type     string `json:"type"`
}

type ErrorActionFirehose

type ErrorActionFirehose struct {
	// DeliveryStreamName: string, required
	DeliveryStreamName terra.StringValue `hcl:"delivery_stream_name,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// Separator: string, optional
	Separator terra.StringValue `hcl:"separator,attr"`
}

type ErrorActionFirehoseAttributes

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

func (ErrorActionFirehoseAttributes) DeliveryStreamName

func (f ErrorActionFirehoseAttributes) DeliveryStreamName() terra.StringValue

func (ErrorActionFirehoseAttributes) InternalRef

func (ErrorActionFirehoseAttributes) InternalTokens

func (f ErrorActionFirehoseAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ErrorActionFirehoseAttributes) InternalWithRef

func (ErrorActionFirehoseAttributes) RoleArn

func (ErrorActionFirehoseAttributes) Separator

type ErrorActionFirehoseState

type ErrorActionFirehoseState struct {
	DeliveryStreamName string `json:"delivery_stream_name"`
	RoleArn            string `json:"role_arn"`
	Separator          string `json:"separator"`
}

type ErrorActionHttp

type ErrorActionHttp struct {
	// ConfirmationUrl: string, optional
	ConfirmationUrl terra.StringValue `hcl:"confirmation_url,attr"`
	// Url: string, required
	Url terra.StringValue `hcl:"url,attr" validate:"required"`
	// ErrorActionHttpHttpHeader: min=0
	HttpHeader []ErrorActionHttpHttpHeader `hcl:"http_header,block" validate:"min=0"`
}

type ErrorActionHttpAttributes

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

func (ErrorActionHttpAttributes) ConfirmationUrl

func (h ErrorActionHttpAttributes) ConfirmationUrl() terra.StringValue

func (ErrorActionHttpAttributes) HttpHeader

func (ErrorActionHttpAttributes) InternalRef

func (h ErrorActionHttpAttributes) InternalRef() (terra.Reference, error)

func (ErrorActionHttpAttributes) InternalTokens

func (h ErrorActionHttpAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ErrorActionHttpAttributes) InternalWithRef

func (ErrorActionHttpAttributes) Url

type ErrorActionHttpHttpHeader

type ErrorActionHttpHttpHeader struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type ErrorActionHttpHttpHeaderAttributes

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

func (ErrorActionHttpHttpHeaderAttributes) InternalRef

func (ErrorActionHttpHttpHeaderAttributes) InternalTokens

func (ErrorActionHttpHttpHeaderAttributes) InternalWithRef

func (ErrorActionHttpHttpHeaderAttributes) Key

func (ErrorActionHttpHttpHeaderAttributes) Value

type ErrorActionHttpHttpHeaderState

type ErrorActionHttpHttpHeaderState struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type ErrorActionHttpState

type ErrorActionHttpState struct {
	ConfirmationUrl string                           `json:"confirmation_url"`
	Url             string                           `json:"url"`
	HttpHeader      []ErrorActionHttpHttpHeaderState `json:"http_header"`
}

type ErrorActionIotAnalytics

type ErrorActionIotAnalytics struct {
	// ChannelName: string, required
	ChannelName terra.StringValue `hcl:"channel_name,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
}

type ErrorActionIotAnalyticsAttributes

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

func (ErrorActionIotAnalyticsAttributes) ChannelName

func (ErrorActionIotAnalyticsAttributes) InternalRef

func (ErrorActionIotAnalyticsAttributes) InternalTokens

func (ia ErrorActionIotAnalyticsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ErrorActionIotAnalyticsAttributes) InternalWithRef

func (ErrorActionIotAnalyticsAttributes) RoleArn

type ErrorActionIotAnalyticsState

type ErrorActionIotAnalyticsState struct {
	ChannelName string `json:"channel_name"`
	RoleArn     string `json:"role_arn"`
}

type ErrorActionIotEvents

type ErrorActionIotEvents struct {
	// InputName: string, required
	InputName terra.StringValue `hcl:"input_name,attr" validate:"required"`
	// MessageId: string, optional
	MessageId terra.StringValue `hcl:"message_id,attr"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
}

type ErrorActionIotEventsAttributes

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

func (ErrorActionIotEventsAttributes) InputName

func (ErrorActionIotEventsAttributes) InternalRef

func (ErrorActionIotEventsAttributes) InternalTokens

func (ie ErrorActionIotEventsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ErrorActionIotEventsAttributes) InternalWithRef

func (ErrorActionIotEventsAttributes) MessageId

func (ErrorActionIotEventsAttributes) RoleArn

type ErrorActionIotEventsState

type ErrorActionIotEventsState struct {
	InputName string `json:"input_name"`
	MessageId string `json:"message_id"`
	RoleArn   string `json:"role_arn"`
}

type ErrorActionKafka

type ErrorActionKafka struct {
	// ClientProperties: map of string, required
	ClientProperties terra.MapValue[terra.StringValue] `hcl:"client_properties,attr" validate:"required"`
	// DestinationArn: string, required
	DestinationArn terra.StringValue `hcl:"destination_arn,attr" validate:"required"`
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// Partition: string, optional
	Partition terra.StringValue `hcl:"partition,attr"`
	// Topic: string, required
	Topic terra.StringValue `hcl:"topic,attr" validate:"required"`
}

type ErrorActionKafkaAttributes

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

func (ErrorActionKafkaAttributes) ClientProperties

func (ErrorActionKafkaAttributes) DestinationArn

func (k ErrorActionKafkaAttributes) DestinationArn() terra.StringValue

func (ErrorActionKafkaAttributes) InternalRef

func (k ErrorActionKafkaAttributes) InternalRef() (terra.Reference, error)

func (ErrorActionKafkaAttributes) InternalTokens

func (k ErrorActionKafkaAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ErrorActionKafkaAttributes) InternalWithRef

func (ErrorActionKafkaAttributes) Key

func (ErrorActionKafkaAttributes) Partition

func (ErrorActionKafkaAttributes) Topic

type ErrorActionKafkaState

type ErrorActionKafkaState struct {
	ClientProperties map[string]string `json:"client_properties"`
	DestinationArn   string            `json:"destination_arn"`
	Key              string            `json:"key"`
	Partition        string            `json:"partition"`
	Topic            string            `json:"topic"`
}

type ErrorActionKinesis

type ErrorActionKinesis struct {
	// PartitionKey: string, optional
	PartitionKey terra.StringValue `hcl:"partition_key,attr"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// StreamName: string, required
	StreamName terra.StringValue `hcl:"stream_name,attr" validate:"required"`
}

type ErrorActionKinesisAttributes

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

func (ErrorActionKinesisAttributes) InternalRef

func (ErrorActionKinesisAttributes) InternalTokens

func (k ErrorActionKinesisAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ErrorActionKinesisAttributes) InternalWithRef

func (ErrorActionKinesisAttributes) PartitionKey

func (ErrorActionKinesisAttributes) RoleArn

func (ErrorActionKinesisAttributes) StreamName

type ErrorActionKinesisState

type ErrorActionKinesisState struct {
	PartitionKey string `json:"partition_key"`
	RoleArn      string `json:"role_arn"`
	StreamName   string `json:"stream_name"`
}

type ErrorActionLambda

type ErrorActionLambda struct {
	// FunctionArn: string, required
	FunctionArn terra.StringValue `hcl:"function_arn,attr" validate:"required"`
}

type ErrorActionLambdaAttributes

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

func (ErrorActionLambdaAttributes) FunctionArn

func (ErrorActionLambdaAttributes) InternalRef

func (l ErrorActionLambdaAttributes) InternalRef() (terra.Reference, error)

func (ErrorActionLambdaAttributes) InternalTokens

func (l ErrorActionLambdaAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ErrorActionLambdaAttributes) InternalWithRef

type ErrorActionLambdaState

type ErrorActionLambdaState struct {
	FunctionArn string `json:"function_arn"`
}

type ErrorActionRepublish

type ErrorActionRepublish struct {
	// Qos: number, optional
	Qos terra.NumberValue `hcl:"qos,attr"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// Topic: string, required
	Topic terra.StringValue `hcl:"topic,attr" validate:"required"`
}

type ErrorActionRepublishAttributes

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

func (ErrorActionRepublishAttributes) InternalRef

func (ErrorActionRepublishAttributes) InternalTokens

func (r ErrorActionRepublishAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ErrorActionRepublishAttributes) InternalWithRef

func (ErrorActionRepublishAttributes) Qos

func (ErrorActionRepublishAttributes) RoleArn

func (ErrorActionRepublishAttributes) Topic

type ErrorActionRepublishState

type ErrorActionRepublishState struct {
	Qos     float64 `json:"qos"`
	RoleArn string  `json:"role_arn"`
	Topic   string  `json:"topic"`
}

type ErrorActionS3

type ErrorActionS3 struct {
	// BucketName: string, required
	BucketName terra.StringValue `hcl:"bucket_name,attr" validate:"required"`
	// CannedAcl: string, optional
	CannedAcl terra.StringValue `hcl:"canned_acl,attr"`
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
}

type ErrorActionS3Attributes

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

func (ErrorActionS3Attributes) BucketName

func (s ErrorActionS3Attributes) BucketName() terra.StringValue

func (ErrorActionS3Attributes) CannedAcl

func (ErrorActionS3Attributes) InternalRef

func (s ErrorActionS3Attributes) InternalRef() (terra.Reference, error)

func (ErrorActionS3Attributes) InternalTokens

func (s ErrorActionS3Attributes) InternalTokens() (hclwrite.Tokens, error)

func (ErrorActionS3Attributes) InternalWithRef

func (ErrorActionS3Attributes) Key

func (ErrorActionS3Attributes) RoleArn

type ErrorActionS3State

type ErrorActionS3State struct {
	BucketName string `json:"bucket_name"`
	CannedAcl  string `json:"canned_acl"`
	Key        string `json:"key"`
	RoleArn    string `json:"role_arn"`
}

type ErrorActionSns

type ErrorActionSns struct {
	// MessageFormat: string, optional
	MessageFormat terra.StringValue `hcl:"message_format,attr"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// TargetArn: string, required
	TargetArn terra.StringValue `hcl:"target_arn,attr" validate:"required"`
}

type ErrorActionSnsAttributes

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

func (ErrorActionSnsAttributes) InternalRef

func (s ErrorActionSnsAttributes) InternalRef() (terra.Reference, error)

func (ErrorActionSnsAttributes) InternalTokens

func (s ErrorActionSnsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ErrorActionSnsAttributes) InternalWithRef

func (ErrorActionSnsAttributes) MessageFormat

func (s ErrorActionSnsAttributes) MessageFormat() terra.StringValue

func (ErrorActionSnsAttributes) RoleArn

func (ErrorActionSnsAttributes) TargetArn

type ErrorActionSnsState

type ErrorActionSnsState struct {
	MessageFormat string `json:"message_format"`
	RoleArn       string `json:"role_arn"`
	TargetArn     string `json:"target_arn"`
}

type ErrorActionSqs

type ErrorActionSqs struct {
	// QueueUrl: string, required
	QueueUrl terra.StringValue `hcl:"queue_url,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// UseBase64: bool, required
	UseBase64 terra.BoolValue `hcl:"use_base64,attr" validate:"required"`
}

type ErrorActionSqsAttributes

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

func (ErrorActionSqsAttributes) InternalRef

func (s ErrorActionSqsAttributes) InternalRef() (terra.Reference, error)

func (ErrorActionSqsAttributes) InternalTokens

func (s ErrorActionSqsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ErrorActionSqsAttributes) InternalWithRef

func (ErrorActionSqsAttributes) QueueUrl

func (ErrorActionSqsAttributes) RoleArn

func (ErrorActionSqsAttributes) UseBase64

type ErrorActionSqsState

type ErrorActionSqsState struct {
	QueueUrl  string `json:"queue_url"`
	RoleArn   string `json:"role_arn"`
	UseBase64 bool   `json:"use_base64"`
}

type ErrorActionState

type ErrorActionState struct {
	CloudwatchAlarm  []ErrorActionCloudwatchAlarmState  `json:"cloudwatch_alarm"`
	CloudwatchLogs   []ErrorActionCloudwatchLogsState   `json:"cloudwatch_logs"`
	CloudwatchMetric []ErrorActionCloudwatchMetricState `json:"cloudwatch_metric"`
	Dynamodb         []ErrorActionDynamodbState         `json:"dynamodb"`
	Dynamodbv2       []ErrorActionDynamodbv2State       `json:"dynamodbv2"`
	Elasticsearch    []ErrorActionElasticsearchState    `json:"elasticsearch"`
	Firehose         []ErrorActionFirehoseState         `json:"firehose"`
	Http             []ErrorActionHttpState             `json:"http"`
	IotAnalytics     []ErrorActionIotAnalyticsState     `json:"iot_analytics"`
	IotEvents        []ErrorActionIotEventsState        `json:"iot_events"`
	Kafka            []ErrorActionKafkaState            `json:"kafka"`
	Kinesis          []ErrorActionKinesisState          `json:"kinesis"`
	Lambda           []ErrorActionLambdaState           `json:"lambda"`
	Republish        []ErrorActionRepublishState        `json:"republish"`
	S3               []ErrorActionS3State               `json:"s3"`
	Sns              []ErrorActionSnsState              `json:"sns"`
	Sqs              []ErrorActionSqsState              `json:"sqs"`
	StepFunctions    []ErrorActionStepFunctionsState    `json:"step_functions"`
	Timestream       []ErrorActionTimestreamState       `json:"timestream"`
}

type ErrorActionStepFunctions

type ErrorActionStepFunctions struct {
	// ExecutionNamePrefix: string, optional
	ExecutionNamePrefix terra.StringValue `hcl:"execution_name_prefix,attr"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// StateMachineName: string, required
	StateMachineName terra.StringValue `hcl:"state_machine_name,attr" validate:"required"`
}

type ErrorActionStepFunctionsAttributes

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

func (ErrorActionStepFunctionsAttributes) ExecutionNamePrefix

func (sf ErrorActionStepFunctionsAttributes) ExecutionNamePrefix() terra.StringValue

func (ErrorActionStepFunctionsAttributes) InternalRef

func (ErrorActionStepFunctionsAttributes) InternalTokens

func (ErrorActionStepFunctionsAttributes) InternalWithRef

func (ErrorActionStepFunctionsAttributes) RoleArn

func (ErrorActionStepFunctionsAttributes) StateMachineName

type ErrorActionStepFunctionsState

type ErrorActionStepFunctionsState struct {
	ExecutionNamePrefix string `json:"execution_name_prefix"`
	RoleArn             string `json:"role_arn"`
	StateMachineName    string `json:"state_machine_name"`
}

type ErrorActionTimestream

type ErrorActionTimestream struct {
	// DatabaseName: string, required
	DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// TableName: string, required
	TableName terra.StringValue `hcl:"table_name,attr" validate:"required"`
	// ErrorActionTimestreamDimension: min=1
	Dimension []ErrorActionTimestreamDimension `hcl:"dimension,block" validate:"min=1"`
	// ErrorActionTimestreamTimestamp: optional
	Timestamp *ErrorActionTimestreamTimestamp `hcl:"timestamp,block"`
}

type ErrorActionTimestreamAttributes

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

func (ErrorActionTimestreamAttributes) DatabaseName

func (ErrorActionTimestreamAttributes) Dimension

func (ErrorActionTimestreamAttributes) InternalRef

func (ErrorActionTimestreamAttributes) InternalTokens

func (t ErrorActionTimestreamAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ErrorActionTimestreamAttributes) InternalWithRef

func (ErrorActionTimestreamAttributes) RoleArn

func (ErrorActionTimestreamAttributes) TableName

func (ErrorActionTimestreamAttributes) Timestamp

type ErrorActionTimestreamDimension

type ErrorActionTimestreamDimension struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type ErrorActionTimestreamDimensionAttributes

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

func (ErrorActionTimestreamDimensionAttributes) InternalRef

func (ErrorActionTimestreamDimensionAttributes) InternalTokens

func (ErrorActionTimestreamDimensionAttributes) InternalWithRef

func (ErrorActionTimestreamDimensionAttributes) Name

func (ErrorActionTimestreamDimensionAttributes) Value

type ErrorActionTimestreamDimensionState

type ErrorActionTimestreamDimensionState struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type ErrorActionTimestreamState

type ErrorActionTimestreamState struct {
	DatabaseName string                                `json:"database_name"`
	RoleArn      string                                `json:"role_arn"`
	TableName    string                                `json:"table_name"`
	Dimension    []ErrorActionTimestreamDimensionState `json:"dimension"`
	Timestamp    []ErrorActionTimestreamTimestampState `json:"timestamp"`
}

type ErrorActionTimestreamTimestamp

type ErrorActionTimestreamTimestamp struct {
	// Unit: string, required
	Unit terra.StringValue `hcl:"unit,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type ErrorActionTimestreamTimestampAttributes

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

func (ErrorActionTimestreamTimestampAttributes) InternalRef

func (ErrorActionTimestreamTimestampAttributes) InternalTokens

func (ErrorActionTimestreamTimestampAttributes) InternalWithRef

func (ErrorActionTimestreamTimestampAttributes) Unit

func (ErrorActionTimestreamTimestampAttributes) Value

type ErrorActionTimestreamTimestampState

type ErrorActionTimestreamTimestampState struct {
	Unit  string `json:"unit"`
	Value string `json:"value"`
}

type Firehose

type Firehose struct {
	// DeliveryStreamName: string, required
	DeliveryStreamName terra.StringValue `hcl:"delivery_stream_name,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// Separator: string, optional
	Separator terra.StringValue `hcl:"separator,attr"`
}

type FirehoseAttributes

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

func (FirehoseAttributes) DeliveryStreamName

func (f FirehoseAttributes) DeliveryStreamName() terra.StringValue

func (FirehoseAttributes) InternalRef

func (f FirehoseAttributes) InternalRef() (terra.Reference, error)

func (FirehoseAttributes) InternalTokens

func (f FirehoseAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FirehoseAttributes) InternalWithRef

func (f FirehoseAttributes) InternalWithRef(ref terra.Reference) FirehoseAttributes

func (FirehoseAttributes) RoleArn

func (f FirehoseAttributes) RoleArn() terra.StringValue

func (FirehoseAttributes) Separator

func (f FirehoseAttributes) Separator() terra.StringValue

type FirehoseState

type FirehoseState struct {
	DeliveryStreamName string `json:"delivery_stream_name"`
	RoleArn            string `json:"role_arn"`
	Separator          string `json:"separator"`
}

type Http

type Http struct {
	// ConfirmationUrl: string, optional
	ConfirmationUrl terra.StringValue `hcl:"confirmation_url,attr"`
	// Url: string, required
	Url terra.StringValue `hcl:"url,attr" validate:"required"`
	// HttpHttpHeader: min=0
	HttpHeader []HttpHttpHeader `hcl:"http_header,block" validate:"min=0"`
}

type HttpAttributes

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

func (HttpAttributes) ConfirmationUrl

func (h HttpAttributes) ConfirmationUrl() terra.StringValue

func (HttpAttributes) HttpHeader

func (HttpAttributes) InternalRef

func (h HttpAttributes) InternalRef() (terra.Reference, error)

func (HttpAttributes) InternalTokens

func (h HttpAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HttpAttributes) InternalWithRef

func (h HttpAttributes) InternalWithRef(ref terra.Reference) HttpAttributes

func (HttpAttributes) Url

type HttpHttpHeader

type HttpHttpHeader struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type HttpHttpHeaderAttributes

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

func (HttpHttpHeaderAttributes) InternalRef

func (hh HttpHttpHeaderAttributes) InternalRef() (terra.Reference, error)

func (HttpHttpHeaderAttributes) InternalTokens

func (hh HttpHttpHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HttpHttpHeaderAttributes) InternalWithRef

func (HttpHttpHeaderAttributes) Key

func (HttpHttpHeaderAttributes) Value

type HttpHttpHeaderState

type HttpHttpHeaderState struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type HttpState

type HttpState struct {
	ConfirmationUrl string                `json:"confirmation_url"`
	Url             string                `json:"url"`
	HttpHeader      []HttpHttpHeaderState `json:"http_header"`
}

type IotAnalytics

type IotAnalytics struct {
	// ChannelName: string, required
	ChannelName terra.StringValue `hcl:"channel_name,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
}

type IotAnalyticsAttributes

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

func (IotAnalyticsAttributes) ChannelName

func (ia IotAnalyticsAttributes) ChannelName() terra.StringValue

func (IotAnalyticsAttributes) InternalRef

func (ia IotAnalyticsAttributes) InternalRef() (terra.Reference, error)

func (IotAnalyticsAttributes) InternalTokens

func (ia IotAnalyticsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IotAnalyticsAttributes) InternalWithRef

func (IotAnalyticsAttributes) RoleArn

type IotAnalyticsState

type IotAnalyticsState struct {
	ChannelName string `json:"channel_name"`
	RoleArn     string `json:"role_arn"`
}

type IotEvents

type IotEvents struct {
	// InputName: string, required
	InputName terra.StringValue `hcl:"input_name,attr" validate:"required"`
	// MessageId: string, optional
	MessageId terra.StringValue `hcl:"message_id,attr"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
}

type IotEventsAttributes

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

func (IotEventsAttributes) InputName

func (ie IotEventsAttributes) InputName() terra.StringValue

func (IotEventsAttributes) InternalRef

func (ie IotEventsAttributes) InternalRef() (terra.Reference, error)

func (IotEventsAttributes) InternalTokens

func (ie IotEventsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IotEventsAttributes) InternalWithRef

func (ie IotEventsAttributes) InternalWithRef(ref terra.Reference) IotEventsAttributes

func (IotEventsAttributes) MessageId

func (ie IotEventsAttributes) MessageId() terra.StringValue

func (IotEventsAttributes) RoleArn

func (ie IotEventsAttributes) RoleArn() terra.StringValue

type IotEventsState

type IotEventsState struct {
	InputName string `json:"input_name"`
	MessageId string `json:"message_id"`
	RoleArn   string `json:"role_arn"`
}

type Kafka

type Kafka struct {
	// ClientProperties: map of string, required
	ClientProperties terra.MapValue[terra.StringValue] `hcl:"client_properties,attr" validate:"required"`
	// DestinationArn: string, required
	DestinationArn terra.StringValue `hcl:"destination_arn,attr" validate:"required"`
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// Partition: string, optional
	Partition terra.StringValue `hcl:"partition,attr"`
	// Topic: string, required
	Topic terra.StringValue `hcl:"topic,attr" validate:"required"`
}

type KafkaAttributes

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

func (KafkaAttributes) ClientProperties

func (k KafkaAttributes) ClientProperties() terra.MapValue[terra.StringValue]

func (KafkaAttributes) DestinationArn

func (k KafkaAttributes) DestinationArn() terra.StringValue

func (KafkaAttributes) InternalRef

func (k KafkaAttributes) InternalRef() (terra.Reference, error)

func (KafkaAttributes) InternalTokens

func (k KafkaAttributes) InternalTokens() (hclwrite.Tokens, error)

func (KafkaAttributes) InternalWithRef

func (k KafkaAttributes) InternalWithRef(ref terra.Reference) KafkaAttributes

func (KafkaAttributes) Key

func (KafkaAttributes) Partition

func (k KafkaAttributes) Partition() terra.StringValue

func (KafkaAttributes) Topic

func (k KafkaAttributes) Topic() terra.StringValue

type KafkaState

type KafkaState struct {
	ClientProperties map[string]string `json:"client_properties"`
	DestinationArn   string            `json:"destination_arn"`
	Key              string            `json:"key"`
	Partition        string            `json:"partition"`
	Topic            string            `json:"topic"`
}

type Kinesis

type Kinesis struct {
	// PartitionKey: string, optional
	PartitionKey terra.StringValue `hcl:"partition_key,attr"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// StreamName: string, required
	StreamName terra.StringValue `hcl:"stream_name,attr" validate:"required"`
}

type KinesisAttributes

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

func (KinesisAttributes) InternalRef

func (k KinesisAttributes) InternalRef() (terra.Reference, error)

func (KinesisAttributes) InternalTokens

func (k KinesisAttributes) InternalTokens() (hclwrite.Tokens, error)

func (KinesisAttributes) InternalWithRef

func (k KinesisAttributes) InternalWithRef(ref terra.Reference) KinesisAttributes

func (KinesisAttributes) PartitionKey

func (k KinesisAttributes) PartitionKey() terra.StringValue

func (KinesisAttributes) RoleArn

func (k KinesisAttributes) RoleArn() terra.StringValue

func (KinesisAttributes) StreamName

func (k KinesisAttributes) StreamName() terra.StringValue

type KinesisState

type KinesisState struct {
	PartitionKey string `json:"partition_key"`
	RoleArn      string `json:"role_arn"`
	StreamName   string `json:"stream_name"`
}

type Lambda

type Lambda struct {
	// FunctionArn: string, required
	FunctionArn terra.StringValue `hcl:"function_arn,attr" validate:"required"`
}

type LambdaAttributes

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

func (LambdaAttributes) FunctionArn

func (l LambdaAttributes) FunctionArn() terra.StringValue

func (LambdaAttributes) InternalRef

func (l LambdaAttributes) InternalRef() (terra.Reference, error)

func (LambdaAttributes) InternalTokens

func (l LambdaAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LambdaAttributes) InternalWithRef

func (l LambdaAttributes) InternalWithRef(ref terra.Reference) LambdaAttributes

type LambdaState

type LambdaState struct {
	FunctionArn string `json:"function_arn"`
}

type Republish

type Republish struct {
	// Qos: number, optional
	Qos terra.NumberValue `hcl:"qos,attr"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// Topic: string, required
	Topic terra.StringValue `hcl:"topic,attr" validate:"required"`
}

type RepublishAttributes

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

func (RepublishAttributes) InternalRef

func (r RepublishAttributes) InternalRef() (terra.Reference, error)

func (RepublishAttributes) InternalTokens

func (r RepublishAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RepublishAttributes) InternalWithRef

func (r RepublishAttributes) InternalWithRef(ref terra.Reference) RepublishAttributes

func (RepublishAttributes) Qos

func (RepublishAttributes) RoleArn

func (RepublishAttributes) Topic

type RepublishState

type RepublishState struct {
	Qos     float64 `json:"qos"`
	RoleArn string  `json:"role_arn"`
	Topic   string  `json:"topic"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aitr *Resource) Attributes() awsIotTopicRuleAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aitr *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aitr *Resource) State() (*awsIotTopicRuleState, bool)

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

func (*Resource) StateMust

func (aitr *Resource) StateMust() *awsIotTopicRuleState

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

func (*Resource) Type

func (aitr *Resource) Type() string

Type returns the Terraform object type for Resource.

type S3

type S3 struct {
	// BucketName: string, required
	BucketName terra.StringValue `hcl:"bucket_name,attr" validate:"required"`
	// CannedAcl: string, optional
	CannedAcl terra.StringValue `hcl:"canned_acl,attr"`
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
}

type S3Attributes

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

func (S3Attributes) BucketName

func (s S3Attributes) BucketName() terra.StringValue

func (S3Attributes) CannedAcl

func (s S3Attributes) CannedAcl() terra.StringValue

func (S3Attributes) InternalRef

func (s S3Attributes) InternalRef() (terra.Reference, error)

func (S3Attributes) InternalTokens

func (s S3Attributes) InternalTokens() (hclwrite.Tokens, error)

func (S3Attributes) InternalWithRef

func (s S3Attributes) InternalWithRef(ref terra.Reference) S3Attributes

func (S3Attributes) Key

func (s S3Attributes) Key() terra.StringValue

func (S3Attributes) RoleArn

func (s S3Attributes) RoleArn() terra.StringValue

type S3State

type S3State struct {
	BucketName string `json:"bucket_name"`
	CannedAcl  string `json:"canned_acl"`
	Key        string `json:"key"`
	RoleArn    string `json:"role_arn"`
}

type Sns

type Sns struct {
	// MessageFormat: string, optional
	MessageFormat terra.StringValue `hcl:"message_format,attr"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// TargetArn: string, required
	TargetArn terra.StringValue `hcl:"target_arn,attr" validate:"required"`
}

type SnsAttributes

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

func (SnsAttributes) InternalRef

func (s SnsAttributes) InternalRef() (terra.Reference, error)

func (SnsAttributes) InternalTokens

func (s SnsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SnsAttributes) InternalWithRef

func (s SnsAttributes) InternalWithRef(ref terra.Reference) SnsAttributes

func (SnsAttributes) MessageFormat

func (s SnsAttributes) MessageFormat() terra.StringValue

func (SnsAttributes) RoleArn

func (s SnsAttributes) RoleArn() terra.StringValue

func (SnsAttributes) TargetArn

func (s SnsAttributes) TargetArn() terra.StringValue

type SnsState

type SnsState struct {
	MessageFormat string `json:"message_format"`
	RoleArn       string `json:"role_arn"`
	TargetArn     string `json:"target_arn"`
}

type Sqs

type Sqs struct {
	// QueueUrl: string, required
	QueueUrl terra.StringValue `hcl:"queue_url,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// UseBase64: bool, required
	UseBase64 terra.BoolValue `hcl:"use_base64,attr" validate:"required"`
}

type SqsAttributes

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

func (SqsAttributes) InternalRef

func (s SqsAttributes) InternalRef() (terra.Reference, error)

func (SqsAttributes) InternalTokens

func (s SqsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SqsAttributes) InternalWithRef

func (s SqsAttributes) InternalWithRef(ref terra.Reference) SqsAttributes

func (SqsAttributes) QueueUrl

func (s SqsAttributes) QueueUrl() terra.StringValue

func (SqsAttributes) RoleArn

func (s SqsAttributes) RoleArn() terra.StringValue

func (SqsAttributes) UseBase64

func (s SqsAttributes) UseBase64() terra.BoolValue

type SqsState

type SqsState struct {
	QueueUrl  string `json:"queue_url"`
	RoleArn   string `json:"role_arn"`
	UseBase64 bool   `json:"use_base64"`
}

type StepFunctions

type StepFunctions struct {
	// ExecutionNamePrefix: string, optional
	ExecutionNamePrefix terra.StringValue `hcl:"execution_name_prefix,attr"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// StateMachineName: string, required
	StateMachineName terra.StringValue `hcl:"state_machine_name,attr" validate:"required"`
}

type StepFunctionsAttributes

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

func (StepFunctionsAttributes) ExecutionNamePrefix

func (sf StepFunctionsAttributes) ExecutionNamePrefix() terra.StringValue

func (StepFunctionsAttributes) InternalRef

func (sf StepFunctionsAttributes) InternalRef() (terra.Reference, error)

func (StepFunctionsAttributes) InternalTokens

func (sf StepFunctionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StepFunctionsAttributes) InternalWithRef

func (StepFunctionsAttributes) RoleArn

func (StepFunctionsAttributes) StateMachineName

func (sf StepFunctionsAttributes) StateMachineName() terra.StringValue

type StepFunctionsState

type StepFunctionsState struct {
	ExecutionNamePrefix string `json:"execution_name_prefix"`
	RoleArn             string `json:"role_arn"`
	StateMachineName    string `json:"state_machine_name"`
}

type Timestream

type Timestream struct {
	// DatabaseName: string, required
	DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// TableName: string, required
	TableName terra.StringValue `hcl:"table_name,attr" validate:"required"`
	// TimestreamDimension: min=1
	Dimension []TimestreamDimension `hcl:"dimension,block" validate:"min=1"`
	// TimestreamTimestamp: optional
	Timestamp *TimestreamTimestamp `hcl:"timestamp,block"`
}

type TimestreamAttributes

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

func (TimestreamAttributes) DatabaseName

func (t TimestreamAttributes) DatabaseName() terra.StringValue

func (TimestreamAttributes) Dimension

func (TimestreamAttributes) InternalRef

func (t TimestreamAttributes) InternalRef() (terra.Reference, error)

func (TimestreamAttributes) InternalTokens

func (t TimestreamAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimestreamAttributes) InternalWithRef

func (TimestreamAttributes) RoleArn

func (TimestreamAttributes) TableName

func (t TimestreamAttributes) TableName() terra.StringValue

func (TimestreamAttributes) Timestamp

type TimestreamDimension

type TimestreamDimension struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type TimestreamDimensionAttributes

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

func (TimestreamDimensionAttributes) InternalRef

func (TimestreamDimensionAttributes) InternalTokens

func (d TimestreamDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimestreamDimensionAttributes) InternalWithRef

func (TimestreamDimensionAttributes) Name

func (TimestreamDimensionAttributes) Value

type TimestreamDimensionState

type TimestreamDimensionState struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type TimestreamState

type TimestreamState struct {
	DatabaseName string                     `json:"database_name"`
	RoleArn      string                     `json:"role_arn"`
	TableName    string                     `json:"table_name"`
	Dimension    []TimestreamDimensionState `json:"dimension"`
	Timestamp    []TimestreamTimestampState `json:"timestamp"`
}

type TimestreamTimestamp

type TimestreamTimestamp struct {
	// Unit: string, required
	Unit terra.StringValue `hcl:"unit,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type TimestreamTimestampAttributes

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

func (TimestreamTimestampAttributes) InternalRef

func (TimestreamTimestampAttributes) InternalTokens

func (t TimestreamTimestampAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimestreamTimestampAttributes) InternalWithRef

func (TimestreamTimestampAttributes) Unit

func (TimestreamTimestampAttributes) Value

type TimestreamTimestampState

type TimestreamTimestampState struct {
	Unit  string `json:"unit"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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