Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=autoscalingplans.aws.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type ApplicationSourceObservation
- type ApplicationSourceParameters
- type CustomizedLoadMetricSpecificationObservation
- type CustomizedLoadMetricSpecificationParameters
- type CustomizedScalingMetricSpecificationObservation
- type CustomizedScalingMetricSpecificationParameters
- type PredefinedLoadMetricSpecificationObservation
- type PredefinedLoadMetricSpecificationParameters
- type PredefinedScalingMetricSpecificationObservation
- type PredefinedScalingMetricSpecificationParameters
- type ScalingInstructionObservation
- type ScalingInstructionParameters
- type ScalingPlan
- func (in *ScalingPlan) DeepCopy() *ScalingPlan
- func (in *ScalingPlan) DeepCopyInto(out *ScalingPlan)
- func (in *ScalingPlan) DeepCopyObject() runtime.Object
- func (mg *ScalingPlan) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ScalingPlan) GetConnectionDetailsMapping() map[string]string
- func (mg *ScalingPlan) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ScalingPlan) GetID() string
- func (tr *ScalingPlan) GetObservation() (map[string]any, error)
- func (tr *ScalingPlan) GetParameters() (map[string]any, error)
- func (mg *ScalingPlan) GetProviderConfigReference() *xpv1.Reference
- func (mg *ScalingPlan) GetProviderReference() *xpv1.Reference
- func (mg *ScalingPlan) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ScalingPlan) GetTerraformResourceType() string
- func (tr *ScalingPlan) GetTerraformSchemaVersion() int
- func (mg *ScalingPlan) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ScalingPlan) LateInitialize(attrs []byte) (bool, error)
- func (mg *ScalingPlan) SetConditions(c ...xpv1.Condition)
- func (mg *ScalingPlan) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *ScalingPlan) SetObservation(obs map[string]any) error
- func (tr *ScalingPlan) SetParameters(params map[string]any) error
- func (mg *ScalingPlan) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ScalingPlan) SetProviderReference(r *xpv1.Reference)
- func (mg *ScalingPlan) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ScalingPlan) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ScalingPlanList
- type ScalingPlanObservation
- type ScalingPlanParameters
- type ScalingPlanSpec
- type ScalingPlanStatus
- type TagFilterObservation
- type TagFilterParameters
- type TargetTrackingConfigurationObservation
- type TargetTrackingConfigurationParameters
Constants ¶
const ( CRDGroup = "autoscalingplans.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 ( ScalingPlan_Kind = "ScalingPlan" ScalingPlan_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ScalingPlan_Kind}.String() ScalingPlan_KindAPIVersion = ScalingPlan_Kind + "." + CRDGroupVersion.String() ScalingPlan_GroupVersionKind = CRDGroupVersion.WithKind(ScalingPlan_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type ApplicationSourceObservation ¶
type ApplicationSourceObservation struct { }
func (*ApplicationSourceObservation) DeepCopy ¶
func (in *ApplicationSourceObservation) DeepCopy() *ApplicationSourceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSourceObservation.
func (*ApplicationSourceObservation) DeepCopyInto ¶
func (in *ApplicationSourceObservation) DeepCopyInto(out *ApplicationSourceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationSourceParameters ¶
type ApplicationSourceParameters struct { // The Amazon Resource Name (ARN) of a AWS CloudFormation stack. // +kubebuilder:validation:Optional CloudFormationStackArn *string `json:"cloudformationStackArn,omitempty" tf:"cloudformation_stack_arn,omitempty"` // A set of tags. // +kubebuilder:validation:Optional TagFilter []TagFilterParameters `json:"tagFilter,omitempty" tf:"tag_filter,omitempty"` }
func (*ApplicationSourceParameters) DeepCopy ¶
func (in *ApplicationSourceParameters) DeepCopy() *ApplicationSourceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSourceParameters.
func (*ApplicationSourceParameters) DeepCopyInto ¶
func (in *ApplicationSourceParameters) DeepCopyInto(out *ApplicationSourceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomizedLoadMetricSpecificationObservation ¶
type CustomizedLoadMetricSpecificationObservation struct { }
func (*CustomizedLoadMetricSpecificationObservation) DeepCopy ¶
func (in *CustomizedLoadMetricSpecificationObservation) DeepCopy() *CustomizedLoadMetricSpecificationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomizedLoadMetricSpecificationObservation.
func (*CustomizedLoadMetricSpecificationObservation) DeepCopyInto ¶
func (in *CustomizedLoadMetricSpecificationObservation) DeepCopyInto(out *CustomizedLoadMetricSpecificationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomizedLoadMetricSpecificationParameters ¶
type CustomizedLoadMetricSpecificationParameters struct { // The dimensions of the metric. // +kubebuilder:validation:Optional Dimensions map[string]*string `json:"dimensions,omitempty" tf:"dimensions,omitempty"` // The name of the metric. // +kubebuilder:validation:Required MetricName *string `json:"metricName" tf:"metric_name,omitempty"` // The namespace of the metric. // +kubebuilder:validation:Required Namespace *string `json:"namespace" tf:"namespace,omitempty"` // The statistic of the metric. Currently, the value must always be Sum. // +kubebuilder:validation:Required Statistic *string `json:"statistic" tf:"statistic,omitempty"` // The unit of the metric. // +kubebuilder:validation:Optional Unit *string `json:"unit,omitempty" tf:"unit,omitempty"` }
func (*CustomizedLoadMetricSpecificationParameters) DeepCopy ¶
func (in *CustomizedLoadMetricSpecificationParameters) DeepCopy() *CustomizedLoadMetricSpecificationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomizedLoadMetricSpecificationParameters.
func (*CustomizedLoadMetricSpecificationParameters) DeepCopyInto ¶
func (in *CustomizedLoadMetricSpecificationParameters) DeepCopyInto(out *CustomizedLoadMetricSpecificationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomizedScalingMetricSpecificationObservation ¶
type CustomizedScalingMetricSpecificationObservation struct { }
func (*CustomizedScalingMetricSpecificationObservation) DeepCopy ¶
func (in *CustomizedScalingMetricSpecificationObservation) DeepCopy() *CustomizedScalingMetricSpecificationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomizedScalingMetricSpecificationObservation.
func (*CustomizedScalingMetricSpecificationObservation) DeepCopyInto ¶
func (in *CustomizedScalingMetricSpecificationObservation) DeepCopyInto(out *CustomizedScalingMetricSpecificationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomizedScalingMetricSpecificationParameters ¶
type CustomizedScalingMetricSpecificationParameters struct { // The dimensions of the metric. // +kubebuilder:validation:Optional Dimensions map[string]*string `json:"dimensions,omitempty" tf:"dimensions,omitempty"` // The name of the metric. // +kubebuilder:validation:Required MetricName *string `json:"metricName" tf:"metric_name,omitempty"` // The namespace of the metric. // +kubebuilder:validation:Required Namespace *string `json:"namespace" tf:"namespace,omitempty"` // The statistic of the metric. Currently, the value must always be Sum. // +kubebuilder:validation:Required Statistic *string `json:"statistic" tf:"statistic,omitempty"` // The unit of the metric. // +kubebuilder:validation:Optional Unit *string `json:"unit,omitempty" tf:"unit,omitempty"` }
func (*CustomizedScalingMetricSpecificationParameters) DeepCopy ¶
func (in *CustomizedScalingMetricSpecificationParameters) DeepCopy() *CustomizedScalingMetricSpecificationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomizedScalingMetricSpecificationParameters.
func (*CustomizedScalingMetricSpecificationParameters) DeepCopyInto ¶
func (in *CustomizedScalingMetricSpecificationParameters) DeepCopyInto(out *CustomizedScalingMetricSpecificationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PredefinedLoadMetricSpecificationObservation ¶
type PredefinedLoadMetricSpecificationObservation struct { }
func (*PredefinedLoadMetricSpecificationObservation) DeepCopy ¶
func (in *PredefinedLoadMetricSpecificationObservation) DeepCopy() *PredefinedLoadMetricSpecificationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredefinedLoadMetricSpecificationObservation.
func (*PredefinedLoadMetricSpecificationObservation) DeepCopyInto ¶
func (in *PredefinedLoadMetricSpecificationObservation) DeepCopyInto(out *PredefinedLoadMetricSpecificationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PredefinedLoadMetricSpecificationParameters ¶
type PredefinedLoadMetricSpecificationParameters struct { // The metric type. Valid values: ALBTargetGroupRequestCount, ASGTotalCPUUtilization, ASGTotalNetworkIn, ASGTotalNetworkOut. // +kubebuilder:validation:Required PredefinedLoadMetricType *string `json:"predefinedLoadMetricType" tf:"predefined_load_metric_type,omitempty"` // Identifies the resource associated with the metric type. // +kubebuilder:validation:Optional ResourceLabel *string `json:"resourceLabel,omitempty" tf:"resource_label,omitempty"` }
func (*PredefinedLoadMetricSpecificationParameters) DeepCopy ¶
func (in *PredefinedLoadMetricSpecificationParameters) DeepCopy() *PredefinedLoadMetricSpecificationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredefinedLoadMetricSpecificationParameters.
func (*PredefinedLoadMetricSpecificationParameters) DeepCopyInto ¶
func (in *PredefinedLoadMetricSpecificationParameters) DeepCopyInto(out *PredefinedLoadMetricSpecificationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PredefinedScalingMetricSpecificationObservation ¶
type PredefinedScalingMetricSpecificationObservation struct { }
func (*PredefinedScalingMetricSpecificationObservation) DeepCopy ¶
func (in *PredefinedScalingMetricSpecificationObservation) DeepCopy() *PredefinedScalingMetricSpecificationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredefinedScalingMetricSpecificationObservation.
func (*PredefinedScalingMetricSpecificationObservation) DeepCopyInto ¶
func (in *PredefinedScalingMetricSpecificationObservation) DeepCopyInto(out *PredefinedScalingMetricSpecificationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PredefinedScalingMetricSpecificationParameters ¶
type PredefinedScalingMetricSpecificationParameters struct { // The metric type. Valid values: ALBRequestCountPerTarget, ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections. // +kubebuilder:validation:Required PredefinedScalingMetricType *string `json:"predefinedScalingMetricType" tf:"predefined_scaling_metric_type,omitempty"` // Identifies the resource associated with the metric type. // +kubebuilder:validation:Optional ResourceLabel *string `json:"resourceLabel,omitempty" tf:"resource_label,omitempty"` }
func (*PredefinedScalingMetricSpecificationParameters) DeepCopy ¶
func (in *PredefinedScalingMetricSpecificationParameters) DeepCopy() *PredefinedScalingMetricSpecificationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredefinedScalingMetricSpecificationParameters.
func (*PredefinedScalingMetricSpecificationParameters) DeepCopyInto ¶
func (in *PredefinedScalingMetricSpecificationParameters) DeepCopyInto(out *PredefinedScalingMetricSpecificationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScalingInstructionObservation ¶
type ScalingInstructionObservation struct { }
func (*ScalingInstructionObservation) DeepCopy ¶
func (in *ScalingInstructionObservation) DeepCopy() *ScalingInstructionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalingInstructionObservation.
func (*ScalingInstructionObservation) DeepCopyInto ¶
func (in *ScalingInstructionObservation) DeepCopyInto(out *ScalingInstructionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScalingInstructionParameters ¶
type ScalingInstructionParameters struct { // The customized load metric to use for predictive scaling. You must specify either customized_load_metric_specification or predefined_load_metric_specification when configuring predictive scaling. // More details can be found in the AWS Auto Scaling API Reference. // +kubebuilder:validation:Optional CustomizedLoadMetricSpecification []CustomizedLoadMetricSpecificationParameters `json:"customizedLoadMetricSpecification,omitempty" tf:"customized_load_metric_specification,omitempty"` // Boolean controlling whether dynamic scaling by AWS Auto Scaling is disabled. Defaults to false. // +kubebuilder:validation:Optional DisableDynamicScaling *bool `json:"disableDynamicScaling,omitempty" tf:"disable_dynamic_scaling,omitempty"` // The maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for predictive_scaling_max_capacity_behavior. // +kubebuilder:validation:Required MaxCapacity *float64 `json:"maxCapacity" tf:"max_capacity,omitempty"` // The minimum capacity of the resource. // +kubebuilder:validation:Required MinCapacity *float64 `json:"minCapacity" tf:"min_capacity,omitempty"` // The predefined load metric to use for predictive scaling. You must specify either predefined_load_metric_specification or customized_load_metric_specification when configuring predictive scaling. // More details can be found in the AWS Auto Scaling API Reference. // +kubebuilder:validation:Optional PredefinedLoadMetricSpecification []PredefinedLoadMetricSpecificationParameters `json:"predefinedLoadMetricSpecification,omitempty" tf:"predefined_load_metric_specification,omitempty"` // Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity specified for the resource. // Valid values: SetForecastCapacityToMaxCapacity, SetMaxCapacityAboveForecastCapacity, SetMaxCapacityToForecastCapacity. // +kubebuilder:validation:Optional PredictiveScalingMaxCapacityBehavior *string `json:"predictiveScalingMaxCapacityBehavior,omitempty" tf:"predictive_scaling_max_capacity_behavior,omitempty"` // The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. // +kubebuilder:validation:Optional PredictiveScalingMaxCapacityBuffer *float64 `json:"predictiveScalingMaxCapacityBuffer,omitempty" tf:"predictive_scaling_max_capacity_buffer,omitempty"` // The predictive scaling mode. Valid values: ForecastAndScale, ForecastOnly. // +kubebuilder:validation:Optional PredictiveScalingMode *string `json:"predictiveScalingMode,omitempty" tf:"predictive_scaling_mode,omitempty"` // The ID of the resource. This string consists of the resource type and unique identifier. // +kubebuilder:validation:Required ResourceID *string `json:"resourceId" tf:"resource_id,omitempty"` // The scalable dimension associated with the resource. Valid values: autoscaling:autoScalingGroup:DesiredCapacity, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, rds:cluster:ReadReplicaCount. // +kubebuilder:validation:Required ScalableDimension *string `json:"scalableDimension" tf:"scalable_dimension,omitempty"` // Controls whether a resource's externally created scaling policies are kept or replaced. Valid values: KeepExternalPolicies, ReplaceExternalPolicies. Defaults to KeepExternalPolicies. // +kubebuilder:validation:Optional ScalingPolicyUpdateBehavior *string `json:"scalingPolicyUpdateBehavior,omitempty" tf:"scaling_policy_update_behavior,omitempty"` // The amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out. // +kubebuilder:validation:Optional ScheduledActionBufferTime *float64 `json:"scheduledActionBufferTime,omitempty" tf:"scheduled_action_buffer_time,omitempty"` // The namespace of the AWS service. Valid values: autoscaling, dynamodb, ecs, ec2, rds. // +kubebuilder:validation:Required ServiceNamespace *string `json:"serviceNamespace" tf:"service_namespace,omitempty"` // The structure that defines new target tracking configurations. Each of these structures includes a specific scaling metric and a target value for the metric, along with various parameters to use with dynamic scaling. // More details can be found in the AWS Auto Scaling API Reference. // +kubebuilder:validation:Required TargetTrackingConfiguration []TargetTrackingConfigurationParameters `json:"targetTrackingConfiguration" tf:"target_tracking_configuration,omitempty"` }
func (*ScalingInstructionParameters) DeepCopy ¶
func (in *ScalingInstructionParameters) DeepCopy() *ScalingInstructionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalingInstructionParameters.
func (*ScalingInstructionParameters) DeepCopyInto ¶
func (in *ScalingInstructionParameters) DeepCopyInto(out *ScalingInstructionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScalingPlan ¶
type ScalingPlan struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ScalingPlanSpec `json:"spec"` Status ScalingPlanStatus `json:"status,omitempty"` }
ScalingPlan is the Schema for the ScalingPlans API. Manages an AWS Auto Scaling scaling plan. +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 (*ScalingPlan) DeepCopy ¶
func (in *ScalingPlan) DeepCopy() *ScalingPlan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalingPlan.
func (*ScalingPlan) DeepCopyInto ¶
func (in *ScalingPlan) DeepCopyInto(out *ScalingPlan)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScalingPlan) DeepCopyObject ¶
func (in *ScalingPlan) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ScalingPlan) GetCondition ¶
func (mg *ScalingPlan) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ScalingPlan.
func (*ScalingPlan) GetConnectionDetailsMapping ¶
func (tr *ScalingPlan) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ScalingPlan
func (*ScalingPlan) GetDeletionPolicy ¶
func (mg *ScalingPlan) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ScalingPlan.
func (*ScalingPlan) GetID ¶
func (tr *ScalingPlan) GetID() string
GetID returns ID of underlying Terraform resource of this ScalingPlan
func (*ScalingPlan) GetObservation ¶
func (tr *ScalingPlan) GetObservation() (map[string]any, error)
GetObservation of this ScalingPlan
func (*ScalingPlan) GetParameters ¶
func (tr *ScalingPlan) GetParameters() (map[string]any, error)
GetParameters of this ScalingPlan
func (*ScalingPlan) GetProviderConfigReference ¶
func (mg *ScalingPlan) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ScalingPlan.
func (*ScalingPlan) GetProviderReference ¶
func (mg *ScalingPlan) GetProviderReference() *xpv1.Reference
GetProviderReference of this ScalingPlan. Deprecated: Use GetProviderConfigReference.
func (*ScalingPlan) GetPublishConnectionDetailsTo ¶
func (mg *ScalingPlan) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ScalingPlan.
func (*ScalingPlan) GetTerraformResourceType ¶
func (mg *ScalingPlan) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ScalingPlan
func (*ScalingPlan) GetTerraformSchemaVersion ¶
func (tr *ScalingPlan) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ScalingPlan) GetWriteConnectionSecretToReference ¶
func (mg *ScalingPlan) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ScalingPlan.
func (*ScalingPlan) LateInitialize ¶
func (tr *ScalingPlan) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ScalingPlan using its observed tfState. returns True if there are any spec changes for the resource.
func (*ScalingPlan) SetConditions ¶
func (mg *ScalingPlan) SetConditions(c ...xpv1.Condition)
SetConditions of this ScalingPlan.
func (*ScalingPlan) SetDeletionPolicy ¶
func (mg *ScalingPlan) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ScalingPlan.
func (*ScalingPlan) SetObservation ¶
func (tr *ScalingPlan) SetObservation(obs map[string]any) error
SetObservation for this ScalingPlan
func (*ScalingPlan) SetParameters ¶
func (tr *ScalingPlan) SetParameters(params map[string]any) error
SetParameters for this ScalingPlan
func (*ScalingPlan) SetProviderConfigReference ¶
func (mg *ScalingPlan) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ScalingPlan.
func (*ScalingPlan) SetProviderReference ¶
func (mg *ScalingPlan) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this ScalingPlan. Deprecated: Use SetProviderConfigReference.
func (*ScalingPlan) SetPublishConnectionDetailsTo ¶
func (mg *ScalingPlan) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ScalingPlan.
func (*ScalingPlan) SetWriteConnectionSecretToReference ¶
func (mg *ScalingPlan) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ScalingPlan.
type ScalingPlanList ¶
type ScalingPlanList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ScalingPlan `json:"items"` }
ScalingPlanList contains a list of ScalingPlans
func (*ScalingPlanList) DeepCopy ¶
func (in *ScalingPlanList) DeepCopy() *ScalingPlanList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalingPlanList.
func (*ScalingPlanList) DeepCopyInto ¶
func (in *ScalingPlanList) DeepCopyInto(out *ScalingPlanList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScalingPlanList) DeepCopyObject ¶
func (in *ScalingPlanList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ScalingPlanList) GetItems ¶
func (l *ScalingPlanList) GetItems() []resource.Managed
GetItems of this ScalingPlanList.
type ScalingPlanObservation ¶
type ScalingPlanObservation struct { // The scaling plan identifier. ID *string `json:"id,omitempty" tf:"id,omitempty"` // The version number of the scaling plan. This value is always 1. ScalingPlanVersion *float64 `json:"scalingPlanVersion,omitempty" tf:"scaling_plan_version,omitempty"` }
func (*ScalingPlanObservation) DeepCopy ¶
func (in *ScalingPlanObservation) DeepCopy() *ScalingPlanObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalingPlanObservation.
func (*ScalingPlanObservation) DeepCopyInto ¶
func (in *ScalingPlanObservation) DeepCopyInto(out *ScalingPlanObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScalingPlanParameters ¶
type ScalingPlanParameters struct { // A CloudFormation stack or set of tags. You can create one scaling plan per application source. // +kubebuilder:validation:Required ApplicationSource []ApplicationSourceParameters `json:"applicationSource" tf:"application_source,omitempty"` // The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // Region is the region you'd like your resource to be created in. // +upjet:crd:field:TFTag=- // +kubebuilder:validation:Required Region *string `json:"region" tf:"-"` // The scaling instructions. More details can be found in the AWS Auto Scaling API Reference. // +kubebuilder:validation:Required ScalingInstruction []ScalingInstructionParameters `json:"scalingInstruction" tf:"scaling_instruction,omitempty"` }
func (*ScalingPlanParameters) DeepCopy ¶
func (in *ScalingPlanParameters) DeepCopy() *ScalingPlanParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalingPlanParameters.
func (*ScalingPlanParameters) DeepCopyInto ¶
func (in *ScalingPlanParameters) DeepCopyInto(out *ScalingPlanParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScalingPlanSpec ¶
type ScalingPlanSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ScalingPlanParameters `json:"forProvider"` }
ScalingPlanSpec defines the desired state of ScalingPlan
func (*ScalingPlanSpec) DeepCopy ¶
func (in *ScalingPlanSpec) DeepCopy() *ScalingPlanSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalingPlanSpec.
func (*ScalingPlanSpec) DeepCopyInto ¶
func (in *ScalingPlanSpec) DeepCopyInto(out *ScalingPlanSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScalingPlanStatus ¶
type ScalingPlanStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ScalingPlanObservation `json:"atProvider,omitempty"` }
ScalingPlanStatus defines the observed state of ScalingPlan.
func (*ScalingPlanStatus) DeepCopy ¶
func (in *ScalingPlanStatus) DeepCopy() *ScalingPlanStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalingPlanStatus.
func (*ScalingPlanStatus) DeepCopyInto ¶
func (in *ScalingPlanStatus) DeepCopyInto(out *ScalingPlanStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagFilterObservation ¶
type TagFilterObservation struct { }
func (*TagFilterObservation) DeepCopy ¶
func (in *TagFilterObservation) DeepCopy() *TagFilterObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagFilterObservation.
func (*TagFilterObservation) DeepCopyInto ¶
func (in *TagFilterObservation) DeepCopyInto(out *TagFilterObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagFilterParameters ¶
type TagFilterParameters struct { // The tag key. // +kubebuilder:validation:Required Key *string `json:"key" tf:"key,omitempty"` // The tag values. // +kubebuilder:validation:Optional Values []*string `json:"values,omitempty" tf:"values,omitempty"` }
func (*TagFilterParameters) DeepCopy ¶
func (in *TagFilterParameters) DeepCopy() *TagFilterParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagFilterParameters.
func (*TagFilterParameters) DeepCopyInto ¶
func (in *TagFilterParameters) DeepCopyInto(out *TagFilterParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetTrackingConfigurationObservation ¶
type TargetTrackingConfigurationObservation struct { }
func (*TargetTrackingConfigurationObservation) DeepCopy ¶
func (in *TargetTrackingConfigurationObservation) DeepCopy() *TargetTrackingConfigurationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetTrackingConfigurationObservation.
func (*TargetTrackingConfigurationObservation) DeepCopyInto ¶
func (in *TargetTrackingConfigurationObservation) DeepCopyInto(out *TargetTrackingConfigurationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetTrackingConfigurationParameters ¶
type TargetTrackingConfigurationParameters struct { // A customized metric. You can specify either customized_scaling_metric_specification or predefined_scaling_metric_specification. // More details can be found in the AWS Auto Scaling API Reference. // +kubebuilder:validation:Optional CustomizedScalingMetricSpecification []CustomizedScalingMetricSpecificationParameters `json:"customizedScalingMetricSpecification,omitempty" tf:"customized_scaling_metric_specification,omitempty"` // Boolean indicating whether scale in by the target tracking scaling policy is disabled. Defaults to false. // +kubebuilder:validation:Optional DisableScaleIn *bool `json:"disableScaleIn,omitempty" tf:"disable_scale_in,omitempty"` // The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. // This value is used only if the resource is an Auto Scaling group. // +kubebuilder:validation:Optional EstimatedInstanceWarmup *float64 `json:"estimatedInstanceWarmup,omitempty" tf:"estimated_instance_warmup,omitempty"` // A predefined metric. You can specify either predefined_scaling_metric_specification or customized_scaling_metric_specification. // More details can be found in the AWS Auto Scaling API Reference. // +kubebuilder:validation:Optional PredefinedScalingMetricSpecification []PredefinedScalingMetricSpecificationParameters `json:"predefinedScalingMetricSpecification,omitempty" tf:"predefined_scaling_metric_specification,omitempty"` // The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. // This value is not used if the scalable resource is an Auto Scaling group. // +kubebuilder:validation:Optional ScaleInCooldown *float64 `json:"scaleInCooldown,omitempty" tf:"scale_in_cooldown,omitempty"` // The amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start. // This value is not used if the scalable resource is an Auto Scaling group. // +kubebuilder:validation:Optional ScaleOutCooldown *float64 `json:"scaleOutCooldown,omitempty" tf:"scale_out_cooldown,omitempty"` // The target value for the metric. // +kubebuilder:validation:Required TargetValue *float64 `json:"targetValue" tf:"target_value,omitempty"` }
func (*TargetTrackingConfigurationParameters) DeepCopy ¶
func (in *TargetTrackingConfigurationParameters) DeepCopy() *TargetTrackingConfigurationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetTrackingConfigurationParameters.
func (*TargetTrackingConfigurationParameters) DeepCopyInto ¶
func (in *TargetTrackingConfigurationParameters) DeepCopyInto(out *TargetTrackingConfigurationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.