v1beta1

package
v0.31.4 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=dynamodb.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "dynamodb.aws.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	GlobalTable_Kind             = "GlobalTable"
	GlobalTable_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: GlobalTable_Kind}.String()
	GlobalTable_KindAPIVersion   = GlobalTable_Kind + "." + CRDGroupVersion.String()
	GlobalTable_GroupVersionKind = CRDGroupVersion.WithKind(GlobalTable_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Table_Kind             = "Table"
	Table_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Table_Kind}.String()
	Table_KindAPIVersion   = Table_Kind + "." + CRDGroupVersion.String()
	Table_GroupVersionKind = CRDGroupVersion.WithKind(Table_Kind)
)

Repository type metadata.

View Source
var (
	Tag_Kind             = "Tag"
	Tag_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Tag_Kind}.String()
	Tag_KindAPIVersion   = Tag_Kind + "." + CRDGroupVersion.String()
	Tag_GroupVersionKind = CRDGroupVersion.WithKind(Tag_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AttributeObservation

type AttributeObservation struct {
}

func (*AttributeObservation) DeepCopy

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

func (*AttributeObservation) DeepCopyInto

func (in *AttributeObservation) DeepCopyInto(out *AttributeObservation)

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

type AttributeParameters

type AttributeParameters struct {

	// Name of the attribute
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Attribute type. Valid values are S (string), N (number), B (binary).
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*AttributeParameters) DeepCopy

func (in *AttributeParameters) DeepCopy() *AttributeParameters

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

func (*AttributeParameters) DeepCopyInto

func (in *AttributeParameters) DeepCopyInto(out *AttributeParameters)

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

type GlobalSecondaryIndexObservation

type GlobalSecondaryIndexObservation struct {
}

func (*GlobalSecondaryIndexObservation) DeepCopy

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

func (*GlobalSecondaryIndexObservation) DeepCopyInto

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

type GlobalSecondaryIndexParameters

type GlobalSecondaryIndexParameters struct {

	// Name of the hash key in the index; must be defined as an attribute in the resource.
	// +kubebuilder:validation:Required
	HashKey *string `json:"hashKey" tf:"hash_key,omitempty"`

	// Name of the index.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Only required with INCLUDE as a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.
	// +kubebuilder:validation:Optional
	NonKeyAttributes []*string `json:"nonKeyAttributes,omitempty" tf:"non_key_attributes,omitempty"`

	// One of ALL, INCLUDE or KEYS_ONLY where ALL projects every attribute into the index, KEYS_ONLY projects  into the index only the table and index hash_key and sort_key attributes ,  INCLUDE projects into the index all of the attributes that are defined in non_key_attributes in addition to the attributes that thatKEYS_ONLY project.
	// +kubebuilder:validation:Required
	ProjectionType *string `json:"projectionType" tf:"projection_type,omitempty"`

	// Name of the range key; must be defined
	// +kubebuilder:validation:Optional
	RangeKey *string `json:"rangeKey,omitempty" tf:"range_key,omitempty"`

	// Number of read units for this index. Must be set if billing_mode is set to PROVISIONED.
	// +kubebuilder:validation:Optional
	ReadCapacity *float64 `json:"readCapacity,omitempty" tf:"read_capacity,omitempty"`

	// Number of write units for this index. Must be set if billing_mode is set to PROVISIONED.
	// +kubebuilder:validation:Optional
	WriteCapacity *float64 `json:"writeCapacity,omitempty" tf:"write_capacity,omitempty"`
}

func (*GlobalSecondaryIndexParameters) DeepCopy

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

func (*GlobalSecondaryIndexParameters) DeepCopyInto

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

type GlobalTable

type GlobalTable struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GlobalTableSpec   `json:"spec"`
	Status            GlobalTableStatus `json:"status,omitempty"`
}

GlobalTable is the Schema for the GlobalTables API. Manages DynamoDB Global Tables V1 (version 2017.11.29) +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*GlobalTable) DeepCopy

func (in *GlobalTable) DeepCopy() *GlobalTable

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

func (*GlobalTable) DeepCopyInto

func (in *GlobalTable) DeepCopyInto(out *GlobalTable)

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

func (*GlobalTable) DeepCopyObject

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

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

func (*GlobalTable) GetCondition

