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-snapshot.terraform-provider-aws.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

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

Functions

func DecodeDbSnapshot

func DecodeDbSnapshot(prev *DbSnapshot, ctyValue cty.Value) (resource.Managed, error)

func DecodeDbSnapshot_AllocatedStorage

func DecodeDbSnapshot_AllocatedStorage(p *DbSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbSnapshot_AvailabilityZone

func DecodeDbSnapshot_AvailabilityZone(p *DbSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbSnapshot_DbInstanceIdentifier

func DecodeDbSnapshot_DbInstanceIdentifier(p *DbSnapshotParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbSnapshot_DbSnapshotArn

func DecodeDbSnapshot_DbSnapshotArn(p *DbSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbSnapshot_DbSnapshotIdentifier

func DecodeDbSnapshot_DbSnapshotIdentifier(p *DbSnapshotParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbSnapshot_Encrypted

func DecodeDbSnapshot_Encrypted(p *DbSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbSnapshot_Engine

func DecodeDbSnapshot_Engine(p *DbSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbSnapshot_EngineVersion

func DecodeDbSnapshot_EngineVersion(p *DbSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbSnapshot_Iops

func DecodeDbSnapshot_Iops(p *DbSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbSnapshot_KmsKeyId

func DecodeDbSnapshot_KmsKeyId(p *DbSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbSnapshot_LicenseModel

func DecodeDbSnapshot_LicenseModel(p *DbSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbSnapshot_OptionGroupName

func DecodeDbSnapshot_OptionGroupName(p *DbSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbSnapshot_Port

func DecodeDbSnapshot_Port(p *DbSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbSnapshot_SnapshotType

func DecodeDbSnapshot_SnapshotType(p *DbSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbSnapshot_SourceDbSnapshotIdentifier

func DecodeDbSnapshot_SourceDbSnapshotIdentifier(p *DbSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbSnapshot_SourceRegion

func DecodeDbSnapshot_SourceRegion(p *DbSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbSnapshot_Status

func DecodeDbSnapshot_Status(p *DbSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbSnapshot_StorageType

func DecodeDbSnapshot_StorageType(p *DbSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeDbSnapshot_Tags

func DecodeDbSnapshot_Tags(p *DbSnapshotParameters, vals map[string]cty.Value)

primitiveMapTypeDecodeTemplate

func DecodeDbSnapshot_Timeouts

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

containerTypeDecodeTemplate

func DecodeDbSnapshot_Timeouts_Read

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

primitiveTypeDecodeTemplate

func DecodeDbSnapshot_VpcId

func DecodeDbSnapshot_VpcId(p *DbSnapshotObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func EncodeDbSnapshot

func EncodeDbSnapshot(r DbSnapshot) cty.Value

func EncodeDbSnapshot_AllocatedStorage

func EncodeDbSnapshot_AllocatedStorage(p DbSnapshotObservation, vals map[string]cty.Value)

func EncodeDbSnapshot_AvailabilityZone

func EncodeDbSnapshot_AvailabilityZone(p DbSnapshotObservation, vals map[string]cty.Value)

func EncodeDbSnapshot_DbInstanceIdentifier

func EncodeDbSnapshot_DbInstanceIdentifier(p DbSnapshotParameters, vals map[string]cty.Value)

func EncodeDbSnapshot_DbSnapshotArn

func EncodeDbSnapshot_DbSnapshotArn(p DbSnapshotObservation, vals map[string]cty.Value)

func EncodeDbSnapshot_DbSnapshotIdentifier

func EncodeDbSnapshot_DbSnapshotIdentifier(p DbSnapshotParameters, vals map[string]cty.Value)

func EncodeDbSnapshot_Encrypted

func EncodeDbSnapshot_Encrypted(p DbSnapshotObservation, vals map[string]cty.Value)

func EncodeDbSnapshot_Engine

func EncodeDbSnapshot_Engine(p DbSnapshotObservation, vals map[string]cty.Value)

func EncodeDbSnapshot_EngineVersion

func EncodeDbSnapshot_EngineVersion(p DbSnapshotObservation, vals map[string]cty.Value)

func EncodeDbSnapshot_Iops

func EncodeDbSnapshot_Iops(p DbSnapshotObservation, vals map[string]cty.Value)

func EncodeDbSnapshot_KmsKeyId

func EncodeDbSnapshot_KmsKeyId(p DbSnapshotObservation, vals map[string]cty.Value)

func EncodeDbSnapshot_LicenseModel

func EncodeDbSnapshot_LicenseModel(p DbSnapshotObservation, vals map[string]cty.Value)

func EncodeDbSnapshot_OptionGroupName

func EncodeDbSnapshot_OptionGroupName(p DbSnapshotObservation, vals map[string]cty.Value)

func EncodeDbSnapshot_Port

func EncodeDbSnapshot_Port(p DbSnapshotObservation, vals map[string]cty.Value)

func EncodeDbSnapshot_SnapshotType

func EncodeDbSnapshot_SnapshotType(p DbSnapshotObservation, vals map[string]cty.Value)

func EncodeDbSnapshot_SourceDbSnapshotIdentifier

func EncodeDbSnapshot_SourceDbSnapshotIdentifier(p DbSnapshotObservation, vals map[string]cty.Value)

func EncodeDbSnapshot_SourceRegion

func EncodeDbSnapshot_SourceRegion(p DbSnapshotObservation, vals map[string]cty.Value)

func EncodeDbSnapshot_Status

func EncodeDbSnapshot_Status(p DbSnapshotObservation, vals map[string]cty.Value)

func EncodeDbSnapshot_StorageType

func EncodeDbSnapshot_StorageType(p DbSnapshotObservation, vals map[string]cty.Value)

func EncodeDbSnapshot_Tags

func EncodeDbSnapshot_Tags(p DbSnapshotParameters, vals map[string]cty.Value)

func EncodeDbSnapshot_Timeouts

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

func EncodeDbSnapshot_Timeouts_Read

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

func EncodeDbSnapshot_VpcId

func EncodeDbSnapshot_VpcId(p DbSnapshotObservation, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeDbSnapshot_AllocatedStorage

func MergeDbSnapshot_AllocatedStorage(k *DbSnapshotObservation, p *DbSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbSnapshot_AvailabilityZone

func MergeDbSnapshot_AvailabilityZone(k *DbSnapshotObservation, p *DbSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbSnapshot_DbInstanceIdentifier

func MergeDbSnapshot_DbInstanceIdentifier(k *DbSnapshotParameters, p *DbSnapshotParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeDbSnapshot_DbSnapshotArn

func MergeDbSnapshot_DbSnapshotArn(k *DbSnapshotObservation, p *DbSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbSnapshot_DbSnapshotIdentifier

func MergeDbSnapshot_DbSnapshotIdentifier(k *DbSnapshotParameters, p *DbSnapshotParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeDbSnapshot_Encrypted

func MergeDbSnapshot_Encrypted(k *DbSnapshotObservation, p *DbSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbSnapshot_Engine

func MergeDbSnapshot_Engine(k *DbSnapshotObservation, p *DbSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbSnapshot_EngineVersion

func MergeDbSnapshot_EngineVersion(k *DbSnapshotObservation, p *DbSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbSnapshot_Iops

mergePrimitiveTemplateStatus

func MergeDbSnapshot_KmsKeyId

func MergeDbSnapshot_KmsKeyId(k *DbSnapshotObservation, p *DbSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbSnapshot_LicenseModel

func MergeDbSnapshot_LicenseModel(k *DbSnapshotObservation, p *DbSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbSnapshot_OptionGroupName

func MergeDbSnapshot_OptionGroupName(k *DbSnapshotObservation, p *DbSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbSnapshot_Port

mergePrimitiveTemplateStatus

func MergeDbSnapshot_SnapshotType

func MergeDbSnapshot_SnapshotType(k *DbSnapshotObservation, p *DbSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbSnapshot_SourceDbSnapshotIdentifier

func MergeDbSnapshot_SourceDbSnapshotIdentifier(k *DbSnapshotObservation, p *DbSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbSnapshot_SourceRegion

func MergeDbSnapshot_SourceRegion(k *DbSnapshotObservation, p *DbSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbSnapshot_Status

func MergeDbSnapshot_Status(k *DbSnapshotObservation, p *DbSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbSnapshot_StorageType

func MergeDbSnapshot_StorageType(k *DbSnapshotObservation, p *DbSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeDbSnapshot_Tags

func MergeDbSnapshot_Tags(k *DbSnapshotParameters, p *DbSnapshotParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

func MergeDbSnapshot_Timeouts

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

mergeStructTemplateSpec

func MergeDbSnapshot_Timeouts_Read

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

mergePrimitiveTemplateSpec

func MergeDbSnapshot_VpcId

func MergeDbSnapshot_VpcId(k *DbSnapshotObservation, p *DbSnapshotObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

Types

type DbSnapshot

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

	Spec   DbSnapshotSpec   `json:"spec"`
	Status DbSnapshotStatus `json:"status,omitempty"`
}

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

func (*DbSnapshot) DeepCopy

func (in *DbSnapshot) DeepCopy() *DbSnapshot

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

func (*DbSnapshot) DeepCopyInto

func (in *DbSnapshot) DeepCopyInto(out *DbSnapshot)

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

func (*DbSnapshot) DeepCopyObject

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

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

func (*DbSnapshot) GetCondition

GetCondition of this DbSnapshot.

func (*DbSnapshot) GetDeletionPolicy

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

GetDeletionPolicy of this DbSnapshot.

func (*DbSnapshot) GetProviderConfigReference

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

GetProviderConfigReference of this DbSnapshot.

func (*DbSnapshot) GetProviderReference

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

GetProviderReference of this DbSnapshot. Deprecated: Use GetProviderConfigReference.

func (*DbSnapshot) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DbSnapshot.

func (*DbSnapshot) SetConditions

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

SetConditions of this DbSnapshot.

func (*DbSnapshot) SetDeletionPolicy

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

SetDeletionPolicy of this DbSnapshot.

func (*DbSnapshot) SetProviderConfigReference

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

SetProviderConfigReference of this DbSnapshot.

func (*DbSnapshot) SetProviderReference

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

SetProviderReference of this DbSnapshot. Deprecated: Use SetProviderConfigReference.

func (*DbSnapshot) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DbSnapshot.

type DbSnapshotList

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

DbSnapshot contains a list of DbSnapshotList

func (*DbSnapshotList) DeepCopy

func (in *DbSnapshotList) DeepCopy() *DbSnapshotList

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

func (*DbSnapshotList) DeepCopyInto

func (in *DbSnapshotList) DeepCopyInto(out *DbSnapshotList)

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

func (*DbSnapshotList) DeepCopyObject

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

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

func (*DbSnapshotList) GetItems

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

GetItems of this DbSnapshotList.

type DbSnapshotObservation

type DbSnapshotObservation struct {
	LicenseModel               string `json:"license_model"`
	SourceDbSnapshotIdentifier string `json:"source_db_snapshot_identifier"`
	StorageType                string `json:"storage_type"`
	DbSnapshotArn              string `json:"db_snapshot_arn"`
	Encrypted                  bool   `json:"encrypted"`
	Engine                     string `json:"engine"`
	EngineVersion              string `json:"engine_version"`
	OptionGroupName            string `json:"option_group_name"`
	Status                     string `json:"status"`
	AllocatedStorage           int64  `json:"allocated_storage"`
	KmsKeyId                   string `json:"kms_key_id"`
	VpcId                      string `json:"vpc_id"`
	Iops                       int64  `json:"iops"`
	SnapshotType               string `json:"snapshot_type"`
	SourceRegion               string `json:"source_region"`
	AvailabilityZone           string `json:"availability_zone"`
	Port                       int64  `json:"port"`
}

A DbSnapshotObservation records the observed state of a DbSnapshot

func (*DbSnapshotObservation) DeepCopy

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

func (*DbSnapshotObservation) DeepCopyInto

func (in *DbSnapshotObservation) DeepCopyInto(out *DbSnapshotObservation)

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

type DbSnapshotParameters

type DbSnapshotParameters struct {
	DbInstanceIdentifier string            `json:"db_instance_identifier"`
	DbSnapshotIdentifier string            `json:"db_snapshot_identifier"`
	Tags                 map[string]string `json:"tags"`
	Timeouts             Timeouts          `json:"timeouts"`
}

A DbSnapshotParameters defines the desired state of a DbSnapshot

func (*DbSnapshotParameters) DeepCopy

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

func (*DbSnapshotParameters) DeepCopyInto

func (in *DbSnapshotParameters) DeepCopyInto(out *DbSnapshotParameters)

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

type DbSnapshotSpec

type DbSnapshotSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	ForProvider                  DbSnapshotParameters `json:"forProvider"`
}

A DbSnapshotSpec defines the desired state of a DbSnapshot

func (*DbSnapshotSpec) DeepCopy

func (in *DbSnapshotSpec) DeepCopy() *DbSnapshotSpec

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

func (*DbSnapshotSpec) DeepCopyInto

func (in *DbSnapshotSpec) DeepCopyInto(out *DbSnapshotSpec)

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

type DbSnapshotStatus

type DbSnapshotStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	AtProvider                     DbSnapshotObservation `json:"atProvider"`
}

A DbSnapshotStatus defines the observed state of a DbSnapshot

func (*DbSnapshotStatus) DeepCopy

func (in *DbSnapshotStatus) DeepCopy() *DbSnapshotStatus

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

func (*DbSnapshotStatus) DeepCopyInto

func (in *DbSnapshotStatus) DeepCopyInto(out *DbSnapshotStatus)

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

type Timeouts

type Timeouts struct {
	Read string `json:"read"`
}

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