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

Package type metadata.

Variables

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

Functions

func DecodeKmsKey

func DecodeKmsKey(prev *KmsKey, ctyValue cty.Value) (resource.Managed, error)

func DecodeKmsKey_Arn

func DecodeKmsKey_Arn(p *KmsKeyObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeKmsKey_CustomerMasterKeySpec

func DecodeKmsKey_CustomerMasterKeySpec(p *KmsKeyParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeKmsKey_DeletionWindowInDays

func DecodeKmsKey_DeletionWindowInDays(p *KmsKeyParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeKmsKey_Description

func DecodeKmsKey_Description(p *KmsKeyParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeKmsKey_EnableKeyRotation

func DecodeKmsKey_EnableKeyRotation(p *KmsKeyParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeKmsKey_IsEnabled

func DecodeKmsKey_IsEnabled(p *KmsKeyParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeKmsKey_KeyId

func DecodeKmsKey_KeyId(p *KmsKeyObservation, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeKmsKey_KeyUsage

func DecodeKmsKey_KeyUsage(p *KmsKeyParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeKmsKey_Policy

func DecodeKmsKey_Policy(p *KmsKeyParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeKmsKey_Tags

func DecodeKmsKey_Tags(p *KmsKeyParameters, vals map[string]cty.Value)

primitiveMapTypeDecodeTemplate

func EncodeKmsKey

func EncodeKmsKey(r KmsKey) cty.Value

func EncodeKmsKey_Arn

func EncodeKmsKey_Arn(p KmsKeyObservation, vals map[string]cty.Value)

func EncodeKmsKey_CustomerMasterKeySpec

func EncodeKmsKey_CustomerMasterKeySpec(p KmsKeyParameters, vals map[string]cty.Value)

func EncodeKmsKey_DeletionWindowInDays

func EncodeKmsKey_DeletionWindowInDays(p KmsKeyParameters, vals map[string]cty.Value)

func EncodeKmsKey_Description

func EncodeKmsKey_Description(p KmsKeyParameters, vals map[string]cty.Value)

func EncodeKmsKey_EnableKeyRotation

func EncodeKmsKey_EnableKeyRotation(p KmsKeyParameters, vals map[string]cty.Value)

func EncodeKmsKey_IsEnabled

func EncodeKmsKey_IsEnabled(p KmsKeyParameters, vals map[string]cty.Value)

func EncodeKmsKey_KeyId

func EncodeKmsKey_KeyId(p KmsKeyObservation, vals map[string]cty.Value)

func EncodeKmsKey_KeyUsage

func EncodeKmsKey_KeyUsage(p KmsKeyParameters, vals map[string]cty.Value)

func EncodeKmsKey_Policy

func EncodeKmsKey_Policy(p KmsKeyParameters, vals map[string]cty.Value)

func EncodeKmsKey_Tags

func EncodeKmsKey_Tags(p KmsKeyParameters, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeKmsKey_Arn

func MergeKmsKey_Arn(k *KmsKeyObservation, p *KmsKeyObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeKmsKey_CustomerMasterKeySpec

func MergeKmsKey_CustomerMasterKeySpec(k *KmsKeyParameters, p *KmsKeyParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeKmsKey_DeletionWindowInDays

func MergeKmsKey_DeletionWindowInDays(k *KmsKeyParameters, p *KmsKeyParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeKmsKey_Description

func MergeKmsKey_Description(k *KmsKeyParameters, p *KmsKeyParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeKmsKey_EnableKeyRotation

func MergeKmsKey_EnableKeyRotation(k *KmsKeyParameters, p *KmsKeyParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeKmsKey_IsEnabled

func MergeKmsKey_IsEnabled(k *KmsKeyParameters, p *KmsKeyParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeKmsKey_KeyId

func MergeKmsKey_KeyId(k *KmsKeyObservation, p *KmsKeyObservation, md *plugin.MergeDescription) bool

mergePrimitiveTemplateStatus

func MergeKmsKey_KeyUsage

func MergeKmsKey_KeyUsage(k *KmsKeyParameters, p *KmsKeyParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeKmsKey_Policy

func MergeKmsKey_Policy(k *KmsKeyParameters, p *KmsKeyParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeKmsKey_Tags

func MergeKmsKey_Tags(k *KmsKeyParameters, p *KmsKeyParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

Types

type KmsKey

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

	Spec   KmsKeySpec   `json:"spec"`
	Status KmsKeyStatus `json:"status,omitempty"`
}

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

func (*KmsKey) DeepCopy

func (in *KmsKey) DeepCopy() *KmsKey

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

func (*KmsKey) DeepCopyInto

func (in *KmsKey) DeepCopyInto(out *KmsKey)

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

func (*KmsKey) DeepCopyObject

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

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

func (*KmsKey) GetCondition

GetCondition of this KmsKey.

func (*KmsKey) GetDeletionPolicy

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

GetDeletionPolicy of this KmsKey.

func (*KmsKey) GetProviderConfigReference

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

GetProviderConfigReference of this KmsKey.

func (*KmsKey) GetProviderReference

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

GetProviderReference of this KmsKey. Deprecated: Use GetProviderConfigReference.

func (*KmsKey) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this KmsKey.

func (*KmsKey) SetConditions

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

SetConditions of this KmsKey.

func (*KmsKey) SetDeletionPolicy

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

SetDeletionPolicy of this KmsKey.

func (*KmsKey) SetProviderConfigReference

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

SetProviderConfigReference of this KmsKey.

func (*KmsKey) SetProviderReference

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

SetProviderReference of this KmsKey. Deprecated: Use SetProviderConfigReference.

func (*KmsKey) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this KmsKey.

type KmsKeyList

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

KmsKey contains a list of KmsKeyList

func (*KmsKeyList) DeepCopy

func (in *KmsKeyList) DeepCopy() *KmsKeyList

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

func (*KmsKeyList) DeepCopyInto

func (in *KmsKeyList) DeepCopyInto(out *KmsKeyList)

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

func (*KmsKeyList) DeepCopyObject

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

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

func (*KmsKeyList) GetItems

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

GetItems of this KmsKeyList.

type KmsKeyObservation

type KmsKeyObservation struct {
	Arn   string `json:"arn"`
	KeyId string `json:"key_id"`
}

A KmsKeyObservation records the observed state of a KmsKey

func (*KmsKeyObservation) DeepCopy

func (in *KmsKeyObservation) DeepCopy() *KmsKeyObservation

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

func (*KmsKeyObservation) DeepCopyInto

func (in *KmsKeyObservation) DeepCopyInto(out *KmsKeyObservation)

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

type KmsKeyParameters

type KmsKeyParameters struct {
	Tags                  map[string]string `json:"tags"`
	EnableKeyRotation     bool              `json:"enable_key_rotation"`
	IsEnabled             bool              `json:"is_enabled"`
	KeyUsage              string            `json:"key_usage"`
	Policy                string            `json:"policy"`
	CustomerMasterKeySpec string            `json:"customer_master_key_spec"`
	DeletionWindowInDays  int64             `json:"deletion_window_in_days"`
	Description           string            `json:"description"`
}

A KmsKeyParameters defines the desired state of a KmsKey

func (*KmsKeyParameters) DeepCopy

func (in *KmsKeyParameters) DeepCopy() *KmsKeyParameters

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

func (*KmsKeyParameters) DeepCopyInto

func (in *KmsKeyParameters) DeepCopyInto(out *KmsKeyParameters)

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

type KmsKeySpec

type KmsKeySpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	ForProvider                  KmsKeyParameters `json:"forProvider"`
}

A KmsKeySpec defines the desired state of a KmsKey

func (*KmsKeySpec) DeepCopy

func (in *KmsKeySpec) DeepCopy() *KmsKeySpec

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

func (*KmsKeySpec) DeepCopyInto

func (in *KmsKeySpec) DeepCopyInto(out *KmsKeySpec)

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

type KmsKeyStatus

type KmsKeyStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	AtProvider                     KmsKeyObservation `json:"atProvider"`
}

A KmsKeyStatus defines the observed state of a KmsKey

func (*KmsKeyStatus) DeepCopy

func (in *KmsKeyStatus) DeepCopy() *KmsKeyStatus

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

func (*KmsKeyStatus) DeepCopyInto

func (in *KmsKeyStatus) DeepCopyInto(out *KmsKeyStatus)

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