Documentation ¶
Index ¶
- type Args
- type Attribute
- type AttributeAttributes
- func (a AttributeAttributes) InternalRef() (terra.Reference, error)
- func (a AttributeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AttributeAttributes) InternalWithRef(ref terra.Reference) AttributeAttributes
- func (a AttributeAttributes) Name() terra.StringValue
- func (a AttributeAttributes) Type() terra.StringValue
- type AttributeState
- type DataArgs
- type DataAttributeAttributes
- func (a DataAttributeAttributes) InternalRef() (terra.Reference, error)
- func (a DataAttributeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a DataAttributeAttributes) InternalWithRef(ref terra.Reference) DataAttributeAttributes
- func (a DataAttributeAttributes) Name() terra.StringValue
- func (a DataAttributeAttributes) Type() terra.StringValue
- type DataAttributeState
- type DataGlobalSecondaryIndexAttributes
- func (gsi DataGlobalSecondaryIndexAttributes) HashKey() terra.StringValue
- func (gsi DataGlobalSecondaryIndexAttributes) InternalRef() (terra.Reference, error)
- func (gsi DataGlobalSecondaryIndexAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gsi DataGlobalSecondaryIndexAttributes) InternalWithRef(ref terra.Reference) DataGlobalSecondaryIndexAttributes
- func (gsi DataGlobalSecondaryIndexAttributes) Name() terra.StringValue
- func (gsi DataGlobalSecondaryIndexAttributes) NonKeyAttributes() terra.ListValue[terra.StringValue]
- func (gsi DataGlobalSecondaryIndexAttributes) ProjectionType() terra.StringValue
- func (gsi DataGlobalSecondaryIndexAttributes) RangeKey() terra.StringValue
- func (gsi DataGlobalSecondaryIndexAttributes) ReadCapacity() terra.NumberValue
- func (gsi DataGlobalSecondaryIndexAttributes) WriteCapacity() terra.NumberValue
- type DataGlobalSecondaryIndexState
- type DataLocalSecondaryIndexAttributes
- func (lsi DataLocalSecondaryIndexAttributes) InternalRef() (terra.Reference, error)
- func (lsi DataLocalSecondaryIndexAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lsi DataLocalSecondaryIndexAttributes) InternalWithRef(ref terra.Reference) DataLocalSecondaryIndexAttributes
- func (lsi DataLocalSecondaryIndexAttributes) Name() terra.StringValue
- func (lsi DataLocalSecondaryIndexAttributes) NonKeyAttributes() terra.ListValue[terra.StringValue]
- func (lsi DataLocalSecondaryIndexAttributes) ProjectionType() terra.StringValue
- func (lsi DataLocalSecondaryIndexAttributes) RangeKey() terra.StringValue
- type DataLocalSecondaryIndexState
- type DataPointInTimeRecoveryAttributes
- func (pitr DataPointInTimeRecoveryAttributes) Enabled() terra.BoolValue
- func (pitr DataPointInTimeRecoveryAttributes) InternalRef() (terra.Reference, error)
- func (pitr DataPointInTimeRecoveryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pitr DataPointInTimeRecoveryAttributes) InternalWithRef(ref terra.Reference) DataPointInTimeRecoveryAttributes
- type DataPointInTimeRecoveryState
- type DataReplicaAttributes
- func (r DataReplicaAttributes) InternalRef() (terra.Reference, error)
- func (r DataReplicaAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r DataReplicaAttributes) InternalWithRef(ref terra.Reference) DataReplicaAttributes
- func (r DataReplicaAttributes) KmsKeyArn() terra.StringValue
- func (r DataReplicaAttributes) RegionName() terra.StringValue
- type DataReplicaState
- type DataServerSideEncryption
- type DataServerSideEncryptionAttributes
- func (sse DataServerSideEncryptionAttributes) Enabled() terra.BoolValue
- func (sse DataServerSideEncryptionAttributes) InternalRef() (terra.Reference, error)
- func (sse DataServerSideEncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sse DataServerSideEncryptionAttributes) InternalWithRef(ref terra.Reference) DataServerSideEncryptionAttributes
- func (sse DataServerSideEncryptionAttributes) KmsKeyArn() terra.StringValue
- type DataServerSideEncryptionState
- type DataSource
- type DataTtlAttributes
- func (t DataTtlAttributes) AttributeName() terra.StringValue
- func (t DataTtlAttributes) Enabled() terra.BoolValue
- func (t DataTtlAttributes) InternalRef() (terra.Reference, error)
- func (t DataTtlAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t DataTtlAttributes) InternalWithRef(ref terra.Reference) DataTtlAttributes
- type DataTtlState
- type GlobalSecondaryIndex
- type GlobalSecondaryIndexAttributes
- func (gsi GlobalSecondaryIndexAttributes) HashKey() terra.StringValue
- func (gsi GlobalSecondaryIndexAttributes) InternalRef() (terra.Reference, error)
- func (gsi GlobalSecondaryIndexAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gsi GlobalSecondaryIndexAttributes) InternalWithRef(ref terra.Reference) GlobalSecondaryIndexAttributes
- func (gsi GlobalSecondaryIndexAttributes) Name() terra.StringValue
- func (gsi GlobalSecondaryIndexAttributes) NonKeyAttributes() terra.SetValue[terra.StringValue]
- func (gsi GlobalSecondaryIndexAttributes) ProjectionType() terra.StringValue
- func (gsi GlobalSecondaryIndexAttributes) RangeKey() terra.StringValue
- func (gsi GlobalSecondaryIndexAttributes) ReadCapacity() terra.NumberValue
- func (gsi GlobalSecondaryIndexAttributes) WriteCapacity() terra.NumberValue
- type GlobalSecondaryIndexState
- type ImportTable
- type ImportTableAttributes
- func (it ImportTableAttributes) InputCompressionType() terra.StringValue
- func (it ImportTableAttributes) InputFormat() terra.StringValue
- func (it ImportTableAttributes) InputFormatOptions() terra.ListValue[ImportTableInputFormatOptionsAttributes]
- func (it ImportTableAttributes) InternalRef() (terra.Reference, error)
- func (it ImportTableAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (it ImportTableAttributes) InternalWithRef(ref terra.Reference) ImportTableAttributes
- func (it ImportTableAttributes) S3BucketSource() terra.ListValue[ImportTableS3BucketSourceAttributes]
- type ImportTableInputFormatOptions
- type ImportTableInputFormatOptionsAttributes
- func (ifo ImportTableInputFormatOptionsAttributes) Csv() terra.ListValue[ImportTableInputFormatOptionsCsvAttributes]
- func (ifo ImportTableInputFormatOptionsAttributes) InternalRef() (terra.Reference, error)
- func (ifo ImportTableInputFormatOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ifo ImportTableInputFormatOptionsAttributes) InternalWithRef(ref terra.Reference) ImportTableInputFormatOptionsAttributes
- type ImportTableInputFormatOptionsCsv
- type ImportTableInputFormatOptionsCsvAttributes
- func (c ImportTableInputFormatOptionsCsvAttributes) Delimiter() terra.StringValue
- func (c ImportTableInputFormatOptionsCsvAttributes) HeaderList() terra.SetValue[terra.StringValue]
- func (c ImportTableInputFormatOptionsCsvAttributes) InternalRef() (terra.Reference, error)
- func (c ImportTableInputFormatOptionsCsvAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ImportTableInputFormatOptionsCsvAttributes) InternalWithRef(ref terra.Reference) ImportTableInputFormatOptionsCsvAttributes
- type ImportTableInputFormatOptionsCsvState
- type ImportTableInputFormatOptionsState
- type ImportTableS3BucketSource
- type ImportTableS3BucketSourceAttributes
- func (sbs ImportTableS3BucketSourceAttributes) Bucket() terra.StringValue
- func (sbs ImportTableS3BucketSourceAttributes) BucketOwner() terra.StringValue
- func (sbs ImportTableS3BucketSourceAttributes) InternalRef() (terra.Reference, error)
- func (sbs ImportTableS3BucketSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sbs ImportTableS3BucketSourceAttributes) InternalWithRef(ref terra.Reference) ImportTableS3BucketSourceAttributes
- func (sbs ImportTableS3BucketSourceAttributes) KeyPrefix() terra.StringValue
- type ImportTableS3BucketSourceState
- type ImportTableState
- type LocalSecondaryIndex
- type LocalSecondaryIndexAttributes
- func (lsi LocalSecondaryIndexAttributes) InternalRef() (terra.Reference, error)
- func (lsi LocalSecondaryIndexAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lsi LocalSecondaryIndexAttributes) InternalWithRef(ref terra.Reference) LocalSecondaryIndexAttributes
- func (lsi LocalSecondaryIndexAttributes) Name() terra.StringValue
- func (lsi LocalSecondaryIndexAttributes) NonKeyAttributes() terra.ListValue[terra.StringValue]
- func (lsi LocalSecondaryIndexAttributes) ProjectionType() terra.StringValue
- func (lsi LocalSecondaryIndexAttributes) RangeKey() terra.StringValue
- type LocalSecondaryIndexState
- type PointInTimeRecovery
- type PointInTimeRecoveryAttributes
- func (pitr PointInTimeRecoveryAttributes) Enabled() terra.BoolValue
- func (pitr PointInTimeRecoveryAttributes) InternalRef() (terra.Reference, error)
- func (pitr PointInTimeRecoveryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pitr PointInTimeRecoveryAttributes) InternalWithRef(ref terra.Reference) PointInTimeRecoveryAttributes
- type PointInTimeRecoveryState
- type Replica
- type ReplicaAttributes
- func (r ReplicaAttributes) Arn() terra.StringValue
- func (r ReplicaAttributes) InternalRef() (terra.Reference, error)
- func (r ReplicaAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r ReplicaAttributes) InternalWithRef(ref terra.Reference) ReplicaAttributes
- func (r ReplicaAttributes) KmsKeyArn() terra.StringValue
- func (r ReplicaAttributes) PointInTimeRecovery() terra.BoolValue
- func (r ReplicaAttributes) PropagateTags() terra.BoolValue
- func (r ReplicaAttributes) RegionName() terra.StringValue
- func (r ReplicaAttributes) StreamArn() terra.StringValue
- func (r ReplicaAttributes) StreamLabel() terra.StringValue
- type ReplicaState
- type Resource
- func (adt *Resource) Attributes() awsDynamodbTableAttributes
- func (adt *Resource) Configuration() interface{}
- func (adt *Resource) DependOn() terra.Reference
- func (adt *Resource) Dependencies() terra.Dependencies
- func (adt *Resource) ImportState(state io.Reader) error
- func (adt *Resource) LifecycleManagement() *terra.Lifecycle
- func (adt *Resource) LocalName() string
- func (adt *Resource) State() (*awsDynamodbTableState, bool)
- func (adt *Resource) StateMust() *awsDynamodbTableState
- func (adt *Resource) Type() string
- type ServerSideEncryption
- type ServerSideEncryptionAttributes
- func (sse ServerSideEncryptionAttributes) Enabled() terra.BoolValue
- func (sse ServerSideEncryptionAttributes) InternalRef() (terra.Reference, error)
- func (sse ServerSideEncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sse ServerSideEncryptionAttributes) InternalWithRef(ref terra.Reference) ServerSideEncryptionAttributes
- func (sse ServerSideEncryptionAttributes) KmsKeyArn() terra.StringValue
- type ServerSideEncryptionState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
- type Ttl
- type TtlAttributes
- func (t TtlAttributes) AttributeName() terra.StringValue
- func (t TtlAttributes) Enabled() terra.BoolValue
- func (t TtlAttributes) InternalRef() (terra.Reference, error)
- func (t TtlAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TtlAttributes) InternalWithRef(ref terra.Reference) TtlAttributes
- type TtlState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // BillingMode: string, optional BillingMode terra.StringValue `hcl:"billing_mode,attr"` // DeletionProtectionEnabled: bool, optional DeletionProtectionEnabled terra.BoolValue `hcl:"deletion_protection_enabled,attr"` // HashKey: string, optional HashKey terra.StringValue `hcl:"hash_key,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // RangeKey: string, optional RangeKey terra.StringValue `hcl:"range_key,attr"` // ReadCapacity: number, optional ReadCapacity terra.NumberValue `hcl:"read_capacity,attr"` // RestoreDateTime: string, optional RestoreDateTime terra.StringValue `hcl:"restore_date_time,attr"` // RestoreSourceName: string, optional RestoreSourceName terra.StringValue `hcl:"restore_source_name,attr"` // RestoreToLatestTime: bool, optional RestoreToLatestTime terra.BoolValue `hcl:"restore_to_latest_time,attr"` // StreamEnabled: bool, optional StreamEnabled terra.BoolValue `hcl:"stream_enabled,attr"` // StreamViewType: string, optional StreamViewType terra.StringValue `hcl:"stream_view_type,attr"` // TableClass: string, optional TableClass terra.StringValue `hcl:"table_class,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"` // WriteCapacity: number, optional WriteCapacity terra.NumberValue `hcl:"write_capacity,attr"` // Attribute: min=0 Attribute []Attribute `hcl:"attribute,block" validate:"min=0"` // GlobalSecondaryIndex: min=0 GlobalSecondaryIndex []GlobalSecondaryIndex `hcl:"global_secondary_index,block" validate:"min=0"` // ImportTable: optional ImportTable *ImportTable `hcl:"import_table,block"` // LocalSecondaryIndex: min=0 LocalSecondaryIndex []LocalSecondaryIndex `hcl:"local_secondary_index,block" validate:"min=0"` // PointInTimeRecovery: optional PointInTimeRecovery *PointInTimeRecovery `hcl:"point_in_time_recovery,block"` // Replica: min=0 Replica []Replica `hcl:"replica,block" validate:"min=0"` // ServerSideEncryption: optional ServerSideEncryption *ServerSideEncryption `hcl:"server_side_encryption,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // Ttl: optional Ttl *Ttl `hcl:"ttl,block"` }
Args contains the configurations for aws_dynamodb_table.
type Attribute ¶
type Attribute struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type AttributeAttributes ¶
type AttributeAttributes struct {
// contains filtered or unexported fields
}
func (AttributeAttributes) InternalRef ¶
func (a AttributeAttributes) InternalRef() (terra.Reference, error)
func (AttributeAttributes) InternalTokens ¶
func (a AttributeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AttributeAttributes) InternalWithRef ¶
func (a AttributeAttributes) InternalWithRef(ref terra.Reference) AttributeAttributes
func (AttributeAttributes) Name ¶
func (a AttributeAttributes) Name() terra.StringValue
func (AttributeAttributes) Type ¶
func (a AttributeAttributes) Type() terra.StringValue
type AttributeState ¶
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // ServerSideEncryption: optional ServerSideEncryption *DataServerSideEncryption `hcl:"server_side_encryption,block"` }
DataArgs contains the configurations for aws_dynamodb_table.
type DataAttributeAttributes ¶
type DataAttributeAttributes struct {
// contains filtered or unexported fields
}
func (DataAttributeAttributes) InternalRef ¶
func (a DataAttributeAttributes) InternalRef() (terra.Reference, error)
func (DataAttributeAttributes) InternalTokens ¶
func (a DataAttributeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataAttributeAttributes) InternalWithRef ¶
func (a DataAttributeAttributes) InternalWithRef(ref terra.Reference) DataAttributeAttributes
func (DataAttributeAttributes) Name ¶
func (a DataAttributeAttributes) Name() terra.StringValue
func (DataAttributeAttributes) Type ¶
func (a DataAttributeAttributes) Type() terra.StringValue
type DataAttributeState ¶
type DataGlobalSecondaryIndexAttributes ¶
type DataGlobalSecondaryIndexAttributes struct {
// contains filtered or unexported fields
}
func (DataGlobalSecondaryIndexAttributes) HashKey ¶
func (gsi DataGlobalSecondaryIndexAttributes) HashKey() terra.StringValue
func (DataGlobalSecondaryIndexAttributes) InternalRef ¶
func (gsi DataGlobalSecondaryIndexAttributes) InternalRef() (terra.Reference, error)
func (DataGlobalSecondaryIndexAttributes) InternalTokens ¶
func (gsi DataGlobalSecondaryIndexAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataGlobalSecondaryIndexAttributes) InternalWithRef ¶
func (gsi DataGlobalSecondaryIndexAttributes) InternalWithRef(ref terra.Reference) DataGlobalSecondaryIndexAttributes
func (DataGlobalSecondaryIndexAttributes) Name ¶
func (gsi DataGlobalSecondaryIndexAttributes) Name() terra.StringValue
func (DataGlobalSecondaryIndexAttributes) NonKeyAttributes ¶
func (gsi DataGlobalSecondaryIndexAttributes) NonKeyAttributes() terra.ListValue[terra.StringValue]
func (DataGlobalSecondaryIndexAttributes) ProjectionType ¶
func (gsi DataGlobalSecondaryIndexAttributes) ProjectionType() terra.StringValue
func (DataGlobalSecondaryIndexAttributes) RangeKey ¶
func (gsi DataGlobalSecondaryIndexAttributes) RangeKey() terra.StringValue
func (DataGlobalSecondaryIndexAttributes) ReadCapacity ¶
func (gsi DataGlobalSecondaryIndexAttributes) ReadCapacity() terra.NumberValue
func (DataGlobalSecondaryIndexAttributes) WriteCapacity ¶
func (gsi DataGlobalSecondaryIndexAttributes) WriteCapacity() terra.NumberValue
type DataGlobalSecondaryIndexState ¶
type DataGlobalSecondaryIndexState struct { HashKey string `json:"hash_key"` Name string `json:"name"` NonKeyAttributes []string `json:"non_key_attributes"` ProjectionType string `json:"projection_type"` RangeKey string `json:"range_key"` ReadCapacity float64 `json:"read_capacity"` WriteCapacity float64 `json:"write_capacity"` }
type DataLocalSecondaryIndexAttributes ¶
type DataLocalSecondaryIndexAttributes struct {
// contains filtered or unexported fields
}
func (DataLocalSecondaryIndexAttributes) InternalRef ¶
func (lsi DataLocalSecondaryIndexAttributes) InternalRef() (terra.Reference, error)
func (DataLocalSecondaryIndexAttributes) InternalTokens ¶
func (lsi DataLocalSecondaryIndexAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataLocalSecondaryIndexAttributes) InternalWithRef ¶
func (lsi DataLocalSecondaryIndexAttributes) InternalWithRef(ref terra.Reference) DataLocalSecondaryIndexAttributes
func (DataLocalSecondaryIndexAttributes) Name ¶
func (lsi DataLocalSecondaryIndexAttributes) Name() terra.StringValue
func (DataLocalSecondaryIndexAttributes) NonKeyAttributes ¶
func (lsi DataLocalSecondaryIndexAttributes) NonKeyAttributes() terra.ListValue[terra.StringValue]
func (DataLocalSecondaryIndexAttributes) ProjectionType ¶
func (lsi DataLocalSecondaryIndexAttributes) ProjectionType() terra.StringValue
func (DataLocalSecondaryIndexAttributes) RangeKey ¶
func (lsi DataLocalSecondaryIndexAttributes) RangeKey() terra.StringValue
type DataPointInTimeRecoveryAttributes ¶
type DataPointInTimeRecoveryAttributes struct {
// contains filtered or unexported fields
}
func (DataPointInTimeRecoveryAttributes) Enabled ¶
func (pitr DataPointInTimeRecoveryAttributes) Enabled() terra.BoolValue
func (DataPointInTimeRecoveryAttributes) InternalRef ¶
func (pitr DataPointInTimeRecoveryAttributes) InternalRef() (terra.Reference, error)
func (DataPointInTimeRecoveryAttributes) InternalTokens ¶
func (pitr DataPointInTimeRecoveryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataPointInTimeRecoveryAttributes) InternalWithRef ¶
func (pitr DataPointInTimeRecoveryAttributes) InternalWithRef(ref terra.Reference) DataPointInTimeRecoveryAttributes
type DataPointInTimeRecoveryState ¶
type DataPointInTimeRecoveryState struct {
Enabled bool `json:"enabled"`
}
type DataReplicaAttributes ¶
type DataReplicaAttributes struct {
// contains filtered or unexported fields
}
func (DataReplicaAttributes) InternalRef ¶
func (r DataReplicaAttributes) InternalRef() (terra.Reference, error)
func (DataReplicaAttributes) InternalTokens ¶
func (r DataReplicaAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataReplicaAttributes) InternalWithRef ¶
func (r DataReplicaAttributes) InternalWithRef(ref terra.Reference) DataReplicaAttributes
func (DataReplicaAttributes) KmsKeyArn ¶
func (r DataReplicaAttributes) KmsKeyArn() terra.StringValue
func (DataReplicaAttributes) RegionName ¶
func (r DataReplicaAttributes) RegionName() terra.StringValue
type DataReplicaState ¶
type DataServerSideEncryption ¶
type DataServerSideEncryption struct{}
type DataServerSideEncryptionAttributes ¶
type DataServerSideEncryptionAttributes struct {
// contains filtered or unexported fields
}
func (DataServerSideEncryptionAttributes) Enabled ¶
func (sse DataServerSideEncryptionAttributes) Enabled() terra.BoolValue
func (DataServerSideEncryptionAttributes) InternalRef ¶
func (sse DataServerSideEncryptionAttributes) InternalRef() (terra.Reference, error)
func (DataServerSideEncryptionAttributes) InternalTokens ¶
func (sse DataServerSideEncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataServerSideEncryptionAttributes) InternalWithRef ¶
func (sse DataServerSideEncryptionAttributes) InternalWithRef(ref terra.Reference) DataServerSideEncryptionAttributes
func (DataServerSideEncryptionAttributes) KmsKeyArn ¶
func (sse DataServerSideEncryptionAttributes) KmsKeyArn() terra.StringValue
type DataSource ¶
DataSource represents the Terraform data resource aws_dynamodb_table.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (adt *DataSource) Attributes() dataAwsDynamodbTableAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (adt *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (adt *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (adt *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataTtlAttributes ¶
type DataTtlAttributes struct {
// contains filtered or unexported fields
}
func (DataTtlAttributes) AttributeName ¶
func (t DataTtlAttributes) AttributeName() terra.StringValue
func (DataTtlAttributes) Enabled ¶
func (t DataTtlAttributes) Enabled() terra.BoolValue
func (DataTtlAttributes) InternalRef ¶
func (t DataTtlAttributes) InternalRef() (terra.Reference, error)
func (DataTtlAttributes) InternalTokens ¶
func (t DataTtlAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTtlAttributes) InternalWithRef ¶
func (t DataTtlAttributes) InternalWithRef(ref terra.Reference) DataTtlAttributes
type DataTtlState ¶
type GlobalSecondaryIndex ¶
type GlobalSecondaryIndex struct { // HashKey: string, required HashKey terra.StringValue `hcl:"hash_key,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // NonKeyAttributes: set of string, optional NonKeyAttributes terra.SetValue[terra.StringValue] `hcl:"non_key_attributes,attr"` // ProjectionType: string, required ProjectionType terra.StringValue `hcl:"projection_type,attr" validate:"required"` // RangeKey: string, optional RangeKey terra.StringValue `hcl:"range_key,attr"` // ReadCapacity: number, optional ReadCapacity terra.NumberValue `hcl:"read_capacity,attr"` // WriteCapacity: number, optional WriteCapacity terra.NumberValue `hcl:"write_capacity,attr"` }
type GlobalSecondaryIndexAttributes ¶
type GlobalSecondaryIndexAttributes struct {
// contains filtered or unexported fields
}
func (GlobalSecondaryIndexAttributes) HashKey ¶
func (gsi GlobalSecondaryIndexAttributes) HashKey() terra.StringValue
func (GlobalSecondaryIndexAttributes) InternalRef ¶
func (gsi GlobalSecondaryIndexAttributes) InternalRef() (terra.Reference, error)
func (GlobalSecondaryIndexAttributes) InternalTokens ¶
func (gsi GlobalSecondaryIndexAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GlobalSecondaryIndexAttributes) InternalWithRef ¶
func (gsi GlobalSecondaryIndexAttributes) InternalWithRef(ref terra.Reference) GlobalSecondaryIndexAttributes
func (GlobalSecondaryIndexAttributes) Name ¶
func (gsi GlobalSecondaryIndexAttributes) Name() terra.StringValue
func (GlobalSecondaryIndexAttributes) NonKeyAttributes ¶
func (gsi GlobalSecondaryIndexAttributes) NonKeyAttributes() terra.SetValue[terra.StringValue]
func (GlobalSecondaryIndexAttributes) ProjectionType ¶
func (gsi GlobalSecondaryIndexAttributes) ProjectionType() terra.StringValue
func (GlobalSecondaryIndexAttributes) RangeKey ¶
func (gsi GlobalSecondaryIndexAttributes) RangeKey() terra.StringValue
func (GlobalSecondaryIndexAttributes) ReadCapacity ¶
func (gsi GlobalSecondaryIndexAttributes) ReadCapacity() terra.NumberValue
func (GlobalSecondaryIndexAttributes) WriteCapacity ¶
func (gsi GlobalSecondaryIndexAttributes) WriteCapacity() terra.NumberValue
type GlobalSecondaryIndexState ¶
type GlobalSecondaryIndexState struct { HashKey string `json:"hash_key"` Name string `json:"name"` NonKeyAttributes []string `json:"non_key_attributes"` ProjectionType string `json:"projection_type"` RangeKey string `json:"range_key"` ReadCapacity float64 `json:"read_capacity"` WriteCapacity float64 `json:"write_capacity"` }
type ImportTable ¶
type ImportTable struct { // InputCompressionType: string, optional InputCompressionType terra.StringValue `hcl:"input_compression_type,attr"` // InputFormat: string, required InputFormat terra.StringValue `hcl:"input_format,attr" validate:"required"` // ImportTableInputFormatOptions: optional InputFormatOptions *ImportTableInputFormatOptions `hcl:"input_format_options,block"` // ImportTableS3BucketSource: required S3BucketSource *ImportTableS3BucketSource `hcl:"s3_bucket_source,block" validate:"required"` }
type ImportTableAttributes ¶
type ImportTableAttributes struct {
// contains filtered or unexported fields
}
func (ImportTableAttributes) InputCompressionType ¶
func (it ImportTableAttributes) InputCompressionType() terra.StringValue
func (ImportTableAttributes) InputFormat ¶
func (it ImportTableAttributes) InputFormat() terra.StringValue
func (ImportTableAttributes) InputFormatOptions ¶
func (it ImportTableAttributes) InputFormatOptions() terra.ListValue[ImportTableInputFormatOptionsAttributes]
func (ImportTableAttributes) InternalRef ¶
func (it ImportTableAttributes) InternalRef() (terra.Reference, error)
func (ImportTableAttributes) InternalTokens ¶
func (it ImportTableAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ImportTableAttributes) InternalWithRef ¶
func (it ImportTableAttributes) InternalWithRef(ref terra.Reference) ImportTableAttributes
func (ImportTableAttributes) S3BucketSource ¶
func (it ImportTableAttributes) S3BucketSource() terra.ListValue[ImportTableS3BucketSourceAttributes]
type ImportTableInputFormatOptions ¶
type ImportTableInputFormatOptions struct { // ImportTableInputFormatOptionsCsv: optional Csv *ImportTableInputFormatOptionsCsv `hcl:"csv,block"` }
type ImportTableInputFormatOptionsAttributes ¶
type ImportTableInputFormatOptionsAttributes struct {
// contains filtered or unexported fields
}
func (ImportTableInputFormatOptionsAttributes) InternalRef ¶
func (ifo ImportTableInputFormatOptionsAttributes) InternalRef() (terra.Reference, error)
func (ImportTableInputFormatOptionsAttributes) InternalTokens ¶
func (ifo ImportTableInputFormatOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ImportTableInputFormatOptionsAttributes) InternalWithRef ¶
func (ifo ImportTableInputFormatOptionsAttributes) InternalWithRef(ref terra.Reference) ImportTableInputFormatOptionsAttributes
type ImportTableInputFormatOptionsCsv ¶
type ImportTableInputFormatOptionsCsv struct { // Delimiter: string, optional Delimiter terra.StringValue `hcl:"delimiter,attr"` // HeaderList: set of string, optional HeaderList terra.SetValue[terra.StringValue] `hcl:"header_list,attr"` }
type ImportTableInputFormatOptionsCsvAttributes ¶
type ImportTableInputFormatOptionsCsvAttributes struct {
// contains filtered or unexported fields
}
func (ImportTableInputFormatOptionsCsvAttributes) Delimiter ¶
func (c ImportTableInputFormatOptionsCsvAttributes) Delimiter() terra.StringValue
func (ImportTableInputFormatOptionsCsvAttributes) HeaderList ¶
func (c ImportTableInputFormatOptionsCsvAttributes) HeaderList() terra.SetValue[terra.StringValue]
func (ImportTableInputFormatOptionsCsvAttributes) InternalRef ¶
func (c ImportTableInputFormatOptionsCsvAttributes) InternalRef() (terra.Reference, error)
func (ImportTableInputFormatOptionsCsvAttributes) InternalTokens ¶
func (c ImportTableInputFormatOptionsCsvAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ImportTableInputFormatOptionsCsvAttributes) InternalWithRef ¶
func (c ImportTableInputFormatOptionsCsvAttributes) InternalWithRef(ref terra.Reference) ImportTableInputFormatOptionsCsvAttributes
type ImportTableInputFormatOptionsState ¶
type ImportTableInputFormatOptionsState struct {
Csv []ImportTableInputFormatOptionsCsvState `json:"csv"`
}
type ImportTableS3BucketSource ¶
type ImportTableS3BucketSource struct { // Bucket: string, required Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"` // BucketOwner: string, optional BucketOwner terra.StringValue `hcl:"bucket_owner,attr"` // KeyPrefix: string, optional KeyPrefix terra.StringValue `hcl:"key_prefix,attr"` }
type ImportTableS3BucketSourceAttributes ¶
type ImportTableS3BucketSourceAttributes struct {
// contains filtered or unexported fields
}
func (ImportTableS3BucketSourceAttributes) Bucket ¶
func (sbs ImportTableS3BucketSourceAttributes) Bucket() terra.StringValue
func (ImportTableS3BucketSourceAttributes) BucketOwner ¶
func (sbs ImportTableS3BucketSourceAttributes) BucketOwner() terra.StringValue
func (ImportTableS3BucketSourceAttributes) InternalRef ¶
func (sbs ImportTableS3BucketSourceAttributes) InternalRef() (terra.Reference, error)
func (ImportTableS3BucketSourceAttributes) InternalTokens ¶
func (sbs ImportTableS3BucketSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ImportTableS3BucketSourceAttributes) InternalWithRef ¶
func (sbs ImportTableS3BucketSourceAttributes) InternalWithRef(ref terra.Reference) ImportTableS3BucketSourceAttributes
func (ImportTableS3BucketSourceAttributes) KeyPrefix ¶
func (sbs ImportTableS3BucketSourceAttributes) KeyPrefix() terra.StringValue
type ImportTableState ¶
type ImportTableState struct { InputCompressionType string `json:"input_compression_type"` InputFormat string `json:"input_format"` InputFormatOptions []ImportTableInputFormatOptionsState `json:"input_format_options"` S3BucketSource []ImportTableS3BucketSourceState `json:"s3_bucket_source"` }
type LocalSecondaryIndex ¶
type LocalSecondaryIndex struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // NonKeyAttributes: list of string, optional NonKeyAttributes terra.ListValue[terra.StringValue] `hcl:"non_key_attributes,attr"` // ProjectionType: string, required ProjectionType terra.StringValue `hcl:"projection_type,attr" validate:"required"` // RangeKey: string, required RangeKey terra.StringValue `hcl:"range_key,attr" validate:"required"` }
type LocalSecondaryIndexAttributes ¶
type LocalSecondaryIndexAttributes struct {
// contains filtered or unexported fields
}
func (LocalSecondaryIndexAttributes) InternalRef ¶
func (lsi LocalSecondaryIndexAttributes) InternalRef() (terra.Reference, error)
func (LocalSecondaryIndexAttributes) InternalTokens ¶
func (lsi LocalSecondaryIndexAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LocalSecondaryIndexAttributes) InternalWithRef ¶
func (lsi LocalSecondaryIndexAttributes) InternalWithRef(ref terra.Reference) LocalSecondaryIndexAttributes
func (LocalSecondaryIndexAttributes) Name ¶
func (lsi LocalSecondaryIndexAttributes) Name() terra.StringValue
func (LocalSecondaryIndexAttributes) NonKeyAttributes ¶
func (lsi LocalSecondaryIndexAttributes) NonKeyAttributes() terra.ListValue[terra.StringValue]
func (LocalSecondaryIndexAttributes) ProjectionType ¶
func (lsi LocalSecondaryIndexAttributes) ProjectionType() terra.StringValue
func (LocalSecondaryIndexAttributes) RangeKey ¶
func (lsi LocalSecondaryIndexAttributes) RangeKey() terra.StringValue
type PointInTimeRecovery ¶
type PointInTimeRecoveryAttributes ¶
type PointInTimeRecoveryAttributes struct {
// contains filtered or unexported fields
}
func (PointInTimeRecoveryAttributes) Enabled ¶
func (pitr PointInTimeRecoveryAttributes) Enabled() terra.BoolValue
func (PointInTimeRecoveryAttributes) InternalRef ¶
func (pitr PointInTimeRecoveryAttributes) InternalRef() (terra.Reference, error)
func (PointInTimeRecoveryAttributes) InternalTokens ¶
func (pitr PointInTimeRecoveryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PointInTimeRecoveryAttributes) InternalWithRef ¶
func (pitr PointInTimeRecoveryAttributes) InternalWithRef(ref terra.Reference) PointInTimeRecoveryAttributes
type PointInTimeRecoveryState ¶
type PointInTimeRecoveryState struct {
Enabled bool `json:"enabled"`
}
type Replica ¶
type Replica struct { // KmsKeyArn: string, optional KmsKeyArn terra.StringValue `hcl:"kms_key_arn,attr"` // PointInTimeRecovery: bool, optional PointInTimeRecovery terra.BoolValue `hcl:"point_in_time_recovery,attr"` // PropagateTags: bool, optional PropagateTags terra.BoolValue `hcl:"propagate_tags,attr"` // RegionName: string, required RegionName terra.StringValue `hcl:"region_name,attr" validate:"required"` }
type ReplicaAttributes ¶
type ReplicaAttributes struct {
// contains filtered or unexported fields
}
func (ReplicaAttributes) Arn ¶
func (r ReplicaAttributes) Arn() terra.StringValue
func (ReplicaAttributes) InternalRef ¶
func (r ReplicaAttributes) InternalRef() (terra.Reference, error)
func (ReplicaAttributes) InternalTokens ¶
func (r ReplicaAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReplicaAttributes) InternalWithRef ¶
func (r ReplicaAttributes) InternalWithRef(ref terra.Reference) ReplicaAttributes
func (ReplicaAttributes) KmsKeyArn ¶
func (r ReplicaAttributes) KmsKeyArn() terra.StringValue
func (ReplicaAttributes) PointInTimeRecovery ¶
func (r ReplicaAttributes) PointInTimeRecovery() terra.BoolValue
func (ReplicaAttributes) PropagateTags ¶
func (r ReplicaAttributes) PropagateTags() terra.BoolValue
func (ReplicaAttributes) RegionName ¶
func (r ReplicaAttributes) RegionName() terra.StringValue
func (ReplicaAttributes) StreamArn ¶
func (r ReplicaAttributes) StreamArn() terra.StringValue
func (ReplicaAttributes) StreamLabel ¶
func (r ReplicaAttributes) StreamLabel() terra.StringValue
type ReplicaState ¶
type ReplicaState struct { Arn string `json:"arn"` KmsKeyArn string `json:"kms_key_arn"` PointInTimeRecovery bool `json:"point_in_time_recovery"` PropagateTags bool `json:"propagate_tags"` RegionName string `json:"region_name"` StreamArn string `json:"stream_arn"` StreamLabel string `json:"stream_label"` }
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_dynamodb_table.
func (*Resource) Attributes ¶
func (adt *Resource) Attributes() awsDynamodbTableAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (adt *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (adt *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 ServerSideEncryption ¶
type ServerSideEncryption struct { // Enabled: bool, required Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"` // KmsKeyArn: string, optional KmsKeyArn terra.StringValue `hcl:"kms_key_arn,attr"` }
type ServerSideEncryptionAttributes ¶
type ServerSideEncryptionAttributes struct {
// contains filtered or unexported fields
}
func (ServerSideEncryptionAttributes) Enabled ¶
func (sse ServerSideEncryptionAttributes) Enabled() terra.BoolValue
func (ServerSideEncryptionAttributes) InternalRef ¶
func (sse ServerSideEncryptionAttributes) InternalRef() (terra.Reference, error)
func (ServerSideEncryptionAttributes) InternalTokens ¶
func (sse ServerSideEncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServerSideEncryptionAttributes) InternalWithRef ¶
func (sse ServerSideEncryptionAttributes) InternalWithRef(ref terra.Reference) ServerSideEncryptionAttributes
func (ServerSideEncryptionAttributes) KmsKeyArn ¶
func (sse ServerSideEncryptionAttributes) KmsKeyArn() terra.StringValue
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
type Ttl ¶
type Ttl struct { // AttributeName: string, required AttributeName terra.StringValue `hcl:"attribute_name,attr" validate:"required"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` }
type TtlAttributes ¶
type TtlAttributes struct {
// contains filtered or unexported fields
}
func (TtlAttributes) AttributeName ¶
func (t TtlAttributes) AttributeName() terra.StringValue
func (TtlAttributes) Enabled ¶
func (t TtlAttributes) Enabled() terra.BoolValue
func (TtlAttributes) InternalRef ¶
func (t TtlAttributes) InternalRef() (terra.Reference, error)
func (TtlAttributes) InternalTokens ¶
func (t TtlAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TtlAttributes) InternalWithRef ¶
func (t TtlAttributes) InternalWithRef(ref terra.Reference) TtlAttributes