func (mg *GlobalTable) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this GlobalTable.

func (*GlobalTable) GetConnectionDetailsMapping

func (tr *GlobalTable) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this GlobalTable

func (*GlobalTable) GetDeletionPolicy

func (mg *GlobalTable) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this GlobalTable.

func (*GlobalTable) GetID

func (tr *GlobalTable) GetID() string

GetID returns ID of underlying Terraform resource of this GlobalTable

func (*GlobalTable) GetObservation

func (tr *GlobalTable) GetObservation() (map[string]any, error)

GetObservation of this GlobalTable

func (*GlobalTable) GetParameters

func (tr *GlobalTable) GetParameters() (map[string]any, error)

GetParameters of this GlobalTable

func (*GlobalTable) GetProviderConfigReference

func (mg *GlobalTable) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this GlobalTable.

func (*GlobalTable) GetProviderReference

func (mg *GlobalTable) GetProviderReference() *xpv1.Reference

GetProviderReference of this GlobalTable. Deprecated: Use GetProviderConfigReference.

func (*GlobalTable) GetPublishConnectionDetailsTo

func (mg *GlobalTable) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this GlobalTable.

func (*GlobalTable) GetTerraformResourceType

func (mg *GlobalTable) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this GlobalTable

func (*GlobalTable) GetTerraformSchemaVersion

func (tr *GlobalTable) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*GlobalTable) GetWriteConnectionSecretToReference

func (mg *GlobalTable) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this GlobalTable.

func (*GlobalTable) LateInitialize

func (tr *GlobalTable) LateInitialize(attrs []byte) (bool, error)

LateInitialize this GlobalTable using its observed tfState. returns True if there are any spec changes for the resource.

func (*GlobalTable) SetConditions

func (mg *GlobalTable) SetConditions(c ...xpv1.Condition)

SetConditions of this GlobalTable.

func (*GlobalTable) SetDeletionPolicy

func (mg *GlobalTable) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this GlobalTable.

func (*GlobalTable) SetObservation

func (tr *GlobalTable) SetObservation(obs map[string]any) error

SetObservation for this GlobalTable

func (*GlobalTable) SetParameters

func (tr *GlobalTable) SetParameters(params map[string]any) error

SetParameters for this GlobalTable

func (*GlobalTable) SetProviderConfigReference

func (mg *GlobalTable) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this GlobalTable.

func (*GlobalTable) SetProviderReference

func (mg *GlobalTable) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this GlobalTable. Deprecated: Use SetProviderConfigReference.

func (*GlobalTable) SetPublishConnectionDetailsTo

func (mg *GlobalTable) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this GlobalTable.

func (*GlobalTable) SetWriteConnectionSecretToReference

func (mg *GlobalTable) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this GlobalTable.

type GlobalTableList

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

GlobalTableList contains a list of GlobalTables

func (*GlobalTableList) DeepCopy

func (in *GlobalTableList) DeepCopy() *GlobalTableList

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

func (*GlobalTableList) DeepCopyInto

func (in *GlobalTableList) DeepCopyInto(out *GlobalTableList)

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

func (*GlobalTableList) DeepCopyObject

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

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

func (*GlobalTableList) GetItems

func (l *GlobalTableList) GetItems() []resource.Managed

GetItems of this GlobalTableList.

type GlobalTableObservation

type GlobalTableObservation struct {

	// The ARN of the DynamoDB Global Table
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The name of the DynamoDB Global Table
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*GlobalTableObservation) DeepCopy

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

func (*GlobalTableObservation) DeepCopyInto

func (in *GlobalTableObservation) DeepCopyInto(out *GlobalTableObservation)

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

type GlobalTableParameters

type GlobalTableParameters struct {

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Underlying DynamoDB Table. At least 1 replica must be defined. See below.
	// +kubebuilder:validation:Required
	Replica []ReplicaParameters `json:"replica" tf:"replica,omitempty"`
}

func (*GlobalTableParameters) DeepCopy

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

func (*GlobalTableParameters) DeepCopyInto

func (in *GlobalTableParameters) DeepCopyInto(out *GlobalTableParameters)

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

type GlobalTableSpec

type GlobalTableSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     GlobalTableParameters `json:"forProvider"`
}

