v1beta1

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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 (
	Vault_Kind             = "Vault"
	Vault_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Vault_Kind}.String()
	Vault_KindAPIVersion   = Vault_Kind + "." + CRDGroupVersion.String()
	Vault_GroupVersionKind = CRDGroupVersion.WithKind(Vault_Kind)
)

Repository type metadata.

View Source
var (
	VaultLock_Kind             = "VaultLock"
	VaultLock_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: VaultLock_Kind}.String()
	VaultLock_KindAPIVersion   = VaultLock_Kind + "." + CRDGroupVersion.String()
	VaultLock_GroupVersionKind = CRDGroupVersion.WithKind(VaultLock_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type NotificationInitParameters added in v0.38.0

type NotificationInitParameters struct {

	// You can configure a vault to publish a notification for ArchiveRetrievalCompleted and InventoryRetrievalCompleted events.
	// +listType=set
	Events []*string `json:"events,omitempty" tf:"events,omitempty"`

	// The SNS Topic ARN.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	SnsTopic *string `json:"snsTopic,omitempty" tf:"sns_topic,omitempty"`

	// Reference to a Topic in sns to populate snsTopic.
	// +kubebuilder:validation:Optional
	SnsTopicRef *v1.Reference `json:"snsTopicRef,omitempty" tf:"-"`

	// Selector for a Topic in sns to populate snsTopic.
	// +kubebuilder:validation:Optional
	SnsTopicSelector *v1.Selector `json:"snsTopicSelector,omitempty" tf:"-"`
}

func (*NotificationInitParameters) DeepCopy added in v0.38.0

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

func (*NotificationInitParameters) DeepCopyInto added in v0.38.0

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

type NotificationObservation

type NotificationObservation struct {

	// You can configure a vault to publish a notification for ArchiveRetrievalCompleted and InventoryRetrievalCompleted events.
	// +listType=set
	Events []*string `json:"events,omitempty" tf:"events,omitempty"`

	// The SNS Topic ARN.
	SnsTopic *string `json:"snsTopic,omitempty" tf:"sns_topic,omitempty"`
}

func (*NotificationObservation) DeepCopy

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

func (*NotificationObservation) DeepCopyInto

func (in *NotificationObservation) DeepCopyInto(out *NotificationObservation)

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

type NotificationParameters

type NotificationParameters struct {

	// You can configure a vault to publish a notification for ArchiveRetrievalCompleted and InventoryRetrievalCompleted events.
	// +kubebuilder:validation:Optional
	// +listType=set
	Events []*string `json:"events" tf:"events,omitempty"`

	// The SNS Topic ARN.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	SnsTopic *string `json:"snsTopic,omitempty" tf:"sns_topic,omitempty"`

	// Reference to a Topic in sns to populate snsTopic.
	// +kubebuilder:validation:Optional
	SnsTopicRef *v1.Reference `json:"snsTopicRef,omitempty" tf:"-"`

	// Selector for a Topic in sns to populate snsTopic.
	// +kubebuilder:validation:Optional
	SnsTopicSelector *v1.Selector `json:"snsTopicSelector,omitempty" tf:"-"`
}

func (*NotificationParameters) DeepCopy

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

func (*NotificationParameters) DeepCopyInto

func (in *NotificationParameters) DeepCopyInto(out *NotificationParameters)

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

type Vault

type Vault struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VaultSpec   `json:"spec"`
	Status            VaultStatus `json:"status,omitempty"`
}

Vault is the Schema for the Vaults API. Provides a Glacier Vault. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Vault) ConvertFrom added in v1.7.0

func (tr *Vault) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the hub type to the Vault type.

func (*Vault) ConvertTo added in v1.7.0

func (tr *Vault) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this Vault to the hub type.

func (*Vault) DeepCopy

func (in *Vault) DeepCopy() *Vault

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

func (*Vault) DeepCopyInto

func (in *Vault) DeepCopyInto(out *Vault)

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

func (*Vault) DeepCopyObject

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

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

func (*Vault) GetCondition

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

GetCondition of this Vault.

func (*Vault) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Vault

func (*Vault) GetDeletionPolicy

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

GetDeletionPolicy of this Vault.

func (*Vault) GetID

func (tr *Vault) GetID() string

GetID returns ID of underlying Terraform resource of this Vault

func (*Vault) GetInitParameters added in v0.38.0

func (tr *Vault) GetInitParameters() (map[string]any, error)

GetInitParameters of this Vault

func (*Vault) GetManagementPolicies added in v0.38.0

