aws_keyspaces_table

package
v0.0.0-...-4deecce 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 {
	// 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 (CapacitySpecificationAttributes) InternalTokens

func (cs CapacitySpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CapacitySpecificationAttributes) InternalWithRef

func (CapacitySpecificationAttributes) ReadCapacityUnits

func (cs CapacitySpecificationAttributes) ReadCapacityUnits() terra.NumberValue

func (CapacitySpecificationAttributes) ThroughputMode

func (CapacitySpecificationAttributes) WriteCapacityUnits

func (cs CapacitySpecificationAttributes) WriteCapacityUnits() terra.NumberValue

type CapacitySpecificationState

type CapacitySpecificationState struct {
	ReadCapacityUnits  float64 `json:"read_capacity_units"`
	ThroughputMode     string  `json:"throughput_mode"`
	WriteCapacityUnits float64 `json:"write_capacity_units"`
}

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 (ClientSideTimestampsAttributes) Status

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 (EncryptionSpecificationAttributes) InternalTokens

func (es EncryptionSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EncryptionSpecificationAttributes) InternalWithRef

func (EncryptionSpecificationAttributes) KmsKeyIdentifier

func (es EncryptionSpecificationAttributes) KmsKeyIdentifier() terra.StringValue

func (EncryptionSpecificationAttributes) Type

type EncryptionSpecificationState

type EncryptionSpecificationState struct {
	KmsKeyIdentifier string `json:"kms_key_identifier"`
	Type             string `json:"type"`
}

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 (PointInTimeRecoveryAttributes) Status

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 New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

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) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (akt *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (akt *Resource) State() (*awsKeyspacesTableState, bool)

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

func (*Resource) StateMust

func (akt *Resource) StateMust() *awsKeyspacesTableState

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

func (*Resource) Type

func (akt *Resource) Type() string

Type returns the Terraform object type 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 (SchemaDefinitionAttributes) Column

func (SchemaDefinitionAttributes) InternalRef

func (sd SchemaDefinitionAttributes) InternalRef() (terra.Reference, error)

func (SchemaDefinitionAttributes) InternalTokens

func (sd SchemaDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SchemaDefinitionAttributes) InternalWithRef

func (SchemaDefinitionAttributes) PartitionKey

func (SchemaDefinitionAttributes) StaticColumn

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 (SchemaDefinitionClusteringKeyAttributes) InternalTokens

func (SchemaDefinitionClusteringKeyAttributes) InternalWithRef

func (SchemaDefinitionClusteringKeyAttributes) Name

func (SchemaDefinitionClusteringKeyAttributes) OrderBy

type SchemaDefinitionClusteringKeyState

type SchemaDefinitionClusteringKeyState struct {
	Name    string `json:"name"`
	OrderBy string `json:"order_by"`
}

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 (SchemaDefinitionColumnAttributes) InternalTokens

func (c SchemaDefinitionColumnAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SchemaDefinitionColumnAttributes) InternalWithRef

func (SchemaDefinitionColumnAttributes) Name

func (SchemaDefinitionColumnAttributes) Type

type SchemaDefinitionColumnState

type SchemaDefinitionColumnState struct {
	Name string `json:"name"`
	Type string `json:"type"`
}

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 (SchemaDefinitionPartitionKeyAttributes) InternalTokens

func (SchemaDefinitionPartitionKeyAttributes) InternalWithRef

func (SchemaDefinitionPartitionKeyAttributes) Name

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 (SchemaDefinitionStaticColumnAttributes) InternalTokens

func (SchemaDefinitionStaticColumnAttributes) InternalWithRef

func (SchemaDefinitionStaticColumnAttributes) Name

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 (TimeoutsAttributes) Delete

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

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

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

type TtlState

type TtlState struct {
	Status string `json:"status"`
}

Jump to

Keyboard shortcuts

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