v1alpha1

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package Package v1alpha1 is the v1alpha1 version of the keyspaces.services.k8s.aws API. +groupName=keyspaces.services.k8s.aws

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is the API Group Version used to register the objects
	GroupVersion = schema.GroupVersion{Group: "keyspaces.services.k8s.aws", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type CapacitySpecification added in v0.0.2

type CapacitySpecification struct {
	ReadCapacityUnits  *int64  `json:"readCapacityUnits,omitempty"`
	ThroughputMode     *string `json:"throughputMode,omitempty"`
	WriteCapacityUnits *int64  `json:"writeCapacityUnits,omitempty"`
}

Amazon Keyspaces has two read/write capacity modes for processing reads and writes on your tables:

  • On-demand (default)

  • Provisioned

The read/write capacity mode that you choose controls how you are charged for read and write throughput and how table throughput capacity is managed.

For more information, see Read/write capacity modes (https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html) in the Amazon Keyspaces Developer Guide.

func (*CapacitySpecification) DeepCopy added in v0.0.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapacitySpecification.

func (*CapacitySpecification) DeepCopyInto added in v0.0.2

func (in *CapacitySpecification) DeepCopyInto(out *CapacitySpecification)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CapacitySpecificationSummary added in v0.0.2

type CapacitySpecificationSummary struct {
	LastUpdateToPayPerRequestTimestamp *metav1.Time `json:"lastUpdateToPayPerRequestTimestamp,omitempty"`
	ReadCapacityUnits                  *int64       `json:"readCapacityUnits,omitempty"`
	ThroughputMode                     *string      `json:"throughputMode,omitempty"`
	WriteCapacityUnits                 *int64       `json:"writeCapacityUnits,omitempty"`
}

The read/write throughput capacity mode for a table. The options are:

  • throughputMode:PAY_PER_REQUEST and

  • throughputMode:PROVISIONED.

For more information, see Read/write capacity modes (https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html) in the Amazon Keyspaces Developer Guide.

func (*CapacitySpecificationSummary) DeepCopy added in v0.0.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapacitySpecificationSummary.

func (*CapacitySpecificationSummary) DeepCopyInto added in v0.0.2

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClientSideTimestamps added in v0.0.2

type ClientSideTimestamps struct {
	Status *string `json:"status,omitempty"`
}

The client-side timestamp setting of the table.

For more information, see How it works: Amazon Keyspaces client-side timestamps (https://docs.aws.amazon.com/keyspaces/latest/devguide/client-side-timestamps-how-it-works.html) in the Amazon Keyspaces Developer Guide.

func (*ClientSideTimestamps) DeepCopy added in v0.0.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSideTimestamps.

func (*ClientSideTimestamps) DeepCopyInto added in v0.0.2

func (in *ClientSideTimestamps) DeepCopyInto(out *ClientSideTimestamps)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClientSideTimestampsStatus

type ClientSideTimestampsStatus string
const (
	ClientSideTimestampsStatus_ENABLED ClientSideTimestampsStatus = "ENABLED"
)

type ClusteringKey added in v0.0.2

type ClusteringKey struct {
	Name    *string `json:"name,omitempty"`
	OrderBy *string `json:"orderBy,omitempty"`
}

The optional clustering column portion of your primary key determines how the data is clustered and sorted within each partition.

func (*ClusteringKey) DeepCopy added in v0.0.2

func (in *ClusteringKey) DeepCopy() *ClusteringKey

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusteringKey.

func (*ClusteringKey) DeepCopyInto added in v0.0.2

func (in *ClusteringKey) DeepCopyInto(out *ClusteringKey)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ColumnDefinition added in v0.0.2

type ColumnDefinition struct {
	Name *string `json:"name,omitempty"`
	Type *string `json:"type_,omitempty"`
}

The names and data types of regular columns.

func (*ColumnDefinition) DeepCopy added in v0.0.2

func (in *ColumnDefinition) DeepCopy() *ColumnDefinition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColumnDefinition.

func (*ColumnDefinition) DeepCopyInto added in v0.0.2

func (in *ColumnDefinition) DeepCopyInto(out *ColumnDefinition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Comment added in v0.0.2

type Comment struct {
	Message *string `json:"message,omitempty"`
}

An optional comment that describes the table.

func (*Comment) DeepCopy added in v0.0.2

func (in *Comment) DeepCopy() *Comment

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Comment.

func (*Comment) DeepCopyInto added in v0.0.2

func (in *Comment) DeepCopyInto(out *Comment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EncryptionSpecification added in v0.0.2

type EncryptionSpecification struct {
	KMSKeyIdentifier *string `json:"kmsKeyIdentifier,omitempty"`
	Type             *string `json:"type_,omitempty"`
}

Amazon Keyspaces encrypts and decrypts the table data at rest transparently and integrates with Key Management Service for storing and managing the encryption key. You can choose one of the following KMS keys (KMS keys):

  • Amazon Web Services owned key - This is the default encryption type. The key is owned by Amazon Keyspaces (no additional charge).

  • Customer managed key - This key is stored in your account and is created, owned, and managed by you. You have full control over the customer managed key (KMS charges apply).

For more information about encryption at rest in Amazon Keyspaces, see Encryption at rest (https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html) in the Amazon Keyspaces Developer Guide.

For more information about KMS, see KMS management service concepts (https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html) in the Key Management Service Developer Guide.

func (*EncryptionSpecification) DeepCopy added in v0.0.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionSpecification.

func (*EncryptionSpecification) DeepCopyInto added in v0.0.2

func (in *EncryptionSpecification) DeepCopyInto(out *EncryptionSpecification)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EncryptionType

type EncryptionType string
const (
	EncryptionType_CUSTOMER_MANAGED_KMS_KEY EncryptionType = "CUSTOMER_MANAGED_KMS_KEY"
	EncryptionType_AWS_OWNED_KMS_KEY        EncryptionType = "AWS_OWNED_KMS_KEY"
)

type Keyspace

type Keyspace struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              KeyspaceSpec   `json:"spec,omitempty"`
	Status            KeyspaceStatus `json:"status,omitempty"`
}

Keyspace is the Schema for the Keyspaces API +kubebuilder:object:root=true +kubebuilder:subresource:status

func (*Keyspace) DeepCopy

func (in *Keyspace) DeepCopy() *Keyspace

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Keyspace.

func (*Keyspace) DeepCopyInto

func (in *Keyspace) DeepCopyInto(out *Keyspace)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Keyspace) DeepCopyObject

func (in *Keyspace) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KeyspaceList

type KeyspaceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Keyspace `json:"items"`
}

KeyspaceList contains a list of Keyspace +kubebuilder:object:root=true

func (*KeyspaceList) DeepCopy

func (in *KeyspaceList) DeepCopy() *KeyspaceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyspaceList.

func (*KeyspaceList) DeepCopyInto

func (in *KeyspaceList) DeepCopyInto(out *KeyspaceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KeyspaceList) DeepCopyObject

func (in *KeyspaceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KeyspaceSpec

type KeyspaceSpec struct {

	// The name of the keyspace to be created.
	// +kubebuilder:validation:Required
	KeyspaceName *string `json:"keyspaceName"`
	// The replication specification of the keyspace includes:
	//
	//   - replicationStrategy - the required value is SINGLE_REGION or MULTI_REGION.
	//
	//   - regionList - if the replicationStrategy is MULTI_REGION, the regionList
	//     requires the current Region and at least one additional Amazon Web Services
	//     Region where the keyspace is going to be replicated in. The maximum number
	//     of supported replication Regions including the current Region is six.
	ReplicationSpecification *ReplicationSpecification `json:"replicationSpecification,omitempty"`
	// A list of key-value pair tags to be attached to the keyspace.
	//
	// For more information, see Adding tags and labels to Amazon Keyspaces resources
	// (https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html)
	// in the Amazon Keyspaces Developer Guide.
	Tags []*Tag `json:"tags,omitempty"`
}

KeyspaceSpec defines the desired state of Keyspace.

func (*KeyspaceSpec) DeepCopy

func (in *KeyspaceSpec) DeepCopy() *KeyspaceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyspaceSpec.

func (*KeyspaceSpec) DeepCopyInto

func (in *KeyspaceSpec) DeepCopyInto(out *KeyspaceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KeyspaceStatus

type KeyspaceStatus struct {
	// All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
	// that is used to contain resource sync state, account ownership,
	// constructed ARN for the resource
	// +kubebuilder:validation:Optional
	ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"`
	// All CRS managed by ACK have a common `Status.Conditions` member that
	// contains a collection of `ackv1alpha1.Condition` objects that describe
	// the various terminal states of the CR and its backend AWS service API
	// resource
	// +kubebuilder:validation:Optional
	Conditions []*ackv1alpha1.Condition `json:"conditions"`
	// The unique identifier of the keyspace in the format of an Amazon Resource
	// Name (ARN).
	// +kubebuilder:validation:Optional
	ResourceARN *string `json:"resourceARN,omitempty"`
}

KeyspaceStatus defines the observed state of Keyspace

func (*KeyspaceStatus) DeepCopy

func (in *KeyspaceStatus) DeepCopy() *KeyspaceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyspaceStatus.

func (*KeyspaceStatus) DeepCopyInto

func (in *KeyspaceStatus) DeepCopyInto(out *KeyspaceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KeyspaceSummary

type KeyspaceSummary struct {
	KeyspaceName        *string   `json:"keyspaceName,omitempty"`
	ReplicationRegions  []*string `json:"replicationRegions,omitempty"`
	ReplicationStrategy *string   `json:"replicationStrategy,omitempty"`
	ResourceARN         *string   `json:"resourceARN,omitempty"`
}

Represents the properties of a keyspace.

func (*KeyspaceSummary) DeepCopy

func (in *KeyspaceSummary) DeepCopy() *KeyspaceSummary

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyspaceSummary.

func (*KeyspaceSummary) DeepCopyInto

func (in *KeyspaceSummary) DeepCopyInto(out *KeyspaceSummary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PartitionKey added in v0.0.2

type PartitionKey struct {
	Name *string `json:"name,omitempty"`
}

The partition key portion of the primary key is required and determines how Amazon Keyspaces stores the data. The partition key can be a single column, or it can be a compound value composed of two or more columns.

func (*PartitionKey) DeepCopy added in v0.0.2

func (in *PartitionKey) DeepCopy() *PartitionKey

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartitionKey.

func (*PartitionKey) DeepCopyInto added in v0.0.2

func (in *PartitionKey) DeepCopyInto(out *PartitionKey)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PointInTimeRecovery added in v0.0.2

type PointInTimeRecovery struct {
	Status *string `json:"status,omitempty"`
}

Point-in-time recovery (PITR) helps protect your Amazon Keyspaces tables from accidental write or delete operations by providing you continuous backups of your table data.

For more information, see Point-in-time recovery (https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery.html) in the Amazon Keyspaces Developer Guide.

func (*PointInTimeRecovery) DeepCopy added in v0.0.2

func (in *PointInTimeRecovery) DeepCopy() *PointInTimeRecovery

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PointInTimeRecovery.

func (*PointInTimeRecovery) DeepCopyInto added in v0.0.2

func (in *PointInTimeRecovery) DeepCopyInto(out *PointInTimeRecovery)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PointInTimeRecoveryStatus

type PointInTimeRecoveryStatus string
const (
	PointInTimeRecoveryStatus_ENABLED  PointInTimeRecoveryStatus = "ENABLED"
	PointInTimeRecoveryStatus_DISABLED PointInTimeRecoveryStatus = "DISABLED"
)

type PointInTimeRecoverySummary added in v0.0.2

type PointInTimeRecoverySummary struct {
	EarliestRestorableTimestamp *metav1.Time `json:"earliestRestorableTimestamp,omitempty"`
	Status                      *string      `json:"status,omitempty"`
}

The point-in-time recovery status of the specified table.

func (*PointInTimeRecoverySummary) DeepCopy added in v0.0.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PointInTimeRecoverySummary.

func (*PointInTimeRecoverySummary) DeepCopyInto added in v0.0.2

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ReplicationSpecification

type ReplicationSpecification struct {
	RegionList          []*string `json:"regionList,omitempty"`
	ReplicationStrategy *string   `json:"replicationStrategy,omitempty"`
}

The replication specification of the keyspace includes:

  • regionList - up to six Amazon Web Services Regions where the keyspace is replicated in.

  • replicationStrategy - the required value is SINGLE_REGION or MULTI_REGION.

func (*ReplicationSpecification) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationSpecification.

func (*ReplicationSpecification) DeepCopyInto

func (in *ReplicationSpecification) DeepCopyInto(out *ReplicationSpecification)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Rs

type Rs string
const (
	Rs_SINGLE_REGION Rs = "SINGLE_REGION"
	Rs_MULTI_REGION  Rs = "MULTI_REGION"
)

type SchemaDefinition added in v0.0.2

type SchemaDefinition struct {
	AllColumns     []*ColumnDefinition `json:"allColumns,omitempty"`
	ClusteringKeys []*ClusteringKey    `json:"clusteringKeys,omitempty"`
	PartitionKeys  []*PartitionKey     `json:"partitionKeys,omitempty"`
	StaticColumns  []*StaticColumn     `json:"staticColumns,omitempty"`
}

Describes the schema of the table.

func (*SchemaDefinition) DeepCopy added in v0.0.2

func (in *SchemaDefinition) DeepCopy() *SchemaDefinition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchemaDefinition.

func (*SchemaDefinition) DeepCopyInto added in v0.0.2

func (in *SchemaDefinition) DeepCopyInto(out *SchemaDefinition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SortOrder

type SortOrder string
const (
	SortOrder_ASC  SortOrder = "ASC"
	SortOrder_DESC SortOrder = "DESC"
)

type StaticColumn added in v0.0.2

type StaticColumn struct {
	Name *string `json:"name,omitempty"`
}

The static columns of the table. Static columns store values that are shared by all rows in the same partition.

func (*StaticColumn) DeepCopy added in v0.0.2

func (in *StaticColumn) DeepCopy() *StaticColumn

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaticColumn.

func (*StaticColumn) DeepCopyInto added in v0.0.2

func (in *StaticColumn) DeepCopyInto(out *StaticColumn)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Table added in v0.0.2

type Table struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TableSpec   `json:"spec,omitempty"`
	Status            TableStatus `json:"status,omitempty"`
}

Table is the Schema for the Tables API +kubebuilder:object:root=true +kubebuilder:subresource:status

func (*Table) DeepCopy added in v0.0.2

func (in *Table) DeepCopy() *Table

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Table.

func (*Table) DeepCopyInto added in v0.0.2

func (in *Table) DeepCopyInto(out *Table)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Table) DeepCopyObject added in v0.0.2

func (in *Table) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TableList added in v0.0.2

type TableList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Table `json:"items"`
}

TableList contains a list of Table +kubebuilder:object:root=true

func (*TableList) DeepCopy added in v0.0.2

func (in *TableList) DeepCopy() *TableList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableList.

func (*TableList) DeepCopyInto added in v0.0.2

func (in *TableList) DeepCopyInto(out *TableList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TableList) DeepCopyObject added in v0.0.2

func (in *TableList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TableSpec added in v0.0.2

type TableSpec struct {

	// Specifies the read/write throughput capacity mode for the table. The options
	// are:
	//
	//   - throughputMode:PAY_PER_REQUEST and
	//
	//   - throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits
	//     and writeCapacityUnits as input.
	//
	// The default is throughput_mode:PAY_PER_REQUEST.
	//
	// For more information, see Read/write capacity modes (https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html)
	// in the Amazon Keyspaces Developer Guide.
	CapacitySpecification *CapacitySpecification `json:"capacitySpecification,omitempty"`
	// Enables client-side timestamps for the table. By default, the setting is
	// disabled. You can enable client-side timestamps with the following option:
	//
	//   - status: "enabled"
	//
	// Once client-side timestamps are enabled for a table, this setting cannot
	// be disabled.
	ClientSideTimestamps *ClientSideTimestamps `json:"clientSideTimestamps,omitempty"`
	// This parameter allows to enter a description of the table.
	Comment *Comment `json:"comment,omitempty"`
	// The default Time to Live setting in seconds for the table.
	//
	// For more information, see Setting the default TTL value for a table (https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_default_ttl)
	// in the Amazon Keyspaces Developer Guide.
	DefaultTimeToLive *int64 `json:"defaultTimeToLive,omitempty"`
	// Specifies how the encryption key for encryption at rest is managed for the
	// table. You can choose one of the following KMS key (KMS key):
	//
	//   - type:AWS_OWNED_KMS_KEY - This key is owned by Amazon Keyspaces.
	//
	//   - type:CUSTOMER_MANAGED_KMS_KEY - This key is stored in your account and
	//     is created, owned, and managed by you. This option requires the kms_key_identifier
	//     of the KMS key in Amazon Resource Name (ARN) format as input.
	//
	// The default is type:AWS_OWNED_KMS_KEY.
	//
	// For more information, see Encryption at rest (https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html)
	// in the Amazon Keyspaces Developer Guide.
	EncryptionSpecification *EncryptionSpecification `json:"encryptionSpecification,omitempty"`
	// The name of the keyspace that the table is going to be created in.
	// +kubebuilder:validation:Required
	KeyspaceName *string `json:"keyspaceName"`
	// Specifies if pointInTimeRecovery is enabled or disabled for the table. The
	// options are:
	//
	//   - status=ENABLED
	//
	//   - status=DISABLED
	//
	// If it's not specified, the default is status=DISABLED.
	//
	// For more information, see Point-in-time recovery (https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery.html)
	// in the Amazon Keyspaces Developer Guide.
	PointInTimeRecovery *PointInTimeRecovery `json:"pointInTimeRecovery,omitempty"`
	// The schemaDefinition consists of the following parameters.
	//
	// For each column to be created:
	//
	//   - name - The name of the column.
	//
	//   - type - An Amazon Keyspaces data type. For more information, see Data
	//     types (https://docs.aws.amazon.com/keyspaces/latest/devguide/cql.elements.html#cql.data-types)
	//     in the Amazon Keyspaces Developer Guide.
	//
	// The primary key of the table consists of the following columns:
	//
	//   - partitionKeys - The partition key can be a single column, or it can
	//     be a compound value composed of two or more columns. The partition key
	//     portion of the primary key is required and determines how Amazon Keyspaces
	//     stores your data.
	//
	//   - name - The name of each partition key column.
	//
	//   - clusteringKeys - The optional clustering column portion of your primary
	//     key determines how the data is clustered and sorted within each partition.
	//
	//   - name - The name of the clustering column.
	//
	//   - orderBy - Sets the ascendant (ASC) or descendant (DESC) order modifier.
	//     To define a column as static use staticColumns - Static columns store
	//     values that are shared by all rows in the same partition:
	//
	//   - name - The name of the column.
	//
	//   - type - An Amazon Keyspaces data type.
	//
	// +kubebuilder:validation:Required
	SchemaDefinition *SchemaDefinition `json:"schemaDefinition"`
	// The name of the table.
	// +kubebuilder:validation:Required
	TableName *string `json:"tableName"`
	// A list of key-value pair tags to be attached to the resource.
	//
	// For more information, see Adding tags and labels to Amazon Keyspaces resources
	// (https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html)
	// in the Amazon Keyspaces Developer Guide.
	Tags []*Tag `json:"tags,omitempty"`
	// Enables Time to Live custom settings for the table. The options are:
	//
	//   - status:enabled
	//
	//   - status:disabled
	//
	// The default is status:disabled. After ttl is enabled, you can't disable it
	// for the table.
	//
	// For more information, see Expiring data by using Amazon Keyspaces Time to
	// Live (TTL) (https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL.html)
	// in the Amazon Keyspaces Developer Guide.
	TTL *TimeToLive `json:"ttl,omitempty"`
}

TableSpec defines the desired state of Table.

func (*TableSpec) DeepCopy added in v0.0.2

func (in *TableSpec) DeepCopy() *TableSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableSpec.

func (*TableSpec) DeepCopyInto added in v0.0.2

func (in *TableSpec) DeepCopyInto(out *TableSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TableStatus

type TableStatus struct {
	// All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
	// that is used to contain resource sync state, account ownership,
	// constructed ARN for the resource
	// +kubebuilder:validation:Optional
	ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"`
	// All CRS managed by ACK have a common `Status.Conditions` member that
	// contains a collection of `ackv1alpha1.Condition` objects that describe
	// the various terminal states of the CR and its backend AWS service API
	// resource
	// +kubebuilder:validation:Optional
	Conditions []*ackv1alpha1.Condition `json:"conditions"`
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty"`
}

TableStatus defines the observed state of Table

func (*TableStatus) DeepCopy added in v0.0.2

func (in *TableStatus) DeepCopy() *TableStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableStatus.

func (*TableStatus) DeepCopyInto added in v0.0.2

func (in *TableStatus) DeepCopyInto(out *TableStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TableStatus_SDK added in v0.0.2

type TableStatus_SDK string
const (
	TableStatus_SDK_ACTIVE                              TableStatus_SDK = "ACTIVE"
	TableStatus_SDK_CREATING                            TableStatus_SDK = "CREATING"
	TableStatus_SDK_UPDATING                            TableStatus_SDK = "UPDATING"
	TableStatus_SDK_DELETING                            TableStatus_SDK = "DELETING"
	TableStatus_SDK_DELETED                             TableStatus_SDK = "DELETED"
	TableStatus_SDK_RESTORING                           TableStatus_SDK = "RESTORING"
	TableStatus_SDK_INACCESSIBLE_ENCRYPTION_CREDENTIALS TableStatus_SDK = "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
)

type TableSummary

type TableSummary struct {
	KeyspaceName *string `json:"keyspaceName,omitempty"`
	ResourceARN  *string `json:"resourceARN,omitempty"`
	TableName    *string `json:"tableName,omitempty"`
}

Returns the name of the specified table, the keyspace it is stored in, and the unique identifier in the format of an Amazon Resource Name (ARN).

func (*TableSummary) DeepCopy

func (in *TableSummary) DeepCopy() *TableSummary

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableSummary.

func (*TableSummary) DeepCopyInto

func (in *TableSummary) DeepCopyInto(out *TableSummary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Tag

type Tag struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
}

Describes a tag. A tag is a key-value pair. You can add up to 50 tags to a single Amazon Keyspaces resource.

Amazon Web Services-assigned tag names and values are automatically assigned the aws: prefix, which the user cannot assign. Amazon Web Services-assigned tag names do not count towards the tag limit of 50. User-assigned tag names have the prefix user: in the Cost Allocation Report. You cannot backdate the application of a tag.

For more information, see Adding tags and labels to Amazon Keyspaces resources (https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html) in the Amazon Keyspaces Developer Guide.

func (*Tag) DeepCopy

func (in *Tag) DeepCopy() *Tag

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tag.

func (*Tag) DeepCopyInto

func (in *Tag) DeepCopyInto(out *Tag)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ThroughputMode

type ThroughputMode string
const (
	ThroughputMode_PAY_PER_REQUEST ThroughputMode = "PAY_PER_REQUEST"
	ThroughputMode_PROVISIONED     ThroughputMode = "PROVISIONED"
)

type TimeToLive added in v0.0.2

type TimeToLive struct {
	Status *string `json:"status,omitempty"`
}

Enable custom Time to Live (TTL) settings for rows and columns without setting a TTL default for the specified table.

For more information, see Enabling TTL on tables (https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_enabling) in the Amazon Keyspaces Developer Guide.

func (*TimeToLive) DeepCopy added in v0.0.2

func (in *TimeToLive) DeepCopy() *TimeToLive

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeToLive.

func (*TimeToLive) DeepCopyInto added in v0.0.2

func (in *TimeToLive) DeepCopyInto(out *TimeToLive)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TimeToLiveStatus

type TimeToLiveStatus string
const (
	TimeToLiveStatus_ENABLED TimeToLiveStatus = "ENABLED"
)

Jump to

Keyboard shortcuts

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