func (mg *Vault) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Vault.

func (*Vault) GetMergedParameters added in v0.44.0

func (tr *Vault) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Vault

func (*Vault) GetObservation

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

GetObservation of this Vault

func (*Vault) GetParameters

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

GetParameters of this Vault

func (*Vault) GetProviderConfigReference

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

GetProviderConfigReference of this Vault.

func (*Vault) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Vault.

func (*Vault) GetTerraformResourceType

func (mg *Vault) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Vault

func (*Vault) GetTerraformSchemaVersion

func (tr *Vault) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Vault) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Vault.

func (*Vault) LateInitialize

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

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

func (*Vault) ResolveReferences

func (mg *Vault) ResolveReferences(ctx context.Context, c client.Reader) error

func (*Vault) SetConditions

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

SetConditions of this Vault.

func (*Vault) SetDeletionPolicy

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

SetDeletionPolicy of this Vault.

func (*Vault) SetManagementPolicies added in v0.38.0

func (mg *Vault) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Vault.

func (*Vault) SetObservation

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

SetObservation for this Vault

func (*Vault) SetParameters

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

SetParameters for this Vault

func (*Vault) SetProviderConfigReference

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

SetProviderConfigReference of this Vault.

func (*Vault) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Vault.

func (*Vault) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Vault.

type VaultInitParameters added in v0.38.0

