Documentation ¶
Index ¶
- type Args
- type CapacitySpecification
- type CapacitySpecificationAttributes
- func (cs CapacitySpecificationAttributes) InternalRef() (terra.Reference, error)
- func (cs CapacitySpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cs CapacitySpecificationAttributes) InternalWithRef(ref terra.Reference) CapacitySpecificationAttributes
- func (cs CapacitySpecificationAttributes) ReadCapacityUnits() terra.NumberValue
- func (cs CapacitySpecificationAttributes) ThroughputMode() terra.StringValue
- func (cs CapacitySpecificationAttributes) WriteCapacityUnits() terra.NumberValue
- type CapacitySpecificationState
- type ClientSideTimestamps
- type ClientSideTimestampsAttributes
- func (cst ClientSideTimestampsAttributes) InternalRef() (terra.Reference, error)
- func (cst ClientSideTimestampsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cst ClientSideTimestampsAttributes) InternalWithRef(ref terra.Reference) ClientSideTimestampsAttributes
- func (cst ClientSideTimestampsAttributes) Status() terra.StringValue
- type ClientSideTimestampsState
- type Comment
- type CommentAttributes
- type CommentState
- type EncryptionSpecification
- type EncryptionSpecificationAttributes
- func (es EncryptionSpecificationAttributes) InternalRef() (terra.Reference, error)
- func (es EncryptionSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (es EncryptionSpecificationAttributes) InternalWithRef(ref terra.Reference) EncryptionSpecificationAttributes
- func (es EncryptionSpecificationAttributes) KmsKeyIdentifier() terra.StringValue
- func (es EncryptionSpecificationAttributes) Type() terra.StringValue
- type EncryptionSpecificationState
- type PointInTimeRecovery
- type PointInTimeRecoveryAttributes
- func (pitr PointInTimeRecoveryAttributes) InternalRef() (terra.Reference, error)
- func (pitr PointInTimeRecoveryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pitr PointInTimeRecoveryAttributes) InternalWithRef(ref terra.Reference) PointInTimeRecoveryAttributes
- func (pitr PointInTimeRecoveryAttributes) Status() terra.StringValue
- type PointInTimeRecoveryState
- type Resource
- func (akt *Resource) Attributes() awsKeyspacesTableAttributes
- func (akt *Resource) Configuration() interface{}
- func (akt *Resource) DependOn() terra.Reference
- func (akt *Resource) Dependencies() terra.Dependencies
- func (akt *Resource) ImportState(state io.Reader) error
- func (akt *Resource) LifecycleManagement() *terra.Lifecycle
- func (akt *Resource) LocalName() string
- func (akt *Resource) State() (*awsKeyspacesTableState, bool)
- func (akt *Resource) StateMust() *awsKeyspacesTableState
- func (akt *Resource) Type() string
- type SchemaDefinition
- type SchemaDefinitionAttributes
- func (sd SchemaDefinitionAttributes) ClusteringKey() terra.ListValue[SchemaDefinitionClusteringKeyAttributes]
- func (sd SchemaDefinitionAttributes) Column() terra.SetValue[SchemaDefinitionColumnAttributes]
- func (sd SchemaDefinitionAttributes) InternalRef() (terra.Reference, error)
- func (sd SchemaDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sd SchemaDefinitionAttributes) InternalWithRef(ref terra.Reference) SchemaDefinitionAttributes
- func (sd SchemaDefinitionAttributes) PartitionKey() terra.ListValue[SchemaDefinitionPartitionKeyAttributes]
- func (sd SchemaDefinitionAttributes) StaticColumn() terra.SetValue[SchemaDefinitionStaticColumnAttributes]
- type SchemaDefinitionClusteringKey
- type SchemaDefinitionClusteringKeyAttributes
- func (ck SchemaDefinitionClusteringKeyAttributes) InternalRef() (terra.Reference, error)
- func (ck SchemaDefinitionClusteringKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ck SchemaDefinitionClusteringKeyAttributes) InternalWithRef(ref terra.Reference) SchemaDefinitionClusteringKeyAttributes
- func (ck SchemaDefinitionClusteringKeyAttributes) Name() terra.StringValue
- func (ck SchemaDefinitionClusteringKeyAttributes) OrderBy() terra.StringValue
- type SchemaDefinitionClusteringKeyState
- type SchemaDefinitionColumn
- type SchemaDefinitionColumnAttributes
- func (c SchemaDefinitionColumnAttributes) InternalRef() (terra.Reference, error)
- func (c SchemaDefinitionColumnAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c SchemaDefinitionColumnAttributes) InternalWithRef(ref terra.Reference) SchemaDefinitionColumnAttributes
- func (c SchemaDefinitionColumnAttributes) Name() terra.StringValue
- func (c SchemaDefinitionColumnAttributes) Type() terra.StringValue
- type SchemaDefinitionColumnState
- type SchemaDefinitionPartitionKey
- type SchemaDefinitionPartitionKeyAttributes
- func (pk SchemaDefinitionPartitionKeyAttributes) InternalRef() (terra.Reference, error)
- func (pk SchemaDefinitionPartitionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pk SchemaDefinitionPartitionKeyAttributes) InternalWithRef(ref terra.Reference) SchemaDefinitionPartitionKeyAttributes
- func (pk SchemaDefinitionPartitionKeyAttributes) Name() terra.StringValue
- type SchemaDefinitionPartitionKeyState
- type SchemaDefinitionState
- type SchemaDefinitionStaticColumn
- type SchemaDefinitionStaticColumnAttributes
- func (sc SchemaDefinitionStaticColumnAttributes) InternalRef() (terra.Reference, error)
- func (sc SchemaDefinitionStaticColumnAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc SchemaDefinitionStaticColumnAttributes) InternalWithRef(ref terra.Reference) SchemaDefinitionStaticColumnAttributes
- func (sc SchemaDefinitionStaticColumnAttributes) Name() terra.StringValue
- type SchemaDefinitionStaticColumnState
- 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
- type TtlState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // DefaultTimeToLive: number, optional DefaultTimeToLive terra.NumberValue `hcl:"default_time_to_live,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // KeyspaceName: string, required KeyspaceName terra.StringValue `hcl:"keyspace_name,attr" validate:"required"` // TableName: string, required TableName terra.StringValue `hcl:"table_name,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"` // CapacitySpecification: optional CapacitySpecification *CapacitySpecification `hcl:"capacity_specification,block"` // ClientSideTimestamps: optional ClientSideTimestamps *ClientSideTimestamps `hcl:"client_side_timestamps,block"` // Comment: optional Comment *Comment `hcl:"comment,block"` // EncryptionSpecification: optional EncryptionSpecification *EncryptionSpecification `hcl:"encryption_specification,block"` // PointInTimeRecovery: optional PointInTimeRecovery *PointInTimeRecovery `hcl:"point_in_time_recovery,block"` // SchemaDefinition: required SchemaDefinition *SchemaDefinition `hcl:"schema_definition,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // Ttl: optional Ttl *Ttl `hcl:"ttl,block"` }
Args contains the configurations for aws_keyspaces_table.
type CapacitySpecification ¶
type CapacitySpecification struct { // ReadCapacityUnits: number, optional ReadCapacityUnits terra.NumberValue `hcl:"read_capacity_units,attr"` // ThroughputMode: string, optional ThroughputMode terra.StringValue `hcl:"throughput_mode,attr"` // WriteCapacityUnits: number, optional WriteCapacityUnits terra.NumberValue `hcl:"write_capacity_units,attr"` }
type CapacitySpecificationAttributes ¶
type CapacitySpecificationAttributes struct {
// contains filtered or unexported fields
}
func (CapacitySpecificationAttributes) InternalRef ¶
func (cs CapacitySpecificationAttributes) InternalRef() (terra.Reference, error)
func (CapacitySpecificationAttributes) InternalTokens ¶
func (cs CapacitySpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CapacitySpecificationAttributes) InternalWithRef ¶
func (cs CapacitySpecificationAttributes) InternalWithRef(ref terra.Reference) CapacitySpecificationAttributes
func (CapacitySpecificationAttributes) ReadCapacityUnits ¶
func (cs CapacitySpecificationAttributes) ReadCapacityUnits() terra.NumberValue
func (CapacitySpecificationAttributes) ThroughputMode ¶
func (cs CapacitySpecificationAttributes) ThroughputMode() terra.StringValue
func (CapacitySpecificationAttributes) WriteCapacityUnits ¶
func (cs CapacitySpecificationAttributes) WriteCapacityUnits() terra.NumberValue
type ClientSideTimestamps ¶
type ClientSideTimestamps struct { // Status: string, required Status terra.StringValue `hcl:"status,attr" validate:"required"` }
type ClientSideTimestampsAttributes ¶
type ClientSideTimestampsAttributes struct {
// contains filtered or unexported fields
}
func (ClientSideTimestampsAttributes) InternalRef ¶
func (cst ClientSideTimestampsAttributes) InternalRef() (terra.Reference, error)
func (ClientSideTimestampsAttributes) InternalTokens ¶
func (cst ClientSideTimestampsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ClientSideTimestampsAttributes) InternalWithRef ¶
func (cst ClientSideTimestampsAttributes) InternalWithRef(ref terra.Reference) ClientSideTimestampsAttributes
func (ClientSideTimestampsAttributes) Status ¶
func (cst ClientSideTimestampsAttributes) Status() terra.StringValue
type ClientSideTimestampsState ¶
type ClientSideTimestampsState struct {
Status string `json:"status"`
}
type Comment ¶
type Comment struct { // Message: string, optional Message terra.StringValue `hcl:"message,attr"` }
type CommentAttributes ¶
type CommentAttributes struct {
// contains filtered or unexported fields
}
func (CommentAttributes) InternalRef ¶
func (c CommentAttributes) InternalRef() (terra.Reference, error)
func (CommentAttributes) InternalTokens ¶
func (c CommentAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CommentAttributes) InternalWithRef ¶
func (c CommentAttributes) InternalWithRef(ref terra.Reference) CommentAttributes
func (CommentAttributes) Message ¶
func (c CommentAttributes) Message() terra.StringValue
type CommentState ¶
type CommentState struct {
Message string `json:"message"`
}
type EncryptionSpecification ¶
type EncryptionSpecification struct { // KmsKeyIdentifier: string, optional KmsKeyIdentifier terra.StringValue `hcl:"kms_key_identifier,attr"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` }
type EncryptionSpecificationAttributes ¶
type EncryptionSpecificationAttributes struct {
// contains filtered or unexported fields
}
func (EncryptionSpecificationAttributes) InternalRef ¶
func (es EncryptionSpecificationAttributes) InternalRef() (terra.Reference, error)
func (EncryptionSpecificationAttributes) InternalTokens ¶
func (es EncryptionSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EncryptionSpecificationAttributes) InternalWithRef ¶
func (es EncryptionSpecificationAttributes) InternalWithRef(ref terra.Reference) EncryptionSpecificationAttributes
func (EncryptionSpecificationAttributes) KmsKeyIdentifier ¶
func (es EncryptionSpecificationAttributes) KmsKeyIdentifier() terra.StringValue
func (EncryptionSpecificationAttributes) Type ¶
func (es EncryptionSpecificationAttributes) Type() terra.StringValue
type PointInTimeRecovery ¶
type PointInTimeRecovery struct { // Status: string, optional Status terra.StringValue `hcl:"status,attr"` }
type PointInTimeRecoveryAttributes ¶
type PointInTimeRecoveryAttributes struct {
// contains filtered or unexported fields
}
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
func (PointInTimeRecoveryAttributes) Status ¶
func (pitr PointInTimeRecoveryAttributes) Status() terra.StringValue
type PointInTimeRecoveryState ¶
type PointInTimeRecoveryState struct {
Status string `json:"status"`
}
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_keyspaces_table.
func (*Resource) Attributes ¶
func (akt *Resource) Attributes() awsKeyspacesTableAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (akt *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (akt *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 SchemaDefinition ¶
type SchemaDefinition struct { // SchemaDefinitionClusteringKey: min=0 ClusteringKey []SchemaDefinitionClusteringKey `hcl:"clustering_key,block" validate:"min=0"` // SchemaDefinitionColumn: min=1 Column []SchemaDefinitionColumn `hcl:"column,block" validate:"min=1"` // SchemaDefinitionPartitionKey: min=1 PartitionKey []SchemaDefinitionPartitionKey `hcl:"partition_key,block" validate:"min=1"` // SchemaDefinitionStaticColumn: min=0 StaticColumn []SchemaDefinitionStaticColumn `hcl:"static_column,block" validate:"min=0"` }
type SchemaDefinitionAttributes ¶
type SchemaDefinitionAttributes struct {
// contains filtered or unexported fields
}
func (SchemaDefinitionAttributes) ClusteringKey ¶
func (sd SchemaDefinitionAttributes) ClusteringKey() terra.ListValue[SchemaDefinitionClusteringKeyAttributes]
func (SchemaDefinitionAttributes) Column ¶
func (sd SchemaDefinitionAttributes) Column() terra.SetValue[SchemaDefinitionColumnAttributes]
func (SchemaDefinitionAttributes) InternalRef ¶
func (sd SchemaDefinitionAttributes) InternalRef() (terra.Reference, error)
func (SchemaDefinitionAttributes) InternalTokens ¶
func (sd SchemaDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SchemaDefinitionAttributes) InternalWithRef ¶
func (sd SchemaDefinitionAttributes) InternalWithRef(ref terra.Reference) SchemaDefinitionAttributes
func (SchemaDefinitionAttributes) PartitionKey ¶
func (sd SchemaDefinitionAttributes) PartitionKey() terra.ListValue[SchemaDefinitionPartitionKeyAttributes]
func (SchemaDefinitionAttributes) StaticColumn ¶
func (sd SchemaDefinitionAttributes) StaticColumn() terra.SetValue[SchemaDefinitionStaticColumnAttributes]
type SchemaDefinitionClusteringKey ¶
type SchemaDefinitionClusteringKey struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // OrderBy: string, required OrderBy terra.StringValue `hcl:"order_by,attr" validate:"required"` }
type SchemaDefinitionClusteringKeyAttributes ¶
type SchemaDefinitionClusteringKeyAttributes struct {
// contains filtered or unexported fields
}
func (SchemaDefinitionClusteringKeyAttributes) InternalRef ¶
func (ck SchemaDefinitionClusteringKeyAttributes) InternalRef() (terra.Reference, error)
func (SchemaDefinitionClusteringKeyAttributes) InternalTokens ¶
func (ck SchemaDefinitionClusteringKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SchemaDefinitionClusteringKeyAttributes) InternalWithRef ¶
func (ck SchemaDefinitionClusteringKeyAttributes) InternalWithRef(ref terra.Reference) SchemaDefinitionClusteringKeyAttributes
func (SchemaDefinitionClusteringKeyAttributes) Name ¶
func (ck SchemaDefinitionClusteringKeyAttributes) Name() terra.StringValue
func (SchemaDefinitionClusteringKeyAttributes) OrderBy ¶
func (ck SchemaDefinitionClusteringKeyAttributes) OrderBy() terra.StringValue
type SchemaDefinitionColumn ¶
type SchemaDefinitionColumn struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type SchemaDefinitionColumnAttributes ¶
type SchemaDefinitionColumnAttributes struct {
// contains filtered or unexported fields
}
func (SchemaDefinitionColumnAttributes) InternalRef ¶
func (c SchemaDefinitionColumnAttributes) InternalRef() (terra.Reference, error)
func (SchemaDefinitionColumnAttributes) InternalTokens ¶
func (c SchemaDefinitionColumnAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SchemaDefinitionColumnAttributes) InternalWithRef ¶
func (c SchemaDefinitionColumnAttributes) InternalWithRef(ref terra.Reference) SchemaDefinitionColumnAttributes
func (SchemaDefinitionColumnAttributes) Name ¶
func (c SchemaDefinitionColumnAttributes) Name() terra.StringValue
func (SchemaDefinitionColumnAttributes) Type ¶
func (c SchemaDefinitionColumnAttributes) Type() terra.StringValue
type SchemaDefinitionPartitionKey ¶
type SchemaDefinitionPartitionKey struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
type SchemaDefinitionPartitionKeyAttributes ¶
type SchemaDefinitionPartitionKeyAttributes struct {
// contains filtered or unexported fields
}
func (SchemaDefinitionPartitionKeyAttributes) InternalRef ¶
func (pk SchemaDefinitionPartitionKeyAttributes) InternalRef() (terra.Reference, error)
func (SchemaDefinitionPartitionKeyAttributes) InternalTokens ¶
func (pk SchemaDefinitionPartitionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SchemaDefinitionPartitionKeyAttributes) InternalWithRef ¶
func (pk SchemaDefinitionPartitionKeyAttributes) InternalWithRef(ref terra.Reference) SchemaDefinitionPartitionKeyAttributes
func (SchemaDefinitionPartitionKeyAttributes) Name ¶
func (pk SchemaDefinitionPartitionKeyAttributes) Name() terra.StringValue
type SchemaDefinitionPartitionKeyState ¶
type SchemaDefinitionPartitionKeyState struct {
Name string `json:"name"`
}
type SchemaDefinitionState ¶
type SchemaDefinitionState struct { ClusteringKey []SchemaDefinitionClusteringKeyState `json:"clustering_key"` Column []SchemaDefinitionColumnState `json:"column"` PartitionKey []SchemaDefinitionPartitionKeyState `json:"partition_key"` StaticColumn []SchemaDefinitionStaticColumnState `json:"static_column"` }
type SchemaDefinitionStaticColumn ¶
type SchemaDefinitionStaticColumn struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
type SchemaDefinitionStaticColumnAttributes ¶
type SchemaDefinitionStaticColumnAttributes struct {
// contains filtered or unexported fields
}
func (SchemaDefinitionStaticColumnAttributes) InternalRef ¶
func (sc SchemaDefinitionStaticColumnAttributes) InternalRef() (terra.Reference, error)
func (SchemaDefinitionStaticColumnAttributes) InternalTokens ¶
func (sc SchemaDefinitionStaticColumnAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SchemaDefinitionStaticColumnAttributes) InternalWithRef ¶
func (sc SchemaDefinitionStaticColumnAttributes) InternalWithRef(ref terra.Reference) SchemaDefinitionStaticColumnAttributes
func (SchemaDefinitionStaticColumnAttributes) Name ¶
func (sc SchemaDefinitionStaticColumnAttributes) Name() terra.StringValue
type SchemaDefinitionStaticColumnState ¶
type SchemaDefinitionStaticColumnState struct {
Name string `json:"name"`
}
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 { // Status: string, required Status terra.StringValue `hcl:"status,attr" validate:"required"` }
type TtlAttributes ¶
type TtlAttributes struct {
// contains filtered or unexported fields
}
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
func (TtlAttributes) Status ¶
func (t TtlAttributes) Status() terra.StringValue
Click to show internal directories.
Click to hide internal directories.