GlobalTableSpec defines the desired state of GlobalTable

func (*GlobalTableSpec) DeepCopy

func (in *GlobalTableSpec) DeepCopy() *GlobalTableSpec

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

func (*GlobalTableSpec) DeepCopyInto

func (in *GlobalTableSpec) DeepCopyInto(out *GlobalTableSpec)

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

type GlobalTableStatus

type GlobalTableStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        GlobalTableObservation `json:"atProvider,omitempty"`
}

GlobalTableStatus defines the observed state of GlobalTable.

func (*GlobalTableStatus) DeepCopy

func (in *GlobalTableStatus) DeepCopy() *GlobalTableStatus

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

func (*GlobalTableStatus) DeepCopyInto

func (in *GlobalTableStatus) DeepCopyInto(out *GlobalTableStatus)

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

type LocalSecondaryIndexObservation

type LocalSecondaryIndexObservation struct {
}

func (*LocalSecondaryIndexObservation) DeepCopy

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

func (*LocalSecondaryIndexObservation) DeepCopyInto

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

type LocalSecondaryIndexParameters

type LocalSecondaryIndexParameters struct {

	// Name of the index
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Only required with INCLUDE as a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.
	// +kubebuilder:validation:Optional
	NonKeyAttributes []*string `json:"nonKeyAttributes,omitempty" tf:"non_key_attributes,omitempty"`

	// One of ALL, INCLUDE or KEYS_ONLY where ALL projects every attribute into the index, KEYS_ONLY projects  into the index only the table and index hash_key and sort_key attributes ,  INCLUDE projects into the index all of the attributes that are defined in non_key_attributes in addition to the attributes that thatKEYS_ONLY project.
	// +kubebuilder:validation:Required
	ProjectionType *string `json:"projectionType" tf:"projection_type,omitempty"`

	// Name of the range key.
	// +kubebuilder:validation:Required
	RangeKey *string `json:"rangeKey" tf:"range_key,omitempty"`
}

func (*LocalSecondaryIndexParameters) DeepCopy

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

func (*LocalSecondaryIndexParameters) DeepCopyInto

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

type PointInTimeRecoveryObservation

type PointInTimeRecoveryObservation struct {
}

func (*PointInTimeRecoveryObservation) DeepCopy

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

func (*PointInTimeRecoveryObservation) DeepCopyInto

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

type PointInTimeRecoveryParameters

type PointInTimeRecoveryParameters struct {

	// Whether to enable point-in-time recovery. It can take 10 minutes to enable for new tables. If the point_in_time_recovery block is not provided, this defaults to false.
	// +kubebuilder:validation:Required
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`
}

func (*PointInTimeRecoveryParameters) DeepCopy

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

func (*PointInTimeRecoveryParameters) DeepCopyInto

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

type ReplicaObservation

type ReplicaObservation struct {
}

func (*ReplicaObservation) DeepCopy

func (in *ReplicaObservation) DeepCopy() *ReplicaObservation

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

func (*ReplicaObservation) DeepCopyInto

func (in *ReplicaObservation) DeepCopyInto(out *ReplicaObservation)

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

type ReplicaParameters

type ReplicaParameters struct {

	// AWS region name of replica DynamoDB TableE.g., us-east-1
	// +kubebuilder:validation:Required
	RegionName *string `json:"regionName" tf:"region_name,omitempty"`
}

func (*ReplicaParameters) DeepCopy

func (in *ReplicaParameters) DeepCopy() *ReplicaParameters

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

func (*ReplicaParameters) DeepCopyInto

func (in *ReplicaParameters) DeepCopyInto(out *ReplicaParameters)

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

type ServerSideEncryptionObservation

type ServerSideEncryptionObservation struct {
}

func (*ServerSideEncryptionObservation) DeepCopy

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

func (*ServerSideEncryptionObservation) DeepCopyInto

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

type ServerSideEncryptionParameters

type ServerSideEncryptionParameters struct {

	// Whether or not to enable encryption at rest using an AWS managed KMS customer master key (CMK). If enabled is false then server-side encryption is set to AWS-owned key (shown as DEFAULT in the AWS console). Potentially confusingly, if enabled is true and no kms_key_arn is specified then server-side encryption is set to the default KMS-managed key (shown as KMS in the AWS console). The AWS KMS documentation explains the difference between AWS-owned and KMS-managed keys.
	// +kubebuilder:validation:Required
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

	// ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, alias/aws/dynamodb. Note: This attribute will not be populated with the ARN of default keys.
	// +kubebuilder:validation:Optional
	KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"`
}