type VaultInitParameters struct {

	// The policy document. This is a JSON formatted string.
	// The heredoc syntax or file function is helpful here. Use the Glacier Developer Guide for more information on Glacier Vault Policy
	AccessPolicy *string `json:"accessPolicy,omitempty" tf:"access_policy,omitempty"`

	// The notifications for the Vault. Fields documented below.
	Notification []NotificationInitParameters `json:"notification,omitempty" tf:"notification,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*VaultInitParameters) DeepCopy added in v0.38.0

func (in *VaultInitParameters) DeepCopy() *VaultInitParameters

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

func (*VaultInitParameters) DeepCopyInto added in v0.38.0

func (in *VaultInitParameters) DeepCopyInto(out *VaultInitParameters)

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

type VaultList

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

VaultList contains a list of Vaults

func (*VaultList) DeepCopy

func (in *VaultList) DeepCopy() *VaultList

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

func (*VaultList) DeepCopyInto

func (in *VaultList) DeepCopyInto(out *VaultList)

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

func (*VaultList) DeepCopyObject

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

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

func (*VaultList) GetItems

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

GetItems of this VaultList.

type VaultLock

type VaultLock struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.completeLock) || (has(self.initProvider) && has(self.initProvider.completeLock))",message="spec.forProvider.completeLock is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter"
	Spec   VaultLockSpec   `json:"spec"`
	Status VaultLockStatus `json:"status,omitempty"`
}

VaultLock is the Schema for the VaultLocks API. Manages a Glacier Vault Lock. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*VaultLock) DeepCopy

func (in *VaultLock) DeepCopy() *VaultLock

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

func (*VaultLock) DeepCopyInto

func (in *VaultLock) DeepCopyInto(out *VaultLock)

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

func (*VaultLock) DeepCopyObject

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

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

func (*VaultLock) GetCondition

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

GetCondition of this VaultLock.

func (*VaultLock) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this VaultLock

func (*VaultLock) GetDeletionPolicy

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

GetDeletionPolicy of this VaultLock.

func (*VaultLock) GetID

func (tr *VaultLock) GetID() string

GetID returns ID of underlying Terraform resource of this VaultLock

func (*VaultLock) GetInitParameters added in v0.38.0

func (tr *VaultLock) GetInitParameters() (map[string]any, error)

GetInitParameters of this VaultLock

func (*VaultLock) GetManagementPolicies added in v0.38.0

func (mg *VaultLock) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this VaultLock.

func (*VaultLock) GetMergedParameters added in v0.44.0

func (tr *VaultLock) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this VaultLock

func (*VaultLock) GetObservation

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

GetObservation of this VaultLock

func (*VaultLock) GetParameters

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

GetParameters of this VaultLock

func (*VaultLock) GetProviderConfigReference

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

GetProviderConfigReference of this VaultLock.

func (*VaultLock) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this VaultLock.

func (*VaultLock) GetTerraformResourceType

func (mg *VaultLock) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this VaultLock

func (*VaultLock) GetTerraformSchemaVersion

func (tr *VaultLock) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*VaultLock) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this VaultLock.

func (*VaultLock) Hub added in v0.47.2

func (tr *VaultLock) Hub()

Hub marks this type as a conversion hub.

func (*VaultLock) LateInitialize

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

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

func (*VaultLock) ResolveReferences

func (mg *VaultLock) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this VaultLock.

func (*VaultLock) SetConditions

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

SetConditions of this VaultLock.

func (*VaultLock) SetDeletionPolicy

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

SetDeletionPolicy of this VaultLock.

func (*VaultLock) SetManagementPolicies added in v0.38.0

func (mg *VaultLock) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this VaultLock.

func (*VaultLock) SetObservation

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

SetObservation for this VaultLock

func (*VaultLock) SetParameters

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

SetParameters for this VaultLock

func (*VaultLock) SetProviderConfigReference

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

SetProviderConfigReference of this VaultLock.

func (*VaultLock) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this VaultLock.

func (*VaultLock) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this VaultLock.

type VaultLockInitParameters added in v0.38.0

type VaultLockInitParameters struct {

	// Boolean whether to permanently apply this Glacier Lock Policy. Once completed, this cannot be undone. If set to false, the Glacier Lock Policy remains in a testing mode for 24 hours. Changing this from false to true will show as resource recreation, which is expected. Changing this from true to false is not possible unless the Glacier Vault is recreated at the same time.
	CompleteLock *bool `json:"completeLock,omitempty" tf:"complete_lock,omitempty"`

	// This should only be used in conjunction with complete_lock being set to true.
	IgnoreDeletionError *bool `json:"ignoreDeletionError,omitempty" tf:"ignore_deletion_error,omitempty"`

	// JSON string containing the IAM policy to apply as the Glacier Vault Lock policy.
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

	// The name of the Glacier Vault.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/glacier/v1beta2.Vault
	VaultName *string `json:"vaultName,omitempty" tf:"vault_name,omitempty"`

	// Reference to a Vault in glacier to populate vaultName.
	// +kubebuilder:validation:Optional
	VaultNameRef *v1.Reference `json:"vaultNameRef,omitempty" tf:"-"`

	// Selector for a Vault in glacier to populate vaultName.
	// +kubebuilder:validation:Optional
	VaultNameSelector *v1.Selector `json:"vaultNameSelector,omitempty" tf:"-"`
}

func (*VaultLockInitParameters) DeepCopy added in v0.38.0

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

func (*VaultLockInitParameters) DeepCopyInto added in v0.38.0

func (in *VaultLockInitParameters) DeepCopyInto(out *VaultLockInitParameters)

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

type VaultLockList

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

VaultLockList contains a list of VaultLocks

func (*VaultLockList) DeepCopy

func (in *VaultLockList) DeepCopy() *VaultLockList

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

func (*VaultLockList) DeepCopyInto

func (in *VaultLockList) DeepCopyInto(out *VaultLockList)

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

func (*VaultLockList) DeepCopyObject

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

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

func (*VaultLockList) GetItems

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

GetItems of this VaultLockList.

type VaultLockObservation

type VaultLockObservation struct {

	// Boolean whether to permanently apply this Glacier Lock Policy. Once completed, this cannot be undone. If set to false, the Glacier Lock Policy remains in a testing mode for 24 hours. Changing this from false to true will show as resource recreation, which is expected. Changing this from true to false is not possible unless the Glacier Vault is recreated at the same time.
	CompleteLock *bool `json:"completeLock,omitempty" tf:"complete_lock,omitempty"`

	// Glacier Vault name.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// This should only be used in conjunction with complete_lock being set to true.
	IgnoreDeletionError *bool `json:"ignoreDeletionError,omitempty" tf:"ignore_deletion_error,omitempty"`

	// JSON string containing the IAM policy to apply as the Glacier Vault Lock policy.
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

	// The name of the Glacier Vault.
	VaultName *string `json:"vaultName,omitempty" tf:"vault_name,omitempty"`
}

func (*VaultLockObservation) DeepCopy

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

func (*VaultLockObservation) DeepCopyInto

func (in *VaultLockObservation) DeepCopyInto(out *VaultLockObservation)

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

type VaultLockParameters

type VaultLockParameters struct {

	// Boolean whether to permanently apply this Glacier Lock Policy. Once completed, this cannot be undone. If set to false, the Glacier Lock Policy remains in a testing mode for 24 hours. Changing this from false to true will show as resource recreation, which is expected. Changing this from true to false is not possible unless the Glacier Vault is recreated at the same time.
	// +kubebuilder:validation:Optional
	CompleteLock *bool `json:"completeLock,omitempty" tf:"complete_lock,omitempty"`

	// This should only be used in conjunction with complete_lock being set to true.
	// +kubebuilder:validation:Optional
	IgnoreDeletionError *bool `json:"ignoreDeletionError,omitempty" tf:"ignore_deletion_error,omitempty"`

	// JSON string containing the IAM policy to apply as the Glacier Vault Lock policy.
	// +kubebuilder:validation:Optional
	Policy *string `json:"policy,omitempty" tf:"policy,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:"-"`

	// The name of the Glacier Vault.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/glacier/v1beta2.Vault
	// +kubebuilder:validation:Optional
	VaultName *string `json:"vaultName,omitempty" tf:"vault_name,omitempty"`

	// Reference to a Vault in glacier to populate vaultName.
	// +kubebuilder:validation:Optional
	VaultNameRef *v1.Reference `json:"vaultNameRef,omitempty" tf:"-"`

	// Selector for a Vault in glacier to populate vaultName.
	// +kubebuilder:validation:Optional
	VaultNameSelector *v1.Selector `json:"vaultNameSelector,omitempty" tf:"-"`
}

