Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=dlm.aws.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type ActionObservation
- type ActionParameters
- type CreateRuleObservation
- type CreateRuleParameters
- type CrossRegionCopyObservation
- type CrossRegionCopyParameters
- type CrossRegionCopyRuleObservation
- type CrossRegionCopyRuleParameters
- type CrossRegionCopyRuleRetainRuleObservation
- type CrossRegionCopyRuleRetainRuleParameters
- type DeprecateRuleObservation
- type DeprecateRuleParameters
- type EncryptionConfigurationObservation
- type EncryptionConfigurationParameters
- type EventSourceObservation
- type EventSourceParameters
- type FastRestoreRuleObservation
- type FastRestoreRuleParameters
- type LifecyclePolicy
- func (in *LifecyclePolicy) DeepCopy() *LifecyclePolicy
- func (in *LifecyclePolicy) DeepCopyInto(out *LifecyclePolicy)
- func (in *LifecyclePolicy) DeepCopyObject() runtime.Object
- func (mg *LifecyclePolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *LifecyclePolicy) GetConnectionDetailsMapping() map[string]string
- func (mg *LifecyclePolicy) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *LifecyclePolicy) GetID() string
- func (tr *LifecyclePolicy) GetObservation() (map[string]any, error)
- func (tr *LifecyclePolicy) GetParameters() (map[string]any, error)
- func (mg *LifecyclePolicy) GetProviderConfigReference() *xpv1.Reference
- func (mg *LifecyclePolicy) GetProviderReference() *xpv1.Reference
- func (mg *LifecyclePolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *LifecyclePolicy) GetTerraformResourceType() string
- func (tr *LifecyclePolicy) GetTerraformSchemaVersion() int
- func (mg *LifecyclePolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *LifecyclePolicy) LateInitialize(attrs []byte) (bool, error)
- func (mg *LifecyclePolicy) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *LifecyclePolicy) SetConditions(c ...xpv1.Condition)
- func (mg *LifecyclePolicy) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *LifecyclePolicy) SetObservation(obs map[string]any) error
- func (tr *LifecyclePolicy) SetParameters(params map[string]any) error
- func (mg *LifecyclePolicy) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *LifecyclePolicy) SetProviderReference(r *xpv1.Reference)
- func (mg *LifecyclePolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *LifecyclePolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type LifecyclePolicyList
- type LifecyclePolicyObservation
- type LifecyclePolicyParameters
- type LifecyclePolicySpec
- type LifecyclePolicyStatus
- type ParametersObservation
- type ParametersParameters
- type PolicyDetailsObservation
- type PolicyDetailsParameters
- type PolicyDetailsParametersObservation
- type PolicyDetailsParametersParameters
- type RetainRuleObservation
- type RetainRuleParameters
- type ScheduleDeprecateRuleObservation
- type ScheduleDeprecateRuleParameters
- type ScheduleObservation
- type ScheduleParameters
- type ScheduleRetainRuleObservation
- type ScheduleRetainRuleParameters
- type ShareRuleObservation
- type ShareRuleParameters
Constants ¶
const ( CRDGroup = "dlm.aws.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
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 )
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 ActionObservation ¶
type ActionObservation struct { }
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:Required CrossRegionCopy []CrossRegionCopyParameters `json:"crossRegionCopy" tf:"cross_region_copy,omitempty"` // A descriptive name for the action. // +kubebuilder:validation:Required 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 CreateRuleObservation ¶
type CreateRuleObservation struct { }
func (*CreateRuleObservation) DeepCopy ¶
func (in *CreateRuleObservation) DeepCopy() *CreateRuleObservation
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. // +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. // +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. // +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. // +kubebuilder:validation:Optional Times []*string `json:"times,omitempty" tf:"times,omitempty"` }
func (*CreateRuleParameters) DeepCopy ¶
func (in *CreateRuleParameters) DeepCopy() *CreateRuleParameters
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 CrossRegionCopyObservation ¶
type CrossRegionCopyObservation struct { }
func (*CrossRegionCopyObservation) DeepCopy ¶
func (in *CrossRegionCopyObservation) DeepCopy() *CrossRegionCopyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossRegionCopyObservation.
func (*CrossRegionCopyObservation) DeepCopyInto ¶
func (in *CrossRegionCopyObservation) DeepCopyInto(out *CrossRegionCopyObservation)
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:Required 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:Required Target *string `json:"target" tf:"target,omitempty"` }
func (*CrossRegionCopyParameters) DeepCopy ¶
func (in *CrossRegionCopyParameters) DeepCopy() *CrossRegionCopyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossRegionCopyParameters.
func (*CrossRegionCopyParameters) DeepCopyInto ¶
func (in *CrossRegionCopyParameters) DeepCopyInto(out *CrossRegionCopyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CrossRegionCopyRuleObservation ¶
type CrossRegionCopyRuleObservation struct { }
func (*CrossRegionCopyRuleObservation) DeepCopy ¶
func (in *CrossRegionCopyRuleObservation) DeepCopy() *CrossRegionCopyRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossRegionCopyRuleObservation.
func (*CrossRegionCopyRuleObservation) DeepCopyInto ¶
func (in *CrossRegionCopyRuleObservation) DeepCopyInto(out *CrossRegionCopyRuleObservation)
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/upbound/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:Required 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:Required Target *string `json:"target" tf:"target,omitempty"` }
func (*CrossRegionCopyRuleParameters) DeepCopy ¶
func (in *CrossRegionCopyRuleParameters) DeepCopy() *CrossRegionCopyRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossRegionCopyRuleParameters.
func (*CrossRegionCopyRuleParameters) DeepCopyInto ¶
func (in *CrossRegionCopyRuleParameters) DeepCopyInto(out *CrossRegionCopyRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CrossRegionCopyRuleRetainRuleObservation ¶
type CrossRegionCopyRuleRetainRuleObservation struct { }
func (*CrossRegionCopyRuleRetainRuleObservation) DeepCopy ¶
func (in *CrossRegionCopyRuleRetainRuleObservation) DeepCopy() *CrossRegionCopyRuleRetainRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossRegionCopyRuleRetainRuleObservation.
func (*CrossRegionCopyRuleRetainRuleObservation) DeepCopyInto ¶
func (in *CrossRegionCopyRuleRetainRuleObservation) DeepCopyInto(out *CrossRegionCopyRuleRetainRuleObservation)
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. // +kubebuilder:validation:Required 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. // +kubebuilder:validation:Required IntervalUnit *string `json:"intervalUnit" tf:"interval_unit,omitempty"` }
func (*CrossRegionCopyRuleRetainRuleParameters) DeepCopy ¶
func (in *CrossRegionCopyRuleRetainRuleParameters) DeepCopy() *CrossRegionCopyRuleRetainRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossRegionCopyRuleRetainRuleParameters.
func (*CrossRegionCopyRuleRetainRuleParameters) DeepCopyInto ¶
func (in *CrossRegionCopyRuleRetainRuleParameters) DeepCopyInto(out *CrossRegionCopyRuleRetainRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeprecateRuleObservation ¶
type DeprecateRuleObservation struct { }
func (*DeprecateRuleObservation) DeepCopy ¶
func (in *DeprecateRuleObservation) DeepCopy() *DeprecateRuleObservation
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. // +kubebuilder:validation:Required 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. // +kubebuilder:validation:Required IntervalUnit *string `json:"intervalUnit" tf:"interval_unit,omitempty"` }
func (*DeprecateRuleParameters) DeepCopy ¶
func (in *DeprecateRuleParameters) DeepCopy() *DeprecateRuleParameters
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 EncryptionConfigurationObservation ¶
type EncryptionConfigurationObservation struct { }
func (*EncryptionConfigurationObservation) DeepCopy ¶
func (in *EncryptionConfigurationObservation) DeepCopy() *EncryptionConfigurationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfigurationObservation.
func (*EncryptionConfigurationObservation) DeepCopyInto ¶
func (in *EncryptionConfigurationObservation) DeepCopyInto(out *EncryptionConfigurationObservation)
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 ¶
func (in *EncryptionConfigurationParameters) DeepCopy() *EncryptionConfigurationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfigurationParameters.
func (*EncryptionConfigurationParameters) DeepCopyInto ¶
func (in *EncryptionConfigurationParameters) DeepCopyInto(out *EncryptionConfigurationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventSourceObservation ¶
type EventSourceObservation struct { }
func (*EventSourceObservation) DeepCopy ¶
func (in *EventSourceObservation) DeepCopy() *EventSourceObservation
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:Required 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:Required Type *string `json:"type" tf:"type,omitempty"` }
func (*EventSourceParameters) DeepCopy ¶
func (in *EventSourceParameters) DeepCopy() *EventSourceParameters
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 FastRestoreRuleObservation ¶
type FastRestoreRuleObservation struct { }
func (*FastRestoreRuleObservation) DeepCopy ¶
func (in *FastRestoreRuleObservation) DeepCopy() *FastRestoreRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FastRestoreRuleObservation.
func (*FastRestoreRuleObservation) DeepCopyInto ¶
func (in *FastRestoreRuleObservation) DeepCopyInto(out *FastRestoreRuleObservation)
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:Required AvailabilityZones []*string `json:"availabilityZones" tf:"availability_zones,omitempty"` // Specifies the number of oldest AMIs to deprecate. Must be an integer between 1 and 1000. // +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. // +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. // +kubebuilder:validation:Optional IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"` }
func (*FastRestoreRuleParameters) DeepCopy ¶
func (in *FastRestoreRuleParameters) DeepCopy() *FastRestoreRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FastRestoreRuleParameters.
func (*FastRestoreRuleParameters) DeepCopyInto ¶
func (in *FastRestoreRuleParameters) DeepCopyInto(out *FastRestoreRuleParameters)
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"` 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="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +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) 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) GetProviderReference ¶
func (mg *LifecyclePolicy) GetProviderReference() *xpv1.Reference
GetProviderReference of this LifecyclePolicy. Deprecated: Use GetProviderConfigReference.
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) 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 ¶
ResolveReferences of this LifecyclePolicy.
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) 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) SetProviderReference ¶
func (mg *LifecyclePolicy) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this LifecyclePolicy. Deprecated: Use SetProviderConfigReference.
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 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"` // Identifier of the DLM Lifecycle Policy. ID *string `json:"id,omitempty" tf:"id,omitempty"` // A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` }
func (*LifecyclePolicyObservation) DeepCopy ¶
func (in *LifecyclePolicyObservation) DeepCopy() *LifecyclePolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecyclePolicyObservation.
func (*LifecyclePolicyObservation) DeepCopyInto ¶
func (in *LifecyclePolicyObservation) DeepCopyInto(out *LifecyclePolicyObservation)
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:Required Description *string `json:"description" 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:Required PolicyDetails []PolicyDetailsParameters `json:"policyDetails" 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 Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*LifecyclePolicyParameters) DeepCopy ¶
func (in *LifecyclePolicyParameters) DeepCopy() *LifecyclePolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecyclePolicyParameters.
func (*LifecyclePolicyParameters) DeepCopyInto ¶
func (in *LifecyclePolicyParameters) DeepCopyInto(out *LifecyclePolicyParameters)
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"` }
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 ¶
func (in *LifecyclePolicyStatus) DeepCopy() *LifecyclePolicyStatus
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 ParametersObservation ¶
type ParametersObservation struct { }
func (*ParametersObservation) DeepCopy ¶
func (in *ParametersObservation) DeepCopy() *ParametersObservation
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:Required DescriptionRegex *string `json:"descriptionRegex" tf:"description_regex,omitempty"` // The type of event. Currently, only shareSnapshot events are supported. // +kubebuilder:validation:Required 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:Required SnapshotOwner []*string `json:"snapshotOwner" tf:"snapshot_owner,omitempty"` }
func (*ParametersParameters) DeepCopy ¶
func (in *ParametersParameters) DeepCopy() *ParametersParameters
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 PolicyDetailsObservation ¶
type PolicyDetailsObservation struct { }
func (*PolicyDetailsObservation) DeepCopy ¶
func (in *PolicyDetailsObservation) DeepCopy() *PolicyDetailsObservation
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 TargetTags map[string]*string `json:"targetTags,omitempty" tf:"target_tags,omitempty"` }
func (*PolicyDetailsParameters) DeepCopy ¶
func (in *PolicyDetailsParameters) DeepCopy() *PolicyDetailsParameters
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 PolicyDetailsParametersObservation ¶
type PolicyDetailsParametersObservation struct { }
func (*PolicyDetailsParametersObservation) DeepCopy ¶
func (in *PolicyDetailsParametersObservation) DeepCopy() *PolicyDetailsParametersObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyDetailsParametersObservation.
func (*PolicyDetailsParametersObservation) DeepCopyInto ¶
func (in *PolicyDetailsParametersObservation) DeepCopyInto(out *PolicyDetailsParametersObservation)
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 ¶
func (in *PolicyDetailsParametersParameters) DeepCopy() *PolicyDetailsParametersParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyDetailsParametersParameters.
func (*PolicyDetailsParametersParameters) DeepCopyInto ¶
func (in *PolicyDetailsParametersParameters) DeepCopyInto(out *PolicyDetailsParametersParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RetainRuleObservation ¶
type RetainRuleObservation struct { }
func (*RetainRuleObservation) DeepCopy ¶
func (in *RetainRuleObservation) DeepCopy() *RetainRuleObservation
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. // +kubebuilder:validation:Required 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. // +kubebuilder:validation:Required IntervalUnit *string `json:"intervalUnit" tf:"interval_unit,omitempty"` }
func (*RetainRuleParameters) DeepCopy ¶
func (in *RetainRuleParameters) DeepCopy() *RetainRuleParameters
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 ScheduleDeprecateRuleObservation ¶
type ScheduleDeprecateRuleObservation struct { }
func (*ScheduleDeprecateRuleObservation) DeepCopy ¶
func (in *ScheduleDeprecateRuleObservation) DeepCopy() *ScheduleDeprecateRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleDeprecateRuleObservation.
func (*ScheduleDeprecateRuleObservation) DeepCopyInto ¶
func (in *ScheduleDeprecateRuleObservation) DeepCopyInto(out *ScheduleDeprecateRuleObservation)
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. // +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. // +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. // +kubebuilder:validation:Optional IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"` }
func (*ScheduleDeprecateRuleParameters) DeepCopy ¶
func (in *ScheduleDeprecateRuleParameters) DeepCopy() *ScheduleDeprecateRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleDeprecateRuleParameters.
func (*ScheduleDeprecateRuleParameters) DeepCopyInto ¶
func (in *ScheduleDeprecateRuleParameters) DeepCopyInto(out *ScheduleDeprecateRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduleObservation ¶
type ScheduleObservation struct { }
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:Required 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:Required 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:Required RetainRule []ScheduleRetainRuleParameters `json:"retainRule" tf:"retain_rule,omitempty"` // +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 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 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 ScheduleRetainRuleObservation ¶
type ScheduleRetainRuleObservation struct { }
func (*ScheduleRetainRuleObservation) DeepCopy ¶
func (in *ScheduleRetainRuleObservation) DeepCopy() *ScheduleRetainRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleRetainRuleObservation.
func (*ScheduleRetainRuleObservation) DeepCopyInto ¶
func (in *ScheduleRetainRuleObservation) DeepCopyInto(out *ScheduleRetainRuleObservation)
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. // +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. // +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. // +kubebuilder:validation:Optional IntervalUnit *string `json:"intervalUnit,omitempty" tf:"interval_unit,omitempty"` }
func (*ScheduleRetainRuleParameters) DeepCopy ¶
func (in *ScheduleRetainRuleParameters) DeepCopy() *ScheduleRetainRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleRetainRuleParameters.
func (*ScheduleRetainRuleParameters) DeepCopyInto ¶
func (in *ScheduleRetainRuleParameters) DeepCopyInto(out *ScheduleRetainRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ShareRuleObservation ¶
type ShareRuleObservation struct { }
func (*ShareRuleObservation) DeepCopy ¶
func (in *ShareRuleObservation) DeepCopy() *ShareRuleObservation
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 { // +kubebuilder:validation:Required TargetAccounts []*string `json:"targetAccounts" tf:"target_accounts,omitempty"` // +kubebuilder:validation:Optional UnshareInterval *float64 `json:"unshareInterval,omitempty" tf:"unshare_interval,omitempty"` // +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.