func (*ServerSideEncryptionParameters) DeepCopy

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

func (*ServerSideEncryptionParameters) DeepCopyInto

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

type TTLObservation

type TTLObservation struct {
}

func (*TTLObservation) DeepCopy

func (in *TTLObservation) DeepCopy() *TTLObservation

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

func (*TTLObservation) DeepCopyInto

func (in *TTLObservation) DeepCopyInto(out *TTLObservation)

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

type TTLParameters

type TTLParameters struct {

	// Name of the table attribute to store the TTL timestamp in.
	// +kubebuilder:validation:Required
	AttributeName *string `json:"attributeName" tf:"attribute_name,omitempty"`

	// Whether TTL is enabled.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`
}

func (*TTLParameters) DeepCopy

func (in *TTLParameters) DeepCopy() *TTLParameters

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

func (*TTLParameters) DeepCopyInto

func (in *TTLParameters) DeepCopyInto(out *TTLParameters)

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

type Table

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

Table is the Schema for the Tables API. Provides a DynamoDB table resource +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Table) DeepCopy

func (in *Table) DeepCopy() *Table

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

func (*Table) DeepCopyInto

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

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

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

func (*Table) GetCondition

func (mg *Table) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Table.

func (*Table) GetConnectionDetailsMapping

func (tr *Table) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Table

func (*Table) GetDeletionPolicy

func (mg *Table) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Table.

func (*Table) GetID

func (tr *Table) GetID() string

GetID returns ID of underlying Terraform resource of this Table

func (*Table) GetObservation

func (tr *Table) GetObservation() (map[string]any, error)

GetObservation of this Table

func (*Table) GetParameters

func (tr *Table) GetParameters() (map[string]any, error)

GetParameters of this Table

func (*Table) GetProviderConfigReference

func (mg *Table) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Table.

func (*Table) GetProviderReference

func (mg *Table) GetProviderReference() *xpv1.Reference

GetProviderReference of this Table. Deprecated: Use GetProviderConfigReference.

func (*Table) GetPublishConnectionDetailsTo

func (mg *Table) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Table.

func (*Table) GetTerraformResourceType

func (mg *Table) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Table

func (*Table) GetTerraformSchemaVersion

func (tr *Table) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Table) GetWriteConnectionSecretToReference

func (mg *Table) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Table.

func (*Table) LateInitialize

func (tr *Table) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Table using its observed tfState. returns True if there are any spec changes for the resource.

func (*Table) SetConditions

func (mg *Table) SetConditions(c ...xpv1.Condition)

SetConditions of this Table.

func (*Table) SetDeletionPolicy

func (mg *Table) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Table.

func (*Table) SetObservation

func (tr *Table) SetObservation(obs map[string]any) error

SetObservation for this Table

func (*Table) SetParameters

func (tr *Table) SetParameters(params map[string]any) error

SetParameters for this Table

func (*Table) SetProviderConfigReference

func (mg *Table) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Table.

func (*Table) SetProviderReference

func (mg *Table) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Table. Deprecated: Use SetProviderConfigReference.

func (*Table) SetPublishConnectionDetailsTo

func (mg *Table) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Table.

func (*Table) SetWriteConnectionSecretToReference

func (mg *Table) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Table.

type TableList

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

TableList contains a list of Tables

func (*TableList) DeepCopy

func (in *TableList) DeepCopy() *TableList

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

func (*TableList) DeepCopyInto

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

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

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

func (*TableList) GetItems

func (l *TableList) GetItems() []resource.Managed

GetItems of this TableList.

type TableObservation

