Documentation ¶
Index ¶
- 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 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 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 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 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 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 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 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
Click to show internal directories.
Click to hide internal directories.