v1alpha1

package
v0.0.0-...-bf43ebf Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Group   = "db-cluster-snapshot.terraform-provider-aws.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Kind                  = "DbClusterSnapshot"
	GroupKind             = schema.GroupKind{Group: Group, Kind: Kind}.String()
	KindAPIVersion        = Kind + "." + SchemeGroupVersion.String()
	GroupVersionKind      = SchemeGroupVersion.WithKind(Kind)
	TerraformResourceName = "aws_db_cluster_snapshot"
)
View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}
)

Functions

func DecodeDbClusterSnapshot

func DecodeDbClusterSnapshot(prev *DbClusterSnapshot, ctyValue cty.Value) (resource.Managed, error)

func DecodeDbClusterSnapshot_AllocatedStorage

func DecodeDbClusterSnapshot_AllocatedStorage(p *DbClusterSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbClusterSnapshot_AvailabilityZones

func DecodeDbClusterSnapshot_AvailabilityZones(p *DbClusterSnapshotObservation, vals map[string]cty.Value)

primitiveCollectionTypeDecodeTemplate

func DecodeDbClusterSnapshot_DbClusterIdentifier

func DecodeDbClusterSnapshot_DbClusterIdentifier(p *DbClusterSnapshotParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbClusterSnapshot_DbClusterSnapshotArn

func DecodeDbClusterSnapshot_DbClusterSnapshotArn(p *DbClusterSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbClusterSnapshot_DbClusterSnapshotIdentifier

func DecodeDbClusterSnapshot_DbClusterSnapshotIdentifier(p *DbClusterSnapshotParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbClusterSnapshot_Engine

func DecodeDbClusterSnapshot_Engine(p *DbClusterSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbClusterSnapshot_EngineVersion

func DecodeDbClusterSnapshot_EngineVersion(p *DbClusterSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbClusterSnapshot_KmsKeyId

func DecodeDbClusterSnapshot_KmsKeyId(p *DbClusterSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbClusterSnapshot_LicenseModel

func DecodeDbClusterSnapshot_LicenseModel(p *DbClusterSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbClusterSnapshot_Port

func DecodeDbClusterSnapshot_Port(p *DbClusterSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbClusterSnapshot_SnapshotType

func DecodeDbClusterSnapshot_SnapshotType(p *DbClusterSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbClusterSnapshot_SourceDbClusterSnapshotArn

func DecodeDbClusterSnapshot_SourceDbClusterSnapshotArn(p *DbClusterSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbClusterSnapshot_Status

func DecodeDbClusterSnapshot_Status(p *DbClusterSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbClusterSnapshot_StorageEncrypted

func DecodeDbClusterSnapshot_StorageEncrypted(p *DbClusterSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbClusterSnapshot_Tags

func DecodeDbClusterSnapshot_Tags(p *DbClusterSnapshotParameters, vals map[string]cty.Value)

primitiveMapTypeDecodeTemplate

func DecodeDbClusterSnapshot_Timeouts

func DecodeDbClusterSnapshot_Timeouts(p *Timeouts, vals map[string]cty.Value)

containerTypeDecodeTemplate

func DecodeDbClusterSnapshot_Timeouts_Create

func DecodeDbClusterSnapshot_Timeouts_Create(p *Timeouts, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbClusterSnapshot_VpcId

func DecodeDbClusterSnapshot_VpcId(p *DbClusterSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func EncodeDbClusterSnapshot

func EncodeDbClusterSnapshot(r DbClusterSnapshot) cty.Value

func EncodeDbClusterSnapshot_AllocatedStorage

func EncodeDbClusterSnapshot_AllocatedStorage(p DbClusterSnapshotObservation, vals map[string]cty.Value)

func EncodeDbClusterSnapshot_AvailabilityZones

func EncodeDbClusterSnapshot_AvailabilityZones(p DbClusterSnapshotObservation, vals map[string]cty.Value)

func EncodeDbClusterSnapshot_DbClusterIdentifier

func EncodeDbClusterSnapshot_DbClusterIdentifier(p DbClusterSnapshotParameters, vals map[string]cty.Value)

func EncodeDbClusterSnapshot_DbClusterSnapshotArn

func EncodeDbClusterSnapshot_DbClusterSnapshotArn(p DbClusterSnapshotObservation, vals map[string]cty.Value)

func EncodeDbClusterSnapshot_DbClusterSnapshotIdentifier

func EncodeDbClusterSnapshot_DbClusterSnapshotIdentifier(p DbClusterSnapshotParameters, vals map[string]cty.Value)

func EncodeDbClusterSnapshot_Engine

func EncodeDbClusterSnapshot_Engine(p DbClusterSnapshotObservation, vals map[string]cty.Value)

func EncodeDbClusterSnapshot_EngineVersion

func EncodeDbClusterSnapshot_EngineVersion(p DbClusterSnapshotObservation, vals map[string]cty.Value)

func EncodeDbClusterSnapshot_KmsKeyId

func EncodeDbClusterSnapshot_KmsKeyId(p DbClusterSnapshotObservation, vals map[string]cty.Value)

func EncodeDbClusterSnapshot_LicenseModel

func EncodeDbClusterSnapshot_LicenseModel(p DbClusterSnapshotObservation, vals map[string]cty.Value)

func EncodeDbClusterSnapshot_Port

func EncodeDbClusterSnapshot_Port(p DbClusterSnapshotObservation, vals map[string]cty.Value)

func EncodeDbClusterSnapshot_SnapshotType

func EncodeDbClusterSnapshot_SnapshotType(p DbClusterSnapshotObservation, vals map[string]cty.Value)

func EncodeDbClusterSnapshot_SourceDbClusterSnapshotArn

func EncodeDbClusterSnapshot_SourceDbClusterSnapshotArn(p DbClusterSnapshotObservation, vals map[string]cty.Value)

func EncodeDbClusterSnapshot_Status

func EncodeDbClusterSnapshot_Status(p DbClusterSnapshotObservation, vals map[string]cty.Value)

func EncodeDbClusterSnapshot_StorageEncrypted

func EncodeDbClusterSnapshot_StorageEncrypted(p DbClusterSnapshotObservation, vals map[string]cty.Value)

func EncodeDbClusterSnapshot_Tags

func EncodeDbClusterSnapshot_Tags(p DbClusterSnapshotParameters, vals map[string]cty.Value)

func EncodeDbClusterSnapshot_Timeouts

func EncodeDbClusterSnapshot_Timeouts(p Timeouts, vals map[string]cty.Value)

func EncodeDbClusterSnapshot_Timeouts_Create

func EncodeDbClusterSnapshot_Timeouts_Create(p Timeouts, vals map[string]cty.Value)

func EncodeDbClusterSnapshot_VpcId

func EncodeDbClusterSnapshot_VpcId(p DbClusterSnapshotObservation, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeDbClusterSnapshot_AllocatedStorage

func MergeDbClusterSnapshot_AllocatedStorage(k *DbClusterSnapshotObservation, p *DbClusterSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbClusterSnapshot_AvailabilityZones

func MergeDbClusterSnapshot_AvailabilityZones(k *DbClusterSnapshotObservation, p *DbClusterSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateStatus

func MergeDbClusterSnapshot_DbClusterIdentifier

func MergeDbClusterSnapshot_DbClusterIdentifier(k *DbClusterSnapshotParameters, p *DbClusterSnapshotParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeDbClusterSnapshot_DbClusterSnapshotArn

func MergeDbClusterSnapshot_DbClusterSnapshotArn(k *DbClusterSnapshotObservation, p *DbClusterSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbClusterSnapshot_DbClusterSnapshotIdentifier

func MergeDbClusterSnapshot_DbClusterSnapshotIdentifier(k *DbClusterSnapshotParameters, p *DbClusterSnapshotParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeDbClusterSnapshot_Engine

mergePrimitiveTemplateStatus

func MergeDbClusterSnapshot_EngineVersion

func MergeDbClusterSnapshot_EngineVersion(k *DbClusterSnapshotObservation, p *DbClusterSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbClusterSnapshot_KmsKeyId

func MergeDbClusterSnapshot_KmsKeyId(k *DbClusterSnapshotObservation, p *DbClusterSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbClusterSnapshot_LicenseModel

func MergeDbClusterSnapshot_LicenseModel(k *DbClusterSnapshotObservation, p *DbClusterSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbClusterSnapshot_Port

mergePrimitiveTemplateStatus

func MergeDbClusterSnapshot_SnapshotType

func MergeDbClusterSnapshot_SnapshotType(k *DbClusterSnapshotObservation, p *DbClusterSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbClusterSnapshot_SourceDbClusterSnapshotArn

func MergeDbClusterSnapshot_SourceDbClusterSnapshotArn(k *DbClusterSnapshotObservation, p *DbClusterSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbClusterSnapshot_Status

mergePrimitiveTemplateStatus

func MergeDbClusterSnapshot_StorageEncrypted

func MergeDbClusterSnapshot_StorageEncrypted(k *DbClusterSnapshotObservation, p *DbClusterSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbClusterSnapshot_Tags

mergePrimitiveContainerTemplateSpec

func MergeDbClusterSnapshot_Timeouts

func MergeDbClusterSnapshot_Timeouts(k *Timeouts, p *Timeouts, md *plugin.MergeDescription) bool

mergeStructTemplateSpec

func MergeDbClusterSnapshot_Timeouts_Create

func MergeDbClusterSnapshot_Timeouts_Create(k *Timeouts, p *Timeouts, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeDbClusterSnapshot_VpcId

mergePrimitiveTemplateStatus

Types

type DbClusterSnapshot

type DbClusterSnapshot struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DbClusterSnapshotSpec   `json:"spec"`
	Status DbClusterSnapshotStatus `json:"status,omitempty"`
}

DbClusterSnapshot is a managed resource representing a resource mirrored in the cloud +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster

func (*DbClusterSnapshot) DeepCopy

func (in *DbClusterSnapshot) DeepCopy() *DbClusterSnapshot

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

func (*DbClusterSnapshot) DeepCopyInto

func (in *DbClusterSnapshot) DeepCopyInto(out *DbClusterSnapshot)

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

func (*DbClusterSnapshot) DeepCopyObject

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

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

func (*DbClusterSnapshot) GetCondition

GetCondition of this DbClusterSnapshot.

func (*DbClusterSnapshot) GetDeletionPolicy

func (mg *DbClusterSnapshot) GetDeletionPolicy() runtimev1alpha1.DeletionPolicy

GetDeletionPolicy of this DbClusterSnapshot.

func (*DbClusterSnapshot) GetProviderConfigReference

func (mg *DbClusterSnapshot) GetProviderConfigReference() *runtimev1alpha1.Reference

GetProviderConfigReference of this DbClusterSnapshot.

func (*DbClusterSnapshot) GetProviderReference

func (mg *DbClusterSnapshot) GetProviderReference() *runtimev1alpha1.Reference

GetProviderReference of this DbClusterSnapshot. Deprecated: Use GetProviderConfigReference.

func (*DbClusterSnapshot) GetWriteConnectionSecretToReference

func (mg *DbClusterSnapshot) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this DbClusterSnapshot.

func (*DbClusterSnapshot) SetConditions

func (mg *DbClusterSnapshot) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this DbClusterSnapshot.

func (*DbClusterSnapshot) SetDeletionPolicy

func (mg *DbClusterSnapshot) SetDeletionPolicy(r runtimev1alpha1.DeletionPolicy)

SetDeletionPolicy of this DbClusterSnapshot.

func (*DbClusterSnapshot) SetProviderConfigReference

func (mg *DbClusterSnapshot) SetProviderConfigReference(r *runtimev1alpha1.Reference)

SetProviderConfigReference of this DbClusterSnapshot.

func (*DbClusterSnapshot) SetProviderReference

func (mg *DbClusterSnapshot) SetProviderReference(r *runtimev1alpha1.Reference)

SetProviderReference of this DbClusterSnapshot. Deprecated: Use SetProviderConfigReference.

func (*DbClusterSnapshot) SetWriteConnectionSecretToReference

func (mg *DbClusterSnapshot) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this DbClusterSnapshot.

type DbClusterSnapshotList

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

DbClusterSnapshot contains a list of DbClusterSnapshotList

func (*DbClusterSnapshotList) DeepCopy

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

func (*DbClusterSnapshotList) DeepCopyInto

func (in *DbClusterSnapshotList) DeepCopyInto(out *DbClusterSnapshotList)

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

func (*DbClusterSnapshotList) DeepCopyObject

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

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

func (*DbClusterSnapshotList) GetItems

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

GetItems of this DbClusterSnapshotList.

type DbClusterSnapshotObservation

type DbClusterSnapshotObservation struct {
	EngineVersion              string   `json:"engine_version"`
	Port                       int64    `json:"port"`
	Status                     string   `json:"status"`
	DbClusterSnapshotArn       string   `json:"db_cluster_snapshot_arn"`
	StorageEncrypted           bool     `json:"storage_encrypted"`
	AllocatedStorage           int64    `json:"allocated_storage"`
	LicenseModel               string   `json:"license_model"`
	SnapshotType               string   `json:"snapshot_type"`
	SourceDbClusterSnapshotArn string   `json:"source_db_cluster_snapshot_arn"`
	VpcId                      string   `json:"vpc_id"`
	KmsKeyId                   string   `json:"kms_key_id"`
	Engine                     string   `json:"engine"`
	AvailabilityZones          []string `json:"availability_zones"`
}

A DbClusterSnapshotObservation records the observed state of a DbClusterSnapshot

func (*DbClusterSnapshotObservation) DeepCopy

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

func (*DbClusterSnapshotObservation) DeepCopyInto

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

type DbClusterSnapshotParameters

type DbClusterSnapshotParameters struct {
	Tags                        map[string]string `json:"tags"`
	DbClusterIdentifier         string            `json:"db_cluster_identifier"`
	DbClusterSnapshotIdentifier string            `json:"db_cluster_snapshot_identifier"`
	Timeouts                    Timeouts          `json:"timeouts"`
}

A DbClusterSnapshotParameters defines the desired state of a DbClusterSnapshot

func (*DbClusterSnapshotParameters) DeepCopy

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

func (*DbClusterSnapshotParameters) DeepCopyInto

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

type DbClusterSnapshotSpec

type DbClusterSnapshotSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	ForProvider                  DbClusterSnapshotParameters `json:"forProvider"`
}

A DbClusterSnapshotSpec defines the desired state of a DbClusterSnapshot

func (*DbClusterSnapshotSpec) DeepCopy

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

func (*DbClusterSnapshotSpec) DeepCopyInto

func (in *DbClusterSnapshotSpec) DeepCopyInto(out *DbClusterSnapshotSpec)

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

type DbClusterSnapshotStatus

type DbClusterSnapshotStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	AtProvider                     DbClusterSnapshotObservation `json:"atProvider"`
}

A DbClusterSnapshotStatus defines the observed state of a DbClusterSnapshot

func (*DbClusterSnapshotStatus) DeepCopy

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

func (*DbClusterSnapshotStatus) DeepCopyInto

func (in *DbClusterSnapshotStatus) DeepCopyInto(out *DbClusterSnapshotStatus)

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

type Timeouts

type Timeouts struct {
	Create string `json:"create"`
}

func (*Timeouts) DeepCopy

func (in *Timeouts) DeepCopy() *Timeouts

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

func (*Timeouts) DeepCopyInto

func (in *Timeouts) DeepCopyInto(out *Timeouts)

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