type TableObservation struct {

	// ARN of the table
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Name of the table
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Configuration block(s) with DynamoDB Global Tables V2 (version 2019.11.21) replication configurations. See below.
	// +kubebuilder:validation:Optional
	Replica []TableReplicaObservation `json:"replica,omitempty" tf:"replica,omitempty"`

	// ARN of the Table Stream. Only available when stream_enabled = true
	StreamArn *string `json:"streamArn,omitempty" tf:"stream_arn,omitempty"`

	// Timestamp, in ISO 8601 format, for this stream. Note that this timestamp is not a unique identifier for the stream on its own. However, the combination of AWS customer ID, table name and this field is guaranteed to be unique. It can be used for creating CloudWatch Alarms. Only available when stream_enabled = true.
	StreamLabel *string `json:"streamLabel,omitempty" tf:"stream_label,omitempty"`

	// Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*TableObservation) DeepCopy

func (in *TableObservation) DeepCopy() *TableObservation

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

func (*TableObservation) DeepCopyInto

func (in *TableObservation) DeepCopyInto(out *TableObservation)

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

type TableParameters

type TableParameters struct {

	// Set of nested attribute definitions. Only required for hash_key and range_key attributes. See below.
	// +kubebuilder:validation:Optional
	Attribute []AttributeParameters `json:"attribute,omitempty" tf:"attribute,omitempty"`

	// Controls how you are charged for read and write throughput and how you manage capacity. The valid values are PROVISIONED and PAY_PER_REQUEST. Defaults to PROVISIONED.
	// +kubebuilder:validation:Optional
	BillingMode *string `json:"billingMode,omitempty" tf:"billing_mode,omitempty"`

	// Describe a GSI for the table; subject to the normal limits on the number of GSIs, projected attributes, etc. See below.
	// +kubebuilder:validation:Optional
	GlobalSecondaryIndex []GlobalSecondaryIndexParameters `json:"globalSecondaryIndex,omitempty" tf:"global_secondary_index,omitempty"`

	// Attribute to use as the hash (partition) key. Must also be defined as an attribute. See below.
	// +kubebuilder:validation:Optional
	HashKey *string `json:"hashKey,omitempty" tf:"hash_key,omitempty"`

	// Describe an LSI on the table; these can only be allocated at creation so you cannot change this definition after you have created the resource. See below.
	// +kubebuilder:validation:Optional
	LocalSecondaryIndex []LocalSecondaryIndexParameters `json:"localSecondaryIndex,omitempty" tf:"local_secondary_index,omitempty"`

	// Enable point-in-time recovery options. See below.
	// +kubebuilder:validation:Optional
	PointInTimeRecovery []PointInTimeRecoveryParameters `json:"pointInTimeRecovery,omitempty" tf:"point_in_time_recovery,omitempty"`

	// Attribute to use as the range (sort) key. Must also be defined as an attribute, see below.
	// +kubebuilder:validation:Optional
	RangeKey *string `json:"rangeKey,omitempty" tf:"range_key,omitempty"`

	// Number of read units for this table. If the billing_mode is PROVISIONED, this field is required.
	// +kubebuilder:validation:Optional
	ReadCapacity *float64 `json:"readCapacity,omitempty" tf:"read_capacity,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Configuration block(s) with DynamoDB Global Tables V2 (version 2019.11.21) replication configurations. See below.
	// +kubebuilder:validation:Optional
	Replica []TableReplicaParameters `json:"replica,omitempty" tf:"replica,omitempty"`

	// Time of the point-in-time recovery point to restore.
	// +kubebuilder:validation:Optional
	RestoreDateTime *string `json:"restoreDateTime,omitempty" tf:"restore_date_time,omitempty"`

	// Name of the table to restore. Must match the name of an existing table.
	// +kubebuilder:validation:Optional
	RestoreSourceName *string `json:"restoreSourceName,omitempty" tf:"restore_source_name,omitempty"`

	// If set, restores table to the most recent point-in-time recovery point.
	// +kubebuilder:validation:Optional
	RestoreToLatestTime *bool `json:"restoreToLatestTime,omitempty" tf:"restore_to_latest_time,omitempty"`

	// Encryption at rest options. AWS DynamoDB tables are automatically encrypted at rest with an AWS-owned Customer Master Key if this argument isn't specified. See below.
	// +kubebuilder:validation:Optional
	ServerSideEncryption []ServerSideEncryptionParameters `json:"serverSideEncryption,omitempty" tf:"server_side_encryption,omitempty"`

	// Whether Streams are enabled.
	// +kubebuilder:validation:Optional
	StreamEnabled *bool `json:"streamEnabled,omitempty" tf:"stream_enabled,omitempty"`

	// When an item in the table is modified, StreamViewType determines what information is written to the table's stream. Valid values are KEYS_ONLY, NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES.
	// +kubebuilder:validation:Optional
	StreamViewType *string `json:"streamViewType,omitempty" tf:"stream_view_type,omitempty"`

	// Configuration block for TTL. See below.
	// +kubebuilder:validation:Optional
	TTL []TTLParameters `json:"ttl,omitempty" tf:"ttl,omitempty"`

	// Storage class of the table. Valid values are STANDARD and STANDARD_INFREQUENT_ACCESS.
	// +kubebuilder:validation:Optional
	TableClass *string `json:"tableClass,omitempty" tf:"table_class,omitempty"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Number of write units for this table. If the billing_mode is PROVISIONED, this field is required.
	// +kubebuilder:validation:Optional
	WriteCapacity *float64 `json:"writeCapacity,omitempty" tf:"write_capacity,omitempty"`
}

func (*TableParameters) DeepCopy

func (in *TableParameters) DeepCopy() *TableParameters

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

func (*TableParameters) DeepCopyInto

func (in *TableParameters) DeepCopyInto(out *TableParameters)

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

type TableReplicaObservation

type TableReplicaObservation struct {

	// ARN of the replica
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// ARN of the Table Stream. Only available when stream_enabled = true
	StreamArn *string `json:"streamArn,omitempty" tf:"stream_arn,omitempty"`

	// Timestamp, in ISO 8601 format, for this stream. Note that this timestamp is not a unique identifier for the stream on its own. However, the combination of AWS customer ID, table name and this field is guaranteed to be unique. It can be used for creating CloudWatch Alarms. Only available when stream_enabled = true.
	StreamLabel *string `json:"streamLabel,omitempty" tf:"stream_label,omitempty"`
}

func (*TableReplicaObservation) DeepCopy

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

func (*TableReplicaObservation) DeepCopyInto

func (in *TableReplicaObservation) DeepCopyInto(out *TableReplicaObservation)

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

type TableReplicaParameters

type TableReplicaParameters struct {

	// ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, alias/aws/dynamodb. Note: This attribute will not be populated with the ARN of default keys.
	// +kubebuilder:validation:Optional
	KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"`

	// Whether to enable Point In Time Recovery for the replica. Default is false.
	// +kubebuilder:validation:Optional
	PointInTimeRecovery *bool `json:"pointInTimeRecovery,omitempty" tf:"point_in_time_recovery,omitempty"`

	// Whether to propagate the global table's tags to a replica. Default is false. Changes to tags only move in one direction: from global (source) to replica. In other words, tag drift on a replica will not trigger an update. Tag or replica changes on the global table, whether from drift or configuration changes, are propagated to replicas. Changing from true to false on a subsequent apply means replica tags are left as they were, unmanaged, not deleted.
	// +kubebuilder:validation:Optional
	PropagateTags *bool `json:"propagateTags,omitempty" tf:"propagate_tags,omitempty"`

	// Region name of the replica.
	// +kubebuilder:validation:Required
	RegionName *string `json:"regionName" tf:"region_name,omitempty"`
}

func (*TableReplicaParameters) DeepCopy

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

func (*TableReplicaParameters) DeepCopyInto

func (in *TableReplicaParameters) DeepCopyInto(out *TableReplicaParameters)

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

type TableSpec

type TableSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TableParameters `json:"forProvider"`
}

