v1beta2

package
v1.18.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=dlm.aws.upbound.io +versionName=v1beta2

Index

Constants

View Source
const (
	CRDGroup   = "dlm.aws.upbound.io"
	CRDVersion = "v1beta2"
)

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 (
	LifecyclePolicy_Kind             = "LifecyclePolicy"
	LifecyclePolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LifecyclePolicy_Kind}.String()
	LifecyclePolicy_KindAPIVersion   = LifecyclePolicy_Kind + "." + CRDGroupVersion.String()
	LifecyclePolicy_GroupVersionKind = CRDGroupVersion.WithKind(LifecyclePolicy_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ActionInitParameters

type ActionInitParameters struct {

	// The rule for copying shared snapshots across Regions. See the cross_region_copy configuration block.
	CrossRegionCopy []CrossRegionCopyInitParameters `json:"crossRegionCopy,omitempty" tf:"cross_region_copy,omitempty"`

	// A descriptive name for the action.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ActionInitParameters) DeepCopy

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

func (*ActionInitParameters) DeepCopyInto

func (in *ActionInitParameters) DeepCopyInto(out *ActionInitParameters)

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

type ActionObservation

type ActionObservation struct {

	// The rule for copying shared snapshots across Regions. See the cross_region_copy configuration block.
	CrossRegionCopy []CrossRegionCopyObservation `json:"crossRegionCopy,omitempty" tf:"cross_region_copy,omitempty"`

	// A descriptive name for the action.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ActionObservation) DeepCopy

func (in *ActionObservation) DeepCopy() *ActionObservation

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

func (*ActionObservation) DeepCopyInto

func (in *ActionObservation) DeepCopyInto(out *ActionObservation)

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

type ActionParameters

type ActionParameters struct {

	// The rule for copying shared snapshots across Regions. See the cross_region_copy configuration block.
	// +kubebuilder:validation:Optional
	CrossRegionCopy []CrossRegionCopyParameters `json:"crossRegionCopy" tf:"cross_region_copy,omitempty"`

	// A descriptive name for the action.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*ActionParameters) DeepCopy

func (in *ActionParameters) DeepCopy() *ActionParameters

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

func (*ActionParameters) DeepCopyInto

func (in *ActionParameters) DeepCopyInto(out *ActionParameters)

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

type CreateRuleInitParameters

type CreateRuleInitParameters struct {

	// The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1 year. Conflicts with interval, interval_unit, and times.
	CronExpression *string `json:"cronExpression,omitempty" tf:"cron_expression,omitempty"`

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"`

	// Specifies the destination for snapshots created by the policy. To create snapshots in the same Region as the source resource, specify CLOUD. To create snapshots on the same Outpost as the source resource, specify OUTPOST_LOCAL. If you omit this parameter, CLOUD is used by default. If the policy targets resources in an AWS Region, then you must create snapshots in the same Region as the source resource. If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost as the source resource, or in the Region of that Outpost. Valid values are CLOUD and OUTPOST_LOCAL.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A list of times in 24 hour clock format that sets when the lifecycle policy should be evaluated. Max of 1. Conflicts with cron_expression. Must be set if interval is set.
	Times []*string `json:"times,omitempty" tf:"times,omitempty"`
}

func (*CreateRuleInitParameters) DeepCopy

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

func (*CreateRuleInitParameters) DeepCopyInto

func (in *CreateRuleInitParameters) DeepCopyInto(out *CreateRuleInitParameters)

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

type CreateRuleObservation

type CreateRuleObservation struct {

	// The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1 year. Conflicts with interval, interval_unit, and times.
	CronExpression *string `json:"cronExpression,omitempty" tf:"cron_expression,omitempty"`

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"`

	// Specifies the destination for snapshots created by the policy. To create snapshots in the same Region as the source resource, specify CLOUD. To create snapshots on the same Outpost as the source resource, specify OUTPOST_LOCAL. If you omit this parameter, CLOUD is used by default. If the policy targets resources in an AWS Region, then you must create snapshots in the same Region as the source resource. If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost as the source resource, or in the Region of that Outpost. Valid values are CLOUD and OUTPOST_LOCAL.
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A list of times in 24 hour clock format that sets when the lifecycle policy should be evaluated. Max of 1. Conflicts with cron_expression. Must be set if interval is set.
	Times []*string `json:"times,omitempty" tf:"times,omitempty"`
}

func (*CreateRuleObservation) DeepCopy

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

func (*CreateRuleObservation) DeepCopyInto

func (in *CreateRuleObservation) DeepCopyInto(out *CreateRuleObservation)

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

type CreateRuleParameters

type CreateRuleParameters struct {

	// The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1 year. Conflicts with interval, interval_unit, and times.
	// +kubebuilder:validation:Optional
	CronExpression *string `json:"cronExpression,omitempty" tf:"cron_expression,omitempty"`

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	// +kubebuilder:validation:Optional
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	// +kubebuilder:validation:Optional
	IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"`

	// Specifies the destination for snapshots created by the policy. To create snapshots in the same Region as the source resource, specify CLOUD. To create snapshots on the same Outpost as the source resource, specify OUTPOST_LOCAL. If you omit this parameter, CLOUD is used by default. If the policy targets resources in an AWS Region, then you must create snapshots in the same Region as the source resource. If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost as the source resource, or in the Region of that Outpost. Valid values are CLOUD and OUTPOST_LOCAL.
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// A list of times in 24 hour clock format that sets when the lifecycle policy should be evaluated. Max of 1. Conflicts with cron_expression. Must be set if interval is set.
	// +kubebuilder:validation:Optional
	Times []*string `json:"times,omitempty" tf:"times,omitempty"`
}

func (*CreateRuleParameters) DeepCopy

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

func (*CreateRuleParameters) DeepCopyInto

func (in *CreateRuleParameters) DeepCopyInto(out *CreateRuleParameters)

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

type CrossRegionCopyInitParameters

type CrossRegionCopyInitParameters struct {

	// The encryption settings for the copied snapshot. See the encryption_configuration block. Max of 1 per action.
	EncryptionConfiguration *EncryptionConfigurationInitParameters `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration,omitempty"`

	// Specifies the retention rule for cross-Region snapshot copies. See the retain_rule block. Max of 1 per action.
	RetainRule *RetainRuleInitParameters `json:"retainRule,omitempty" tf:"retain_rule,omitempty"`

	// The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
	Target *string `json:"target,omitempty" tf:"target,omitempty"`
}

func (*CrossRegionCopyInitParameters) DeepCopy

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

func (*CrossRegionCopyInitParameters) DeepCopyInto

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

type CrossRegionCopyObservation

type CrossRegionCopyObservation struct {

	// The encryption settings for the copied snapshot. See the encryption_configuration block. Max of 1 per action.
	EncryptionConfiguration *EncryptionConfigurationObservation `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration,omitempty"`

	// Specifies the retention rule for cross-Region snapshot copies. See the retain_rule block. Max of 1 per action.
	RetainRule *RetainRuleObservation `json:"retainRule,omitempty" tf:"retain_rule,omitempty"`

	// The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
	Target *string `json:"target,omitempty" tf:"target,omitempty"`
}

func (*CrossRegionCopyObservation) DeepCopy

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

func (*CrossRegionCopyObservation) DeepCopyInto

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

type CrossRegionCopyParameters

type CrossRegionCopyParameters struct {

	// The encryption settings for the copied snapshot. See the encryption_configuration block. Max of 1 per action.
	// +kubebuilder:validation:Optional
	EncryptionConfiguration *EncryptionConfigurationParameters `json:"encryptionConfiguration" tf:"encryption_configuration,omitempty"`

	// Specifies the retention rule for cross-Region snapshot copies. See the retain_rule block. Max of 1 per action.
	// +kubebuilder:validation:Optional
	RetainRule *RetainRuleParameters `json:"retainRule,omitempty" tf:"retain_rule,omitempty"`

	// The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
	// +kubebuilder:validation:Optional
	Target *string `json:"target" tf:"target,omitempty"`
}

func (*CrossRegionCopyParameters) DeepCopy

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

func (*CrossRegionCopyParameters) DeepCopyInto

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

type CrossRegionCopyRuleInitParameters

type CrossRegionCopyRuleInitParameters struct {

	// The Amazon Resource Name (ARN) of the AWS KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	CmkArn *string `json:"cmkArn,omitempty" tf:"cmk_arn,omitempty"`

	// Reference to a Key in kms to populate cmkArn.
	// +kubebuilder:validation:Optional
	CmkArnRef *v1.Reference `json:"cmkArnRef,omitempty" tf:"-"`

	// Selector for a Key in kms to populate cmkArn.
	// +kubebuilder:validation:Optional
	CmkArnSelector *v1.Selector `json:"cmkArnSelector,omitempty" tf:"-"`

	// Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.
	CopyTags *bool `json:"copyTags,omitempty" tf:"copy_tags,omitempty"`

	// See the deprecate_rule block. Max of 1 per schedule.
	DeprecateRule *DeprecateRuleInitParameters `json:"deprecateRule,omitempty" tf:"deprecate_rule,omitempty"`

	// To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.
	Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`

	// Specifies the retention rule for cross-Region snapshot copies. See the retain_rule block. Max of 1 per action.
	RetainRule *CrossRegionCopyRuleRetainRuleInitParameters `json:"retainRule,omitempty" tf:"retain_rule,omitempty"`

	// The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
	Target *string `json:"target,omitempty" tf:"target,omitempty"`
}

func (*CrossRegionCopyRuleInitParameters) DeepCopy

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

func (*CrossRegionCopyRuleInitParameters) DeepCopyInto

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

type CrossRegionCopyRuleObservation

type CrossRegionCopyRuleObservation struct {

	// The Amazon Resource Name (ARN) of the AWS KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.
	CmkArn *string `json:"cmkArn,omitempty" tf:"cmk_arn,omitempty"`

	// Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.
	CopyTags *bool `json:"copyTags,omitempty" tf:"copy_tags,omitempty"`

	// See the deprecate_rule block. Max of 1 per schedule.
	DeprecateRule *DeprecateRuleObservation `json:"deprecateRule,omitempty" tf:"deprecate_rule,omitempty"`

	// To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.
	Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`

	// Specifies the retention rule for cross-Region snapshot copies. See the retain_rule block. Max of 1 per action.
	RetainRule *CrossRegionCopyRuleRetainRuleObservation `json:"retainRule,omitempty" tf:"retain_rule,omitempty"`

	// The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
	Target *string `json:"target,omitempty" tf:"target,omitempty"`
}

func (*CrossRegionCopyRuleObservation) DeepCopy

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

func (*CrossRegionCopyRuleObservation) DeepCopyInto

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

type CrossRegionCopyRuleParameters

type CrossRegionCopyRuleParameters struct {

	// The Amazon Resource Name (ARN) of the AWS KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	CmkArn *string `json:"cmkArn,omitempty" tf:"cmk_arn,omitempty"`

	// Reference to a Key in kms to populate cmkArn.
	// +kubebuilder:validation:Optional
	CmkArnRef *v1.Reference `json:"cmkArnRef,omitempty" tf:"-"`

	// Selector for a Key in kms to populate cmkArn.
	// +kubebuilder:validation:Optional
	CmkArnSelector *v1.Selector `json:"cmkArnSelector,omitempty" tf:"-"`

	// Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.
	// +kubebuilder:validation:Optional
	CopyTags *bool `json:"copyTags,omitempty" tf:"copy_tags,omitempty"`

	// See the deprecate_rule block. Max of 1 per schedule.
	// +kubebuilder:validation:Optional
	DeprecateRule *DeprecateRuleParameters `json:"deprecateRule,omitempty" tf:"deprecate_rule,omitempty"`

	// To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.
	// +kubebuilder:validation:Optional
	Encrypted *bool `json:"encrypted" tf:"encrypted,omitempty"`

	// Specifies the retention rule for cross-Region snapshot copies. See the retain_rule block. Max of 1 per action.
	// +kubebuilder:validation:Optional
	RetainRule *CrossRegionCopyRuleRetainRuleParameters `json:"retainRule,omitempty" tf:"retain_rule,omitempty"`

	// The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
	// +kubebuilder:validation:Optional
	Target *string `json:"target" tf:"target,omitempty"`
}

func (*CrossRegionCopyRuleParameters) DeepCopy

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

func (*CrossRegionCopyRuleParameters) DeepCopyInto

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

type CrossRegionCopyRuleRetainRuleInitParameters

type CrossRegionCopyRuleRetainRuleInitParameters struct {

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"`
}

func (*CrossRegionCopyRuleRetainRuleInitParameters) DeepCopy

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

func (*CrossRegionCopyRuleRetainRuleInitParameters) DeepCopyInto

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

type CrossRegionCopyRuleRetainRuleObservation

type CrossRegionCopyRuleRetainRuleObservation struct {

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"`
}

func (*CrossRegionCopyRuleRetainRuleObservation) DeepCopy

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

func (*CrossRegionCopyRuleRetainRuleObservation) DeepCopyInto

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

type CrossRegionCopyRuleRetainRuleParameters

type CrossRegionCopyRuleRetainRuleParameters struct {

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	// +kubebuilder:validation:Optional
	Interval *float64 `json:"interval" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	// +kubebuilder:validation:Optional
	IntervalUnit *string `json:"intervalUnit" tf:"interval_unit,omitempty"`
}

func (*CrossRegionCopyRuleRetainRuleParameters) DeepCopy

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

func (*CrossRegionCopyRuleRetainRuleParameters) DeepCopyInto

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

type DeprecateRuleInitParameters

type DeprecateRuleInitParameters struct {

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"`
}

func (*DeprecateRuleInitParameters) DeepCopy

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

func (*DeprecateRuleInitParameters) DeepCopyInto

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

type DeprecateRuleObservation

type DeprecateRuleObservation struct {

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"`
}

func (*DeprecateRuleObservation) DeepCopy

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

func (*DeprecateRuleObservation) DeepCopyInto

func (in *DeprecateRuleObservation) DeepCopyInto(out *DeprecateRuleObservation)

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

type DeprecateRuleParameters

type DeprecateRuleParameters struct {

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	// +kubebuilder:validation:Optional
	Interval *float64 `json:"interval" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	// +kubebuilder:validation:Optional
	IntervalUnit *string `json:"intervalUnit" tf:"interval_unit,omitempty"`
}

func (*DeprecateRuleParameters) DeepCopy

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

func (*DeprecateRuleParameters) DeepCopyInto

func (in *DeprecateRuleParameters) DeepCopyInto(out *DeprecateRuleParameters)

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

type EncryptionConfigurationInitParameters

type EncryptionConfigurationInitParameters struct {

	// The Amazon Resource Name (ARN) of the AWS KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.
	CmkArn *string `json:"cmkArn,omitempty" tf:"cmk_arn,omitempty"`

	// To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.
	Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
}

func (*EncryptionConfigurationInitParameters) DeepCopy

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

func (*EncryptionConfigurationInitParameters) DeepCopyInto

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

type EncryptionConfigurationObservation

type EncryptionConfigurationObservation struct {

	// The Amazon Resource Name (ARN) of the AWS KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.
	CmkArn *string `json:"cmkArn,omitempty" tf:"cmk_arn,omitempty"`

	// To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.
	Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
}

func (*EncryptionConfigurationObservation) DeepCopy

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

func (*EncryptionConfigurationObservation) DeepCopyInto

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

type EncryptionConfigurationParameters

type EncryptionConfigurationParameters struct {

	// The Amazon Resource Name (ARN) of the AWS KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.
	// +kubebuilder:validation:Optional
	CmkArn *string `json:"cmkArn,omitempty" tf:"cmk_arn,omitempty"`

	// To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.
	// +kubebuilder:validation:Optional
	Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`
}

func (*EncryptionConfigurationParameters) DeepCopy

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

func (*EncryptionConfigurationParameters) DeepCopyInto

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

type EventSourceInitParameters

type EventSourceInitParameters struct {

	// A set of optional parameters for snapshot and AMI lifecycle policies. See the parameters configuration block.
	Parameters *ParametersInitParameters `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The source of the event. Currently only managed CloudWatch Events rules are supported. Valid values are MANAGED_CWE.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*EventSourceInitParameters) DeepCopy

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

func (*EventSourceInitParameters) DeepCopyInto

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

type EventSourceObservation

type EventSourceObservation struct {

	// A set of optional parameters for snapshot and AMI lifecycle policies. See the parameters configuration block.
	Parameters *ParametersObservation `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The source of the event. Currently only managed CloudWatch Events rules are supported. Valid values are MANAGED_CWE.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*EventSourceObservation) DeepCopy

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

func (*EventSourceObservation) DeepCopyInto

func (in *EventSourceObservation) DeepCopyInto(out *EventSourceObservation)

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

type EventSourceParameters

type EventSourceParameters struct {

	// A set of optional parameters for snapshot and AMI lifecycle policies. See the parameters configuration block.
	// +kubebuilder:validation:Optional
	Parameters *ParametersParameters `json:"parameters" tf:"parameters,omitempty"`

	// The source of the event. Currently only managed CloudWatch Events rules are supported. Valid values are MANAGED_CWE.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*EventSourceParameters) DeepCopy

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

func (*EventSourceParameters) DeepCopyInto

func (in *EventSourceParameters) DeepCopyInto(out *EventSourceParameters)

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

type FastRestoreRuleInitParameters

type FastRestoreRuleInitParameters struct {

	// The Availability Zones in which to enable fast snapshot restore.
	// +listType=set
	AvailabilityZones []*string `json:"availabilityZones,omitempty" tf:"availability_zones,omitempty"`

	// Specifies the number of oldest AMIs to deprecate. Must be an integer between 1 and 1000. Conflicts with interval and interval_unit.
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"`
}

func (*FastRestoreRuleInitParameters) DeepCopy

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

func (*FastRestoreRuleInitParameters) DeepCopyInto

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

type FastRestoreRuleObservation

type FastRestoreRuleObservation struct {

	// The Availability Zones in which to enable fast snapshot restore.
	// +listType=set
	AvailabilityZones []*string `json:"availabilityZones,omitempty" tf:"availability_zones,omitempty"`

	// Specifies the number of oldest AMIs to deprecate. Must be an integer between 1 and 1000. Conflicts with interval and interval_unit.
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"`
}

func (*FastRestoreRuleObservation) DeepCopy

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

func (*FastRestoreRuleObservation) DeepCopyInto

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

type FastRestoreRuleParameters

type FastRestoreRuleParameters struct {

	// The Availability Zones in which to enable fast snapshot restore.
	// +kubebuilder:validation:Optional
	// +listType=set
	AvailabilityZones []*string `json:"availabilityZones" tf:"availability_zones,omitempty"`

	// Specifies the number of oldest AMIs to deprecate. Must be an integer between 1 and 1000. Conflicts with interval and interval_unit.
	// +kubebuilder:validation:Optional
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	// +kubebuilder:validation:Optional
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	// +kubebuilder:validation:Optional
	IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"`
}

func (*FastRestoreRuleParameters) DeepCopy

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

func (*FastRestoreRuleParameters) DeepCopyInto

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

type LifecyclePolicy

type LifecyclePolicy 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.description) || (has(self.initProvider) && has(self.initProvider.description))",message="spec.forProvider.description is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policyDetails) || (has(self.initProvider) && has(self.initProvider.policyDetails))",message="spec.forProvider.policyDetails is a required parameter"
	Spec   LifecyclePolicySpec   `json:"spec"`
	Status LifecyclePolicyStatus `json:"status,omitempty"`
}

LifecyclePolicy is the Schema for the LifecyclePolicys API. Provides a Data Lifecycle Manager (DLM) lifecycle policy for managing snapshots. +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 (*LifecyclePolicy) DeepCopy

func (in *LifecyclePolicy) DeepCopy() *LifecyclePolicy

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

func (*LifecyclePolicy) DeepCopyInto

func (in *LifecyclePolicy) DeepCopyInto(out *LifecyclePolicy)

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

func (*LifecyclePolicy) DeepCopyObject

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

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

func (*LifecyclePolicy) GetCondition

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

GetCondition of this LifecyclePolicy.

func (*LifecyclePolicy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this LifecyclePolicy

func (*LifecyclePolicy) GetDeletionPolicy

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

GetDeletionPolicy of this LifecyclePolicy.

func (*LifecyclePolicy) GetID

func (tr *LifecyclePolicy) GetID() string

GetID returns ID of underlying Terraform resource of this LifecyclePolicy

func (*LifecyclePolicy) GetInitParameters

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

GetInitParameters of this LifecyclePolicy

func (*LifecyclePolicy) GetManagementPolicies

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

GetManagementPolicies of this LifecyclePolicy.

func (*LifecyclePolicy) GetMergedParameters

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

GetInitParameters of this LifecyclePolicy

func (*LifecyclePolicy) GetObservation

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

GetObservation of this LifecyclePolicy

func (*LifecyclePolicy) GetParameters

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

GetParameters of this LifecyclePolicy

func (*LifecyclePolicy) GetProviderConfigReference

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

GetProviderConfigReference of this LifecyclePolicy.

func (*LifecyclePolicy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this LifecyclePolicy.

func (*LifecyclePolicy) GetTerraformResourceType

func (mg *LifecyclePolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LifecyclePolicy

func (*LifecyclePolicy) GetTerraformSchemaVersion

func (tr *LifecyclePolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LifecyclePolicy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LifecyclePolicy.

func (*LifecyclePolicy) Hub

func (tr *LifecyclePolicy) Hub()

Hub marks this type as a conversion hub.

func (*LifecyclePolicy) LateInitialize

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

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

func (*LifecyclePolicy) ResolveReferences

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

func (*LifecyclePolicy) SetConditions

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

SetConditions of this LifecyclePolicy.

func (*LifecyclePolicy) SetDeletionPolicy

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

SetDeletionPolicy of this LifecyclePolicy.

func (*LifecyclePolicy) SetManagementPolicies

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

SetManagementPolicies of this LifecyclePolicy.

func (*LifecyclePolicy) SetObservation

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

SetObservation for this LifecyclePolicy

func (*LifecyclePolicy) SetParameters

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

SetParameters for this LifecyclePolicy

func (*LifecyclePolicy) SetProviderConfigReference

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

SetProviderConfigReference of this LifecyclePolicy.

func (*LifecyclePolicy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this LifecyclePolicy.

func (*LifecyclePolicy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LifecyclePolicy.

type LifecyclePolicyInitParameters

type LifecyclePolicyInitParameters struct {

	// A description for the DLM lifecycle policy.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ARN of an IAM role that is able to be assumed by the DLM service.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	ExecutionRoleArn *string `json:"executionRoleArn,omitempty" tf:"execution_role_arn,omitempty"`

	// Reference to a Role in iam to populate executionRoleArn.
	// +kubebuilder:validation:Optional
	ExecutionRoleArnRef *v1.Reference `json:"executionRoleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate executionRoleArn.
	// +kubebuilder:validation:Optional
	ExecutionRoleArnSelector *v1.Selector `json:"executionRoleArnSelector,omitempty" tf:"-"`

	// See the policy_details configuration block. Max of 1.
	PolicyDetails *PolicyDetailsInitParameters `json:"policyDetails,omitempty" tf:"policy_details,omitempty"`

	// Whether the lifecycle policy should be enabled or disabled. ENABLED or DISABLED are valid values. Defaults to ENABLED.
	State *string `json:"state,omitempty" tf:"state,omitempty"`

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

func (*LifecyclePolicyInitParameters) DeepCopy

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

func (*LifecyclePolicyInitParameters) DeepCopyInto

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

type LifecyclePolicyList

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

LifecyclePolicyList contains a list of LifecyclePolicys

func (*LifecyclePolicyList) DeepCopy

func (in *LifecyclePolicyList) DeepCopy() *LifecyclePolicyList

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

func (*LifecyclePolicyList) DeepCopyInto

func (in *LifecyclePolicyList) DeepCopyInto(out *LifecyclePolicyList)

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

func (*LifecyclePolicyList) DeepCopyObject

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

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

func (*LifecyclePolicyList) GetItems

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

GetItems of this LifecyclePolicyList.

type LifecyclePolicyObservation

type LifecyclePolicyObservation struct {

	// Amazon Resource Name (ARN) of the DLM Lifecycle Policy.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// A description for the DLM lifecycle policy.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ARN of an IAM role that is able to be assumed by the DLM service.
	ExecutionRoleArn *string `json:"executionRoleArn,omitempty" tf:"execution_role_arn,omitempty"`

	// Identifier of the DLM Lifecycle Policy.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// See the policy_details configuration block. Max of 1.
	PolicyDetails *PolicyDetailsObservation `json:"policyDetails,omitempty" tf:"policy_details,omitempty"`

	// Whether the lifecycle policy should be enabled or disabled. ENABLED or DISABLED are valid values. Defaults to ENABLED.
	State *string `json:"state,omitempty" tf:"state,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 (*LifecyclePolicyObservation) DeepCopy

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

func (*LifecyclePolicyObservation) DeepCopyInto

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

type LifecyclePolicyParameters

type LifecyclePolicyParameters struct {

	// A description for the DLM lifecycle policy.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ARN of an IAM role that is able to be assumed by the DLM service.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	ExecutionRoleArn *string `json:"executionRoleArn,omitempty" tf:"execution_role_arn,omitempty"`

	// Reference to a Role in iam to populate executionRoleArn.
	// +kubebuilder:validation:Optional
	ExecutionRoleArnRef *v1.Reference `json:"executionRoleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate executionRoleArn.
	// +kubebuilder:validation:Optional
	ExecutionRoleArnSelector *v1.Selector `json:"executionRoleArnSelector,omitempty" tf:"-"`

	// See the policy_details configuration block. Max of 1.
	// +kubebuilder:validation:Optional
	PolicyDetails *PolicyDetailsParameters `json:"policyDetails,omitempty" tf:"policy_details,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:"-"`

	// Whether the lifecycle policy should be enabled or disabled. ENABLED or DISABLED are valid values. Defaults to ENABLED.
	// +kubebuilder:validation:Optional
	State *string `json:"state,omitempty" tf:"state,omitempty"`

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

func (*LifecyclePolicyParameters) DeepCopy

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

func (*LifecyclePolicyParameters) DeepCopyInto

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

type LifecyclePolicySpec

type LifecyclePolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LifecyclePolicyParameters `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 LifecyclePolicyInitParameters `json:"initProvider,omitempty"`
}

LifecyclePolicySpec defines the desired state of LifecyclePolicy

func (*LifecyclePolicySpec) DeepCopy

func (in *LifecyclePolicySpec) DeepCopy() *LifecyclePolicySpec

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

func (*LifecyclePolicySpec) DeepCopyInto

func (in *LifecyclePolicySpec) DeepCopyInto(out *LifecyclePolicySpec)

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

type LifecyclePolicyStatus

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

LifecyclePolicyStatus defines the observed state of LifecyclePolicy.

func (*LifecyclePolicyStatus) DeepCopy

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

func (*LifecyclePolicyStatus) DeepCopyInto

func (in *LifecyclePolicyStatus) DeepCopyInto(out *LifecyclePolicyStatus)

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

type ParametersInitParameters

type ParametersInitParameters struct {

	// The snapshot description that can trigger the policy. The description pattern is specified using a regular expression. The policy runs only if a snapshot with a description that matches the specified pattern is shared with your account.
	DescriptionRegex *string `json:"descriptionRegex,omitempty" tf:"description_regex,omitempty"`

	// The type of event. Currently, only shareSnapshot events are supported.
	EventType *string `json:"eventType,omitempty" tf:"event_type,omitempty"`

	// The IDs of the AWS accounts that can trigger policy by sharing snapshots with your account. The policy only runs if one of the specified AWS accounts shares a snapshot with your account.
	// +listType=set
	SnapshotOwner []*string `json:"snapshotOwner,omitempty" tf:"snapshot_owner,omitempty"`
}

func (*ParametersInitParameters) DeepCopy

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

func (*ParametersInitParameters) DeepCopyInto

func (in *ParametersInitParameters) DeepCopyInto(out *ParametersInitParameters)

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

type ParametersObservation

type ParametersObservation struct {

	// The snapshot description that can trigger the policy. The description pattern is specified using a regular expression. The policy runs only if a snapshot with a description that matches the specified pattern is shared with your account.
	DescriptionRegex *string `json:"descriptionRegex,omitempty" tf:"description_regex,omitempty"`

	// The type of event. Currently, only shareSnapshot events are supported.
	EventType *string `json:"eventType,omitempty" tf:"event_type,omitempty"`

	// The IDs of the AWS accounts that can trigger policy by sharing snapshots with your account. The policy only runs if one of the specified AWS accounts shares a snapshot with your account.
	// +listType=set
	SnapshotOwner []*string `json:"snapshotOwner,omitempty" tf:"snapshot_owner,omitempty"`
}

func (*ParametersObservation) DeepCopy

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

func (*ParametersObservation) DeepCopyInto

func (in *ParametersObservation) DeepCopyInto(out *ParametersObservation)

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

type ParametersParameters

type ParametersParameters struct {

	// The snapshot description that can trigger the policy. The description pattern is specified using a regular expression. The policy runs only if a snapshot with a description that matches the specified pattern is shared with your account.
	// +kubebuilder:validation:Optional
	DescriptionRegex *string `json:"descriptionRegex" tf:"description_regex,omitempty"`

	// The type of event. Currently, only shareSnapshot events are supported.
	// +kubebuilder:validation:Optional
	EventType *string `json:"eventType" tf:"event_type,omitempty"`

	// The IDs of the AWS accounts that can trigger policy by sharing snapshots with your account. The policy only runs if one of the specified AWS accounts shares a snapshot with your account.
	// +kubebuilder:validation:Optional
	// +listType=set
	SnapshotOwner []*string `json:"snapshotOwner" tf:"snapshot_owner,omitempty"`
}

func (*ParametersParameters) DeepCopy

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

func (*ParametersParameters) DeepCopyInto

func (in *ParametersParameters) DeepCopyInto(out *ParametersParameters)

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

type PolicyDetailsInitParameters

type PolicyDetailsInitParameters struct {

	// The actions to be performed when the event-based policy is triggered. You can specify only one action per policy. This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter. See the action configuration block.
	Action *ActionInitParameters `json:"action,omitempty" tf:"action,omitempty"`

	// The event that triggers the event-based policy. This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter. See the event_source configuration block.
	EventSource *EventSourceInitParameters `json:"eventSource,omitempty" tf:"event_source,omitempty"`

	// A set of optional parameters for snapshot and AMI lifecycle policies. See the parameters configuration block.
	Parameters *PolicyDetailsParametersInitParameters `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The valid target resource types and actions a policy can manage. Specify EBS_SNAPSHOT_MANAGEMENT to create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify IMAGE_MANAGEMENT to create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. Specify EVENT_BASED_POLICY to create an event-based policy that performs specific actions when a defined event occurs in your AWS account. Default value is EBS_SNAPSHOT_MANAGEMENT.
	PolicyType *string `json:"policyType,omitempty" tf:"policy_type,omitempty"`

	// The location of the resources to backup. If the source resources are located in an AWS Region, specify CLOUD. If the source resources are located on an Outpost in your account, specify OUTPOST. If you specify OUTPOST, Amazon Data Lifecycle Manager backs up all resources of the specified type with matching target tags across all of the Outposts in your account. Valid values are CLOUD and OUTPOST.
	ResourceLocations []*string `json:"resourceLocations,omitempty" tf:"resource_locations,omitempty"`

	// A list of resource types that should be targeted by the lifecycle policy. Valid values are VOLUME and INSTANCE.
	ResourceTypes []*string `json:"resourceTypes,omitempty" tf:"resource_types,omitempty"`

	// See the schedule configuration block.
	Schedule []ScheduleInitParameters `json:"schedule,omitempty" tf:"schedule,omitempty"`

	// A map of tag keys and their values. Any resources that match the resource_types and are tagged with any of these tags will be targeted.
	// +mapType=granular
	TargetTags map[string]*string `json:"targetTags,omitempty" tf:"target_tags,omitempty"`
}

func (*PolicyDetailsInitParameters) DeepCopy

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

func (*PolicyDetailsInitParameters) DeepCopyInto

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

type PolicyDetailsObservation

type PolicyDetailsObservation struct {

	// The actions to be performed when the event-based policy is triggered. You can specify only one action per policy. This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter. See the action configuration block.
	Action *ActionObservation `json:"action,omitempty" tf:"action,omitempty"`

	// The event that triggers the event-based policy. This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter. See the event_source configuration block.
	EventSource *EventSourceObservation `json:"eventSource,omitempty" tf:"event_source,omitempty"`

	// A set of optional parameters for snapshot and AMI lifecycle policies. See the parameters configuration block.
	Parameters *PolicyDetailsParametersObservation `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The valid target resource types and actions a policy can manage. Specify EBS_SNAPSHOT_MANAGEMENT to create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify IMAGE_MANAGEMENT to create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. Specify EVENT_BASED_POLICY to create an event-based policy that performs specific actions when a defined event occurs in your AWS account. Default value is EBS_SNAPSHOT_MANAGEMENT.
	PolicyType *string `json:"policyType,omitempty" tf:"policy_type,omitempty"`

	// The location of the resources to backup. If the source resources are located in an AWS Region, specify CLOUD. If the source resources are located on an Outpost in your account, specify OUTPOST. If you specify OUTPOST, Amazon Data Lifecycle Manager backs up all resources of the specified type with matching target tags across all of the Outposts in your account. Valid values are CLOUD and OUTPOST.
	ResourceLocations []*string `json:"resourceLocations,omitempty" tf:"resource_locations,omitempty"`

	// A list of resource types that should be targeted by the lifecycle policy. Valid values are VOLUME and INSTANCE.
	ResourceTypes []*string `json:"resourceTypes,omitempty" tf:"resource_types,omitempty"`

	// See the schedule configuration block.
	Schedule []ScheduleObservation `json:"schedule,omitempty" tf:"schedule,omitempty"`

	// A map of tag keys and their values. Any resources that match the resource_types and are tagged with any of these tags will be targeted.
	// +mapType=granular
	TargetTags map[string]*string `json:"targetTags,omitempty" tf:"target_tags,omitempty"`
}

func (*PolicyDetailsObservation) DeepCopy

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

func (*PolicyDetailsObservation) DeepCopyInto

func (in *PolicyDetailsObservation) DeepCopyInto(out *PolicyDetailsObservation)

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

type PolicyDetailsParameters

type PolicyDetailsParameters struct {

	// The actions to be performed when the event-based policy is triggered. You can specify only one action per policy. This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter. See the action configuration block.
	// +kubebuilder:validation:Optional
	Action *ActionParameters `json:"action,omitempty" tf:"action,omitempty"`

	// The event that triggers the event-based policy. This parameter is required for event-based policies only. If you are creating a snapshot or AMI policy, omit this parameter. See the event_source configuration block.
	// +kubebuilder:validation:Optional
	EventSource *EventSourceParameters `json:"eventSource,omitempty" tf:"event_source,omitempty"`

	// A set of optional parameters for snapshot and AMI lifecycle policies. See the parameters configuration block.
	// +kubebuilder:validation:Optional
	Parameters *PolicyDetailsParametersParameters `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The valid target resource types and actions a policy can manage. Specify EBS_SNAPSHOT_MANAGEMENT to create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify IMAGE_MANAGEMENT to create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. Specify EVENT_BASED_POLICY to create an event-based policy that performs specific actions when a defined event occurs in your AWS account. Default value is EBS_SNAPSHOT_MANAGEMENT.
	// +kubebuilder:validation:Optional
	PolicyType *string `json:"policyType,omitempty" tf:"policy_type,omitempty"`

	// The location of the resources to backup. If the source resources are located in an AWS Region, specify CLOUD. If the source resources are located on an Outpost in your account, specify OUTPOST. If you specify OUTPOST, Amazon Data Lifecycle Manager backs up all resources of the specified type with matching target tags across all of the Outposts in your account. Valid values are CLOUD and OUTPOST.
	// +kubebuilder:validation:Optional
	ResourceLocations []*string `json:"resourceLocations,omitempty" tf:"resource_locations,omitempty"`

	// A list of resource types that should be targeted by the lifecycle policy. Valid values are VOLUME and INSTANCE.
	// +kubebuilder:validation:Optional
	ResourceTypes []*string `json:"resourceTypes,omitempty" tf:"resource_types,omitempty"`

	// See the schedule configuration block.
	// +kubebuilder:validation:Optional
	Schedule []ScheduleParameters `json:"schedule,omitempty" tf:"schedule,omitempty"`

	// A map of tag keys and their values. Any resources that match the resource_types and are tagged with any of these tags will be targeted.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	TargetTags map[string]*string `json:"targetTags,omitempty" tf:"target_tags,omitempty"`
}

func (*PolicyDetailsParameters) DeepCopy

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

func (*PolicyDetailsParameters) DeepCopyInto

func (in *PolicyDetailsParameters) DeepCopyInto(out *PolicyDetailsParameters)

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

type PolicyDetailsParametersInitParameters

type PolicyDetailsParametersInitParameters struct {

	// Indicates whether to exclude the root volume from snapshots created using CreateSnapshots. The default is false.
	ExcludeBootVolume *bool `json:"excludeBootVolume,omitempty" tf:"exclude_boot_volume,omitempty"`

	// Applies to AMI lifecycle policies only. Indicates whether targeted instances are rebooted when the lifecycle policy runs. true indicates that targeted instances are not rebooted when the policy runs. false indicates that target instances are rebooted when the policy runs. The default is true (instances are not rebooted).
	NoReboot *bool `json:"noReboot,omitempty" tf:"no_reboot,omitempty"`
}

func (*PolicyDetailsParametersInitParameters) DeepCopy

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

func (*PolicyDetailsParametersInitParameters) DeepCopyInto

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

type PolicyDetailsParametersObservation

type PolicyDetailsParametersObservation struct {

	// Indicates whether to exclude the root volume from snapshots created using CreateSnapshots. The default is false.
	ExcludeBootVolume *bool `json:"excludeBootVolume,omitempty" tf:"exclude_boot_volume,omitempty"`

	// Applies to AMI lifecycle policies only. Indicates whether targeted instances are rebooted when the lifecycle policy runs. true indicates that targeted instances are not rebooted when the policy runs. false indicates that target instances are rebooted when the policy runs. The default is true (instances are not rebooted).
	NoReboot *bool `json:"noReboot,omitempty" tf:"no_reboot,omitempty"`
}

func (*PolicyDetailsParametersObservation) DeepCopy

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

func (*PolicyDetailsParametersObservation) DeepCopyInto

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

type PolicyDetailsParametersParameters

type PolicyDetailsParametersParameters struct {

	// Indicates whether to exclude the root volume from snapshots created using CreateSnapshots. The default is false.
	// +kubebuilder:validation:Optional
	ExcludeBootVolume *bool `json:"excludeBootVolume,omitempty" tf:"exclude_boot_volume,omitempty"`

	// Applies to AMI lifecycle policies only. Indicates whether targeted instances are rebooted when the lifecycle policy runs. true indicates that targeted instances are not rebooted when the policy runs. false indicates that target instances are rebooted when the policy runs. The default is true (instances are not rebooted).
	// +kubebuilder:validation:Optional
	NoReboot *bool `json:"noReboot,omitempty" tf:"no_reboot,omitempty"`
}

func (*PolicyDetailsParametersParameters) DeepCopy

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

func (*PolicyDetailsParametersParameters) DeepCopyInto

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

type RetainRuleInitParameters

type RetainRuleInitParameters struct {

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"`
}

func (*RetainRuleInitParameters) DeepCopy

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

func (*RetainRuleInitParameters) DeepCopyInto

func (in *RetainRuleInitParameters) DeepCopyInto(out *RetainRuleInitParameters)

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

type RetainRuleObservation

type RetainRuleObservation struct {

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"`
}

func (*RetainRuleObservation) DeepCopy

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

func (*RetainRuleObservation) DeepCopyInto

func (in *RetainRuleObservation) DeepCopyInto(out *RetainRuleObservation)

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

type RetainRuleParameters

type RetainRuleParameters struct {

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	// +kubebuilder:validation:Optional
	Interval *float64 `json:"interval" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	// +kubebuilder:validation:Optional
	IntervalUnit *string `json:"intervalUnit" tf:"interval_unit,omitempty"`
}

func (*RetainRuleParameters) DeepCopy

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

func (*RetainRuleParameters) DeepCopyInto

func (in *RetainRuleParameters) DeepCopyInto(out *RetainRuleParameters)

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

type ScheduleDeprecateRuleInitParameters

type ScheduleDeprecateRuleInitParameters struct {

	// Specifies the number of oldest AMIs to deprecate. Must be an integer between 1 and 1000. Conflicts with interval and interval_unit.
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"`
}

func (*ScheduleDeprecateRuleInitParameters) DeepCopy

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

func (*ScheduleDeprecateRuleInitParameters) DeepCopyInto

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

type ScheduleDeprecateRuleObservation

type ScheduleDeprecateRuleObservation struct {

	// Specifies the number of oldest AMIs to deprecate. Must be an integer between 1 and 1000. Conflicts with interval and interval_unit.
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"`
}

func (*ScheduleDeprecateRuleObservation) DeepCopy

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

func (*ScheduleDeprecateRuleObservation) DeepCopyInto

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

type ScheduleDeprecateRuleParameters

type ScheduleDeprecateRuleParameters struct {

	// Specifies the number of oldest AMIs to deprecate. Must be an integer between 1 and 1000. Conflicts with interval and interval_unit.
	// +kubebuilder:validation:Optional
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	// +kubebuilder:validation:Optional
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	// +kubebuilder:validation:Optional
	IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"`
}

func (*ScheduleDeprecateRuleParameters) DeepCopy

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

func (*ScheduleDeprecateRuleParameters) DeepCopyInto

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

type ScheduleInitParameters

type ScheduleInitParameters struct {

	// Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.
	CopyTags *bool `json:"copyTags,omitempty" tf:"copy_tags,omitempty"`

	// See the create_rule block. Max of 1 per schedule.
	CreateRule *CreateRuleInitParameters `json:"createRule,omitempty" tf:"create_rule,omitempty"`

	// See the cross_region_copy_rule block. Max of 3 per schedule.
	CrossRegionCopyRule []CrossRegionCopyRuleInitParameters `json:"crossRegionCopyRule,omitempty" tf:"cross_region_copy_rule,omitempty"`

	// See the deprecate_rule block. Max of 1 per schedule.
	DeprecateRule *ScheduleDeprecateRuleInitParameters `json:"deprecateRule,omitempty" tf:"deprecate_rule,omitempty"`

	// See the fast_restore_rule block. Max of 1 per schedule.
	FastRestoreRule *FastRestoreRuleInitParameters `json:"fastRestoreRule,omitempty" tf:"fast_restore_rule,omitempty"`

	// A descriptive name for the action.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the retention rule for cross-Region snapshot copies. See the retain_rule block. Max of 1 per action.
	RetainRule *ScheduleRetainRuleInitParameters `json:"retainRule,omitempty" tf:"retain_rule,omitempty"`

	// See the share_rule block. Max of 1 per schedule.
	ShareRule *ShareRuleInitParameters `json:"shareRule,omitempty" tf:"share_rule,omitempty"`

	// A map of tag keys and their values. DLM lifecycle policies will already tag the snapshot with the tags on the volume. This configuration adds extra tags on top of these.
	// +mapType=granular
	TagsToAdd map[string]*string `json:"tagsToAdd,omitempty" tf:"tags_to_add,omitempty"`

	// A map of tag keys and variable values, where the values are determined when the policy is executed. Only $(instance-id) or $(timestamp) are valid values. Can only be used when resource_types is INSTANCE.
	// +mapType=granular
	VariableTags map[string]*string `json:"variableTags,omitempty" tf:"variable_tags,omitempty"`
}

func (*ScheduleInitParameters) DeepCopy

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

func (*ScheduleInitParameters) DeepCopyInto

func (in *ScheduleInitParameters) DeepCopyInto(out *ScheduleInitParameters)

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

type ScheduleObservation

type ScheduleObservation struct {

	// Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.
	CopyTags *bool `json:"copyTags,omitempty" tf:"copy_tags,omitempty"`

	// See the create_rule block. Max of 1 per schedule.
	CreateRule *CreateRuleObservation `json:"createRule,omitempty" tf:"create_rule,omitempty"`

	// See the cross_region_copy_rule block. Max of 3 per schedule.
	CrossRegionCopyRule []CrossRegionCopyRuleObservation `json:"crossRegionCopyRule,omitempty" tf:"cross_region_copy_rule,omitempty"`

	// See the deprecate_rule block. Max of 1 per schedule.
	DeprecateRule *ScheduleDeprecateRuleObservation `json:"deprecateRule,omitempty" tf:"deprecate_rule,omitempty"`

	// See the fast_restore_rule block. Max of 1 per schedule.
	FastRestoreRule *FastRestoreRuleObservation `json:"fastRestoreRule,omitempty" tf:"fast_restore_rule,omitempty"`

	// A descriptive name for the action.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies the retention rule for cross-Region snapshot copies. See the retain_rule block. Max of 1 per action.
	RetainRule *ScheduleRetainRuleObservation `json:"retainRule,omitempty" tf:"retain_rule,omitempty"`

	// See the share_rule block. Max of 1 per schedule.
	ShareRule *ShareRuleObservation `json:"shareRule,omitempty" tf:"share_rule,omitempty"`

	// A map of tag keys and their values. DLM lifecycle policies will already tag the snapshot with the tags on the volume. This configuration adds extra tags on top of these.
	// +mapType=granular
	TagsToAdd map[string]*string `json:"tagsToAdd,omitempty" tf:"tags_to_add,omitempty"`

	// A map of tag keys and variable values, where the values are determined when the policy is executed. Only $(instance-id) or $(timestamp) are valid values. Can only be used when resource_types is INSTANCE.
	// +mapType=granular
	VariableTags map[string]*string `json:"variableTags,omitempty" tf:"variable_tags,omitempty"`
}

func (*ScheduleObservation) DeepCopy

func (in *ScheduleObservation) DeepCopy() *ScheduleObservation

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

func (*ScheduleObservation) DeepCopyInto

func (in *ScheduleObservation) DeepCopyInto(out *ScheduleObservation)

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

type ScheduleParameters

type ScheduleParameters struct {

	// Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.
	// +kubebuilder:validation:Optional
	CopyTags *bool `json:"copyTags,omitempty" tf:"copy_tags,omitempty"`

	// See the create_rule block. Max of 1 per schedule.
	// +kubebuilder:validation:Optional
	CreateRule *CreateRuleParameters `json:"createRule" tf:"create_rule,omitempty"`

	// See the cross_region_copy_rule block. Max of 3 per schedule.
	// +kubebuilder:validation:Optional
	CrossRegionCopyRule []CrossRegionCopyRuleParameters `json:"crossRegionCopyRule,omitempty" tf:"cross_region_copy_rule,omitempty"`

	// See the deprecate_rule block. Max of 1 per schedule.
	// +kubebuilder:validation:Optional
	DeprecateRule *ScheduleDeprecateRuleParameters `json:"deprecateRule,omitempty" tf:"deprecate_rule,omitempty"`

	// See the fast_restore_rule block. Max of 1 per schedule.
	// +kubebuilder:validation:Optional
	FastRestoreRule *FastRestoreRuleParameters `json:"fastRestoreRule,omitempty" tf:"fast_restore_rule,omitempty"`

	// A descriptive name for the action.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// Specifies the retention rule for cross-Region snapshot copies. See the retain_rule block. Max of 1 per action.
	// +kubebuilder:validation:Optional
	RetainRule *ScheduleRetainRuleParameters `json:"retainRule" tf:"retain_rule,omitempty"`

	// See the share_rule block. Max of 1 per schedule.
	// +kubebuilder:validation:Optional
	ShareRule *ShareRuleParameters `json:"shareRule,omitempty" tf:"share_rule,omitempty"`

	// A map of tag keys and their values. DLM lifecycle policies will already tag the snapshot with the tags on the volume. This configuration adds extra tags on top of these.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	TagsToAdd map[string]*string `json:"tagsToAdd,omitempty" tf:"tags_to_add,omitempty"`

	// A map of tag keys and variable values, where the values are determined when the policy is executed. Only $(instance-id) or $(timestamp) are valid values. Can only be used when resource_types is INSTANCE.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	VariableTags map[string]*string `json:"variableTags,omitempty" tf:"variable_tags,omitempty"`
}

func (*ScheduleParameters) DeepCopy

func (in *ScheduleParameters) DeepCopy() *ScheduleParameters

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

func (*ScheduleParameters) DeepCopyInto

func (in *ScheduleParameters) DeepCopyInto(out *ScheduleParameters)

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

type ScheduleRetainRuleInitParameters

type ScheduleRetainRuleInitParameters struct {

	// Specifies the number of oldest AMIs to deprecate. Must be an integer between 1 and 1000. Conflicts with interval and interval_unit.
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"`
}

func (*ScheduleRetainRuleInitParameters) DeepCopy

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

func (*ScheduleRetainRuleInitParameters) DeepCopyInto

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

type ScheduleRetainRuleObservation

type ScheduleRetainRuleObservation struct {

	// Specifies the number of oldest AMIs to deprecate. Must be an integer between 1 and 1000. Conflicts with interval and interval_unit.
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"`
}

func (*ScheduleRetainRuleObservation) DeepCopy

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

func (*ScheduleRetainRuleObservation) DeepCopyInto

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

type ScheduleRetainRuleParameters

type ScheduleRetainRuleParameters struct {

	// Specifies the number of oldest AMIs to deprecate. Must be an integer between 1 and 1000. Conflicts with interval and interval_unit.
	// +kubebuilder:validation:Optional
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values. Conflicts with cron_expression. If set, interval_unit and times must also be set.
	// +kubebuilder:validation:Optional
	Interval *float64 `json:"interval,omitempty" tf:"interval,omitempty"`

	// The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value. Conflicts with cron_expression. Must be set if interval is set.
	// +kubebuilder:validation:Optional
	IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"`
}

func (*ScheduleRetainRuleParameters) DeepCopy

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

func (*ScheduleRetainRuleParameters) DeepCopyInto

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

type ShareRuleInitParameters

type ShareRuleInitParameters struct {

	// The IDs of the AWS accounts with which to share the snapshots.
	// +listType=set
	TargetAccounts []*string `json:"targetAccounts,omitempty" tf:"target_accounts,omitempty"`

	// The period after which snapshots that are shared with other AWS accounts are automatically unshared.
	UnshareInterval *float64 `json:"unshareInterval,omitempty" tf:"unshare_interval,omitempty"`

	// The unit of time for the automatic unsharing interval. Valid values are DAYS, WEEKS, MONTHS, YEARS.
	UnshareIntervalUnit *string `json:"unshareIntervalUnit,omitempty" tf:"unshare_interval_unit,omitempty"`
}

func (*ShareRuleInitParameters) DeepCopy

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

func (*ShareRuleInitParameters) DeepCopyInto

func (in *ShareRuleInitParameters) DeepCopyInto(out *ShareRuleInitParameters)

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

type ShareRuleObservation

type ShareRuleObservation struct {

	// The IDs of the AWS accounts with which to share the snapshots.
	// +listType=set
	TargetAccounts []*string `json:"targetAccounts,omitempty" tf:"target_accounts,omitempty"`

	// The period after which snapshots that are shared with other AWS accounts are automatically unshared.
	UnshareInterval *float64 `json:"unshareInterval,omitempty" tf:"unshare_interval,omitempty"`

	// The unit of time for the automatic unsharing interval. Valid values are DAYS, WEEKS, MONTHS, YEARS.
	UnshareIntervalUnit *string `json:"unshareIntervalUnit,omitempty" tf:"unshare_interval_unit,omitempty"`
}

func (*ShareRuleObservation) DeepCopy

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

func (*ShareRuleObservation) DeepCopyInto

func (in *ShareRuleObservation) DeepCopyInto(out *ShareRuleObservation)

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

type ShareRuleParameters

type ShareRuleParameters struct {

	// The IDs of the AWS accounts with which to share the snapshots.
	// +kubebuilder:validation:Optional
	// +listType=set
	TargetAccounts []*string `json:"targetAccounts" tf:"target_accounts,omitempty"`

	// The period after which snapshots that are shared with other AWS accounts are automatically unshared.
	// +kubebuilder:validation:Optional
	UnshareInterval *float64 `json:"unshareInterval,omitempty" tf:"unshare_interval,omitempty"`

	// The unit of time for the automatic unsharing interval. Valid values are DAYS, WEEKS, MONTHS, YEARS.
	// +kubebuilder:validation:Optional
	UnshareIntervalUnit *string `json:"unshareIntervalUnit,omitempty" tf:"unshare_interval_unit,omitempty"`
}

func (*ShareRuleParameters) DeepCopy

func (in *ShareRuleParameters) DeepCopy() *ShareRuleParameters

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

func (*ShareRuleParameters) DeepCopyInto

func (in *ShareRuleParameters) DeepCopyInto(out *ShareRuleParameters)

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