func (*VaultLockParameters) DeepCopy

func (in *VaultLockParameters) DeepCopy() *VaultLockParameters

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

func (*VaultLockParameters) DeepCopyInto

func (in *VaultLockParameters) DeepCopyInto(out *VaultLockParameters)

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

type VaultLockSpec

type VaultLockSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     VaultLockParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider VaultLockInitParameters `json:"initProvider,omitempty"`
}

VaultLockSpec defines the desired state of VaultLock

func (*VaultLockSpec) DeepCopy

func (in *VaultLockSpec) DeepCopy() *VaultLockSpec

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

func (*VaultLockSpec) DeepCopyInto

func (in *VaultLockSpec) DeepCopyInto(out *VaultLockSpec)

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

type VaultLockStatus

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

VaultLockStatus defines the observed state of VaultLock.

func (*VaultLockStatus) DeepCopy

func (in *VaultLockStatus) DeepCopy() *VaultLockStatus

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

func (*VaultLockStatus) DeepCopyInto

func (in *VaultLockStatus) DeepCopyInto(out *VaultLockStatus)

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

type VaultObservation

type VaultObservation struct {

	// The policy document. This is a JSON formatted string.
	// The heredoc syntax or file function is helpful here. Use the Glacier Developer Guide for more information on Glacier Vault Policy
	AccessPolicy *string `json:"accessPolicy,omitempty" tf:"access_policy,omitempty"`

	// The ARN of the vault.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The URI of the vault that was created.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// The notifications for the Vault. Fields documented below.
	Notification []NotificationObservation `json:"notification,omitempty" tf:"notification,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

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

func (*VaultObservation) DeepCopy

func (in *VaultObservation) DeepCopy() *VaultObservation

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

func (*VaultObservation) DeepCopyInto

func (in *VaultObservation) DeepCopyInto(out *VaultObservation)

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

type VaultParameters

type VaultParameters struct {

	// The policy document. This is a JSON formatted string.
	// The heredoc syntax or file function is helpful here. Use the Glacier Developer Guide for more information on Glacier Vault Policy
	// +kubebuilder:validation:Optional
	AccessPolicy *string `json:"accessPolicy,omitempty" tf:"access_policy,omitempty"`

	// The notifications for the Vault. Fields documented below.
	// +kubebuilder:validation:Optional
	Notification []NotificationParameters `json:"notification,omitempty" tf:"notification,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:"-"`

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

func (*VaultParameters) DeepCopy

func (in *VaultParameters) DeepCopy() *VaultParameters

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

func (*VaultParameters) DeepCopyInto

func (in *VaultParameters) DeepCopyInto(out *VaultParameters)

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

type VaultSpec

type VaultSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     VaultParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider VaultInitParameters `json:"initProvider,omitempty"`
}

VaultSpec defines the desired state of Vault

func (*VaultSpec) DeepCopy

func (in *VaultSpec) DeepCopy() *VaultSpec

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

func (*VaultSpec) DeepCopyInto

func (in *VaultSpec) DeepCopyInto(out *VaultSpec)

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

type VaultStatus

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

VaultStatus defines the observed state of Vault.

func (*VaultStatus) DeepCopy

func (in *VaultStatus) DeepCopy() *VaultStatus

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

func (*VaultStatus) DeepCopyInto

func (in *VaultStatus) DeepCopyInto(out *VaultStatus)

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