TableSpec defines the desired state of Table

func (*TableSpec) DeepCopy

func (in *TableSpec) DeepCopy() *TableSpec

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

func (*TableSpec) DeepCopyInto

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 {
	v1.ResourceStatus `json:",inline"`
	AtProvider        TableObservation `json:"atProvider,omitempty"`
}

TableStatus defines the observed state of Table.

func (*TableStatus) DeepCopy

func (in *TableStatus) DeepCopy() *TableStatus

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

func (*TableStatus) DeepCopyInto

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

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

type Tag

type Tag struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TagSpec   `json:"spec"`
	Status            TagStatus `json:"status,omitempty"`
}

Tag is the Schema for the Tags API. Manages an individual DynamoDB resource tag +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

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.

func (*Tag) DeepCopyObject

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

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

func (*Tag) GetCondition

func (mg *Tag) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Tag.

func (*Tag) GetConnectionDetailsMapping

func (tr *Tag) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Tag

func (*Tag) GetDeletionPolicy

func (mg *Tag) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Tag.

func (*Tag) GetID

func (tr *Tag) GetID() string

GetID returns ID of underlying Terraform resource of this Tag

func (*Tag) GetObservation

func (tr *Tag) GetObservation() (map[string]any, error)

GetObservation of this Tag

func (*Tag) GetParameters

func (tr *Tag) GetParameters() (map[string]any, error)

GetParameters of this Tag

func (*Tag) GetProviderConfigReference

func (mg *Tag) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Tag.

func (*Tag) GetProviderReference

func (mg *Tag) GetProviderReference() *xpv1.Reference

GetProviderReference of this Tag. Deprecated: Use GetProviderConfigReference.

func (*Tag) GetPublishConnectionDetailsTo

func (mg *Tag) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Tag.

func (*Tag) GetTerraformResourceType

func (mg *Tag) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Tag

func (*Tag) GetTerraformSchemaVersion

func (tr *Tag) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Tag) GetWriteConnectionSecretToReference

func (mg *Tag) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Tag.

func (*Tag) LateInitialize

func (tr *Tag) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Tag using its observed tfState. returns True if there are any spec changes for the resource.

func (*Tag) SetConditions

func (mg *Tag) SetConditions(c ...xpv1.Condition)

SetConditions of this Tag.

func (*Tag) SetDeletionPolicy

func (mg *Tag) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Tag.

func (*Tag) SetObservation

func (tr *Tag) SetObservation(obs map[string]any) error

SetObservation for this Tag

func (*Tag) SetParameters

func (tr *Tag) SetParameters(params map[string]any) error

SetParameters for this Tag

func (*Tag) SetProviderConfigReference

func (mg *Tag) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Tag.

func (*Tag) SetProviderReference

func (mg *Tag) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Tag. Deprecated: Use SetProviderConfigReference.

func (*Tag) SetPublishConnectionDetailsTo

func (mg *Tag) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Tag.

func (*Tag) SetWriteConnectionSecretToReference

func (mg *Tag) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Tag.

type TagList

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

TagList contains a list of Tags

func (*TagList) DeepCopy

func (in *TagList) DeepCopy() *TagList

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

func (*TagList) DeepCopyInto

func (in *TagList) DeepCopyInto(out *TagList)

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

func (*TagList) DeepCopyObject

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

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

func (*TagList) GetItems

func (l *TagList) GetItems() []resource.Managed

GetItems of this TagList.

type TagObservation

type TagObservation struct {

	// DynamoDB resource identifier and key, separated by a comma (,)
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*TagObservation) DeepCopy

func (in *TagObservation) DeepCopy() *TagObservation

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

func (*TagObservation) DeepCopyInto

func (in *TagObservation) DeepCopyInto(out *TagObservation)

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

type TagParameters

type TagParameters struct {

	// Tag name.
	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Amazon Resource Name (ARN) of the DynamoDB resource to tag.
	// +kubebuilder:validation:Required
	ResourceArn *string `json:"resourceArn" tf:"resource_arn,omitempty"`

	// Tag value.
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*TagParameters) DeepCopy

func (in *TagParameters) DeepCopy() *TagParameters

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

func (*TagParameters) DeepCopyInto

func (in *TagParameters) DeepCopyInto(out *TagParameters)

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

type TagSpec

type TagSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TagParameters `json:"forProvider"`
}

TagSpec defines the desired state of Tag

func (*TagSpec) DeepCopy

func (in *TagSpec) DeepCopy() *TagSpec

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

func (*TagSpec) DeepCopyInto

func (in *TagSpec) DeepCopyInto(out *TagSpec)

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

type TagStatus

type TagStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        TagObservation `json:"atProvider,omitempty"`
}

TagStatus defines the observed state of Tag.

func (*TagStatus) DeepCopy

func (in *TagStatus) DeepCopy() *TagStatus

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

func (*TagStatus) DeepCopyInto

func (in *TagStatus) DeepCopyInto(out *TagStatus)

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

Jump to

Keyboard shortcuts

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