Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=appautoscaling.aws.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type CustomizedMetricSpecificationObservation
- type CustomizedMetricSpecificationParameters
- type DimensionsObservation
- type DimensionsParameters
- type Policy
- func (in *Policy) DeepCopy() *Policy
- func (in *Policy) DeepCopyInto(out *Policy)
- func (in *Policy) DeepCopyObject() runtime.Object
- func (mg *Policy) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Policy) GetConnectionDetailsMapping() map[string]string
- func (mg *Policy) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Policy) GetID() string
- func (mg *Policy) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *Policy) GetObservation() (map[string]any, error)
- func (tr *Policy) GetParameters() (map[string]any, error)
- func (mg *Policy) GetProviderConfigReference() *xpv1.Reference
- func (mg *Policy) GetProviderReference() *xpv1.Reference
- func (mg *Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Policy) GetTerraformResourceType() string
- func (tr *Policy) GetTerraformSchemaVersion() int
- func (mg *Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Policy) LateInitialize(attrs []byte) (bool, error)
- func (mg *Policy) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Policy) SetConditions(c ...xpv1.Condition)
- func (mg *Policy) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Policy) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *Policy) SetObservation(obs map[string]any) error
- func (tr *Policy) SetParameters(params map[string]any) error
- func (mg *Policy) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Policy) SetProviderReference(r *xpv1.Reference)
- func (mg *Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Policy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PolicyList
- type PolicyObservation
- type PolicyParameters
- type PolicySpec
- type PolicyStatus
- type PredefinedMetricSpecificationObservation
- type PredefinedMetricSpecificationParameters
- type ScalableTargetActionObservation
- type ScalableTargetActionParameters
- type ScheduledAction
- func (in *ScheduledAction) DeepCopy() *ScheduledAction
- func (in *ScheduledAction) DeepCopyInto(out *ScheduledAction)
- func (in *ScheduledAction) DeepCopyObject() runtime.Object
- func (mg *ScheduledAction) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ScheduledAction) GetConnectionDetailsMapping() map[string]string
- func (mg *ScheduledAction) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ScheduledAction) GetID() string
- func (mg *ScheduledAction) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *ScheduledAction) GetObservation() (map[string]any, error)
- func (tr *ScheduledAction) GetParameters() (map[string]any, error)
- func (mg *ScheduledAction) GetProviderConfigReference() *xpv1.Reference
- func (mg *ScheduledAction) GetProviderReference() *xpv1.Reference
- func (mg *ScheduledAction) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ScheduledAction) GetTerraformResourceType() string
- func (tr *ScheduledAction) GetTerraformSchemaVersion() int
- func (mg *ScheduledAction) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ScheduledAction) LateInitialize(attrs []byte) (bool, error)
- func (mg *ScheduledAction) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *ScheduledAction) SetConditions(c ...xpv1.Condition)
- func (mg *ScheduledAction) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ScheduledAction) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *ScheduledAction) SetObservation(obs map[string]any) error
- func (tr *ScheduledAction) SetParameters(params map[string]any) error
- func (mg *ScheduledAction) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ScheduledAction) SetProviderReference(r *xpv1.Reference)
- func (mg *ScheduledAction) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ScheduledAction) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ScheduledActionList
- type ScheduledActionObservation
- type ScheduledActionParameters
- type ScheduledActionSpec
- type ScheduledActionStatus
- type StepAdjustmentObservation
- type StepAdjustmentParameters
- type StepScalingPolicyConfigurationObservation
- type StepScalingPolicyConfigurationParameters
- type Target
- func (in *Target) DeepCopy() *Target
- func (in *Target) DeepCopyInto(out *Target)
- func (in *Target) DeepCopyObject() runtime.Object
- func (mg *Target) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Target) GetConnectionDetailsMapping() map[string]string
- func (mg *Target) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Target) GetID() string
- func (mg *Target) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *Target) GetObservation() (map[string]any, error)
- func (tr *Target) GetParameters() (map[string]any, error)
- func (mg *Target) GetProviderConfigReference() *xpv1.Reference
- func (mg *Target) GetProviderReference() *xpv1.Reference
- func (mg *Target) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Target) GetTerraformResourceType() string
- func (tr *Target) GetTerraformSchemaVersion() int
- func (mg *Target) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Target) LateInitialize(attrs []byte) (bool, error)
- func (mg *Target) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Target) SetConditions(c ...xpv1.Condition)
- func (mg *Target) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Target) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *Target) SetObservation(obs map[string]any) error
- func (tr *Target) SetParameters(params map[string]any) error
- func (mg *Target) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Target) SetProviderReference(r *xpv1.Reference)
- func (mg *Target) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Target) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type TargetList
- type TargetObservation
- type TargetParameters
- type TargetSpec
- type TargetStatus
- type TargetTrackingScalingPolicyConfigurationObservation
- type TargetTrackingScalingPolicyConfigurationParameters
Constants ¶
const ( CRDGroup = "appautoscaling.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 ( Policy_Kind = "Policy" Policy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Policy_Kind}.String() Policy_KindAPIVersion = Policy_Kind + "." + CRDGroupVersion.String() Policy_GroupVersionKind = CRDGroupVersion.WithKind(Policy_Kind) )
Repository type metadata.
var ( ScheduledAction_Kind = "ScheduledAction" ScheduledAction_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ScheduledAction_Kind}.String() ScheduledAction_KindAPIVersion = ScheduledAction_Kind + "." + CRDGroupVersion.String() ScheduledAction_GroupVersionKind = CRDGroupVersion.WithKind(ScheduledAction_Kind) )
Repository type metadata.
var ( Target_Kind = "Target" Target_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Target_Kind}.String() Target_KindAPIVersion = Target_Kind + "." + CRDGroupVersion.String() Target_GroupVersionKind = CRDGroupVersion.WithKind(Target_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type CustomizedMetricSpecificationObservation ¶
type CustomizedMetricSpecificationObservation struct { // Configuration block(s) with the dimensions of the metric if the metric was published with dimensions. Detailed below. Dimensions []DimensionsObservation `json:"dimensions,omitempty" tf:"dimensions,omitempty"` // Name of the metric. MetricName *string `json:"metricName,omitempty" tf:"metric_name,omitempty"` // Namespace of the metric. Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // Statistic of the metric. Valid values: Average, Minimum, Maximum, SampleCount, and Sum. Statistic *string `json:"statistic,omitempty" tf:"statistic,omitempty"` // Unit of the metric. Unit *string `json:"unit,omitempty" tf:"unit,omitempty"` }
func (*CustomizedMetricSpecificationObservation) DeepCopy ¶
func (in *CustomizedMetricSpecificationObservation) DeepCopy() *CustomizedMetricSpecificationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomizedMetricSpecificationObservation.
func (*CustomizedMetricSpecificationObservation) DeepCopyInto ¶
func (in *CustomizedMetricSpecificationObservation) DeepCopyInto(out *CustomizedMetricSpecificationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomizedMetricSpecificationParameters ¶
type CustomizedMetricSpecificationParameters struct { // Configuration block(s) with the dimensions of the metric if the metric was published with dimensions. Detailed below. // +kubebuilder:validation:Optional Dimensions []DimensionsParameters `json:"dimensions,omitempty" tf:"dimensions,omitempty"` // Name of the metric. // +kubebuilder:validation:Required MetricName *string `json:"metricName" tf:"metric_name,omitempty"` // Namespace of the metric. // +kubebuilder:validation:Required Namespace *string `json:"namespace" tf:"namespace,omitempty"` // Statistic of the metric. Valid values: Average, Minimum, Maximum, SampleCount, and Sum. // +kubebuilder:validation:Required Statistic *string `json:"statistic" tf:"statistic,omitempty"` // Unit of the metric. // +kubebuilder:validation:Optional Unit *string `json:"unit,omitempty" tf:"unit,omitempty"` }
func (*CustomizedMetricSpecificationParameters) DeepCopy ¶
func (in *CustomizedMetricSpecificationParameters) DeepCopy() *CustomizedMetricSpecificationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomizedMetricSpecificationParameters.
func (*CustomizedMetricSpecificationParameters) DeepCopyInto ¶
func (in *CustomizedMetricSpecificationParameters) DeepCopyInto(out *CustomizedMetricSpecificationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DimensionsObservation ¶
type DimensionsObservation struct { // Name of the dimension. Name *string `json:"name,omitempty" tf:"name,omitempty"` // Value of the dimension. Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*DimensionsObservation) DeepCopy ¶
func (in *DimensionsObservation) DeepCopy() *DimensionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DimensionsObservation.
func (*DimensionsObservation) DeepCopyInto ¶
func (in *DimensionsObservation) DeepCopyInto(out *DimensionsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DimensionsParameters ¶
type DimensionsParameters struct { // Name of the dimension. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // Value of the dimension. // +kubebuilder:validation:Required Value *string `json:"value" tf:"value,omitempty"` }
func (*DimensionsParameters) DeepCopy ¶
func (in *DimensionsParameters) DeepCopy() *DimensionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DimensionsParameters.
func (*DimensionsParameters) DeepCopyInto ¶
func (in *DimensionsParameters) DeepCopyInto(out *DimensionsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Policy ¶
type Policy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PolicySpec `json:"spec"` Status PolicyStatus `json:"status,omitempty"` }
Policy is the Schema for the Policys API. Provides an Application AutoScaling Policy resource. +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 (*Policy) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (*Policy) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Policy) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Policy) GetCondition ¶
func (mg *Policy) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Policy.
func (*Policy) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Policy
func (*Policy) GetDeletionPolicy ¶
func (mg *Policy) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Policy.
func (*Policy) GetManagementPolicy ¶
func (mg *Policy) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this Policy.
func (*Policy) GetObservation ¶
GetObservation of this Policy
func (*Policy) GetParameters ¶
GetParameters of this Policy
func (*Policy) GetProviderConfigReference ¶
GetProviderConfigReference of this Policy.
func (*Policy) GetProviderReference ¶
GetProviderReference of this Policy. Deprecated: Use GetProviderConfigReference.
func (*Policy) GetPublishConnectionDetailsTo ¶
func (mg *Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Policy.
func (*Policy) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Policy
func (*Policy) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Policy) GetWriteConnectionSecretToReference ¶
func (mg *Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Policy.
func (*Policy) LateInitialize ¶
LateInitialize this Policy using its observed tfState. returns True if there are any spec changes for the resource.
func (*Policy) ResolveReferences ¶
ResolveReferences of this Policy.
func (*Policy) SetConditions ¶
SetConditions of this Policy.
func (*Policy) SetDeletionPolicy ¶
func (mg *Policy) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Policy.
func (*Policy) SetManagementPolicy ¶
func (mg *Policy) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this Policy.
func (*Policy) SetObservation ¶
SetObservation for this Policy
func (*Policy) SetParameters ¶
SetParameters for this Policy
func (*Policy) SetProviderConfigReference ¶
SetProviderConfigReference of this Policy.
func (*Policy) SetProviderReference ¶
SetProviderReference of this Policy. Deprecated: Use SetProviderConfigReference.
func (*Policy) SetPublishConnectionDetailsTo ¶
func (mg *Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Policy.
func (*Policy) SetWriteConnectionSecretToReference ¶
func (mg *Policy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Policy.
type PolicyList ¶
type PolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Policy `json:"items"` }
PolicyList contains a list of Policys
func (*PolicyList) DeepCopy ¶
func (in *PolicyList) DeepCopy() *PolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList.
func (*PolicyList) DeepCopyInto ¶
func (in *PolicyList) DeepCopyInto(out *PolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyList) DeepCopyObject ¶
func (in *PolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PolicyList) GetItems ¶
func (l *PolicyList) GetItems() []resource.Managed
GetItems of this PolicyList.
type PolicyObservation ¶
type PolicyObservation struct { // List of CloudWatch alarm ARNs associated with the scaling policy. AlarmArns []*string `json:"alarmArns,omitempty" tf:"alarm_arns,omitempty"` // ARN assigned by AWS to the scaling policy. Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Policy type. Valid values are StepScaling and TargetTrackingScaling. Defaults to StepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies and Step Scaling Policies documentation. PolicyType *string `json:"policyType,omitempty" tf:"policy_type,omitempty"` // Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` // Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference ScalableDimension *string `json:"scalableDimension,omitempty" tf:"scalable_dimension,omitempty"` // AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference ServiceNamespace *string `json:"serviceNamespace,omitempty" tf:"service_namespace,omitempty"` // Step scaling policy configuration, requires policy_type = "StepScaling" (default). See supported fields below. StepScalingPolicyConfiguration []StepScalingPolicyConfigurationObservation `json:"stepScalingPolicyConfiguration,omitempty" tf:"step_scaling_policy_configuration,omitempty"` // Target tracking policy, requires policy_type = "TargetTrackingScaling". See supported fields below. TargetTrackingScalingPolicyConfiguration []TargetTrackingScalingPolicyConfigurationObservation `json:"targetTrackingScalingPolicyConfiguration,omitempty" tf:"target_tracking_scaling_policy_configuration,omitempty"` }
func (*PolicyObservation) DeepCopy ¶
func (in *PolicyObservation) DeepCopy() *PolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyObservation.
func (*PolicyObservation) DeepCopyInto ¶
func (in *PolicyObservation) DeepCopyInto(out *PolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyParameters ¶
type PolicyParameters struct { // Policy type. Valid values are StepScaling and TargetTrackingScaling. Defaults to StepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies and Step Scaling Policies documentation. // +kubebuilder:validation:Optional PolicyType *string `json:"policyType,omitempty" tf:"policy_type,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:"-"` // Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference // +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/appautoscaling/v1beta1.Target // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("resource_id",false) // +kubebuilder:validation:Optional ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` // Reference to a Target in appautoscaling to populate resourceId. // +kubebuilder:validation:Optional ResourceIDRef *v1.Reference `json:"resourceIdRef,omitempty" tf:"-"` // Selector for a Target in appautoscaling to populate resourceId. // +kubebuilder:validation:Optional ResourceIDSelector *v1.Selector `json:"resourceIdSelector,omitempty" tf:"-"` // Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference // +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/appautoscaling/v1beta1.Target // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("scalable_dimension",false) // +kubebuilder:validation:Optional ScalableDimension *string `json:"scalableDimension,omitempty" tf:"scalable_dimension,omitempty"` // Reference to a Target in appautoscaling to populate scalableDimension. // +kubebuilder:validation:Optional ScalableDimensionRef *v1.Reference `json:"scalableDimensionRef,omitempty" tf:"-"` // Selector for a Target in appautoscaling to populate scalableDimension. // +kubebuilder:validation:Optional ScalableDimensionSelector *v1.Selector `json:"scalableDimensionSelector,omitempty" tf:"-"` // AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference // +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/appautoscaling/v1beta1.Target // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("service_namespace",false) // +kubebuilder:validation:Optional ServiceNamespace *string `json:"serviceNamespace,omitempty" tf:"service_namespace,omitempty"` // Reference to a Target in appautoscaling to populate serviceNamespace. // +kubebuilder:validation:Optional ServiceNamespaceRef *v1.Reference `json:"serviceNamespaceRef,omitempty" tf:"-"` // Selector for a Target in appautoscaling to populate serviceNamespace. // +kubebuilder:validation:Optional ServiceNamespaceSelector *v1.Selector `json:"serviceNamespaceSelector,omitempty" tf:"-"` // Step scaling policy configuration, requires policy_type = "StepScaling" (default). See supported fields below. // +kubebuilder:validation:Optional StepScalingPolicyConfiguration []StepScalingPolicyConfigurationParameters `json:"stepScalingPolicyConfiguration,omitempty" tf:"step_scaling_policy_configuration,omitempty"` // Target tracking policy, requires policy_type = "TargetTrackingScaling". See supported fields below. // +kubebuilder:validation:Optional TargetTrackingScalingPolicyConfiguration []TargetTrackingScalingPolicyConfigurationParameters `json:"targetTrackingScalingPolicyConfiguration,omitempty" tf:"target_tracking_scaling_policy_configuration,omitempty"` }
func (*PolicyParameters) DeepCopy ¶
func (in *PolicyParameters) DeepCopy() *PolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyParameters.
func (*PolicyParameters) DeepCopyInto ¶
func (in *PolicyParameters) DeepCopyInto(out *PolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicySpec ¶
type PolicySpec struct { v1.ResourceSpec `json:",inline"` ForProvider PolicyParameters `json:"forProvider"` }
PolicySpec defines the desired state of Policy
func (*PolicySpec) DeepCopy ¶
func (in *PolicySpec) DeepCopy() *PolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec.
func (*PolicySpec) DeepCopyInto ¶
func (in *PolicySpec) DeepCopyInto(out *PolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyStatus ¶
type PolicyStatus struct { v1.ResourceStatus `json:",inline"` AtProvider PolicyObservation `json:"atProvider,omitempty"` }
PolicyStatus defines the observed state of Policy.
func (*PolicyStatus) DeepCopy ¶
func (in *PolicyStatus) DeepCopy() *PolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyStatus.
func (*PolicyStatus) DeepCopyInto ¶
func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PredefinedMetricSpecificationObservation ¶
type PredefinedMetricSpecificationObservation struct { // Metric type. PredefinedMetricType *string `json:"predefinedMetricType,omitempty" tf:"predefined_metric_type,omitempty"` // Reserved for future use if the predefined_metric_type is not ALBRequestCountPerTarget. If the predefined_metric_type is ALBRequestCountPerTarget, you must specify this argument. Documentation can be found at: AWS Predefined Scaling Metric Specification. Must be less than or equal to 1023 characters in length. ResourceLabel *string `json:"resourceLabel,omitempty" tf:"resource_label,omitempty"` }
func (*PredefinedMetricSpecificationObservation) DeepCopy ¶
func (in *PredefinedMetricSpecificationObservation) DeepCopy() *PredefinedMetricSpecificationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredefinedMetricSpecificationObservation.
func (*PredefinedMetricSpecificationObservation) DeepCopyInto ¶
func (in *PredefinedMetricSpecificationObservation) DeepCopyInto(out *PredefinedMetricSpecificationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PredefinedMetricSpecificationParameters ¶
type PredefinedMetricSpecificationParameters struct { // Metric type. // +kubebuilder:validation:Required PredefinedMetricType *string `json:"predefinedMetricType" tf:"predefined_metric_type,omitempty"` // Reserved for future use if the predefined_metric_type is not ALBRequestCountPerTarget. If the predefined_metric_type is ALBRequestCountPerTarget, you must specify this argument. Documentation can be found at: AWS Predefined Scaling Metric Specification. Must be less than or equal to 1023 characters in length. // +kubebuilder:validation:Optional ResourceLabel *string `json:"resourceLabel,omitempty" tf:"resource_label,omitempty"` }
func (*PredefinedMetricSpecificationParameters) DeepCopy ¶
func (in *PredefinedMetricSpecificationParameters) DeepCopy() *PredefinedMetricSpecificationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredefinedMetricSpecificationParameters.
func (*PredefinedMetricSpecificationParameters) DeepCopyInto ¶
func (in *PredefinedMetricSpecificationParameters) DeepCopyInto(out *PredefinedMetricSpecificationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScalableTargetActionObservation ¶
type ScalableTargetActionObservation struct { // Maximum capacity. At least one of max_capacity or min_capacity must be set. MaxCapacity *string `json:"maxCapacity,omitempty" tf:"max_capacity,omitempty"` // Minimum capacity. At least one of min_capacity or max_capacity must be set. MinCapacity *string `json:"minCapacity,omitempty" tf:"min_capacity,omitempty"` }
func (*ScalableTargetActionObservation) DeepCopy ¶
func (in *ScalableTargetActionObservation) DeepCopy() *ScalableTargetActionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalableTargetActionObservation.
func (*ScalableTargetActionObservation) DeepCopyInto ¶
func (in *ScalableTargetActionObservation) DeepCopyInto(out *ScalableTargetActionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScalableTargetActionParameters ¶
type ScalableTargetActionParameters struct { // Maximum capacity. At least one of max_capacity or min_capacity must be set. // +kubebuilder:validation:Optional MaxCapacity *string `json:"maxCapacity,omitempty" tf:"max_capacity,omitempty"` // Minimum capacity. At least one of min_capacity or max_capacity must be set. // +kubebuilder:validation:Optional MinCapacity *string `json:"minCapacity,omitempty" tf:"min_capacity,omitempty"` }
func (*ScalableTargetActionParameters) DeepCopy ¶
func (in *ScalableTargetActionParameters) DeepCopy() *ScalableTargetActionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalableTargetActionParameters.
func (*ScalableTargetActionParameters) DeepCopyInto ¶
func (in *ScalableTargetActionParameters) DeepCopyInto(out *ScalableTargetActionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledAction ¶
type ScheduledAction struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.scalableTargetAction)",message="scalableTargetAction is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.schedule)",message="schedule is a required parameter" Spec ScheduledActionSpec `json:"spec"` Status ScheduledActionStatus `json:"status,omitempty"` }
ScheduledAction is the Schema for the ScheduledActions API. Provides an Application AutoScaling ScheduledAction resource. +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 (*ScheduledAction) DeepCopy ¶
func (in *ScheduledAction) DeepCopy() *ScheduledAction
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledAction.
func (*ScheduledAction) DeepCopyInto ¶
func (in *ScheduledAction) DeepCopyInto(out *ScheduledAction)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScheduledAction) DeepCopyObject ¶
func (in *ScheduledAction) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ScheduledAction) GetCondition ¶
func (mg *ScheduledAction) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ScheduledAction.
func (*ScheduledAction) GetConnectionDetailsMapping ¶
func (tr *ScheduledAction) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ScheduledAction
func (*ScheduledAction) GetDeletionPolicy ¶
func (mg *ScheduledAction) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ScheduledAction.
func (*ScheduledAction) GetID ¶
func (tr *ScheduledAction) GetID() string
GetID returns ID of underlying Terraform resource of this ScheduledAction
func (*ScheduledAction) GetManagementPolicy ¶
func (mg *ScheduledAction) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this ScheduledAction.
func (*ScheduledAction) GetObservation ¶
func (tr *ScheduledAction) GetObservation() (map[string]any, error)
GetObservation of this ScheduledAction
func (*ScheduledAction) GetParameters ¶
func (tr *ScheduledAction) GetParameters() (map[string]any, error)
GetParameters of this ScheduledAction
func (*ScheduledAction) GetProviderConfigReference ¶
func (mg *ScheduledAction) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ScheduledAction.
func (*ScheduledAction) GetProviderReference ¶
func (mg *ScheduledAction) GetProviderReference() *xpv1.Reference
GetProviderReference of this ScheduledAction. Deprecated: Use GetProviderConfigReference.
func (*ScheduledAction) GetPublishConnectionDetailsTo ¶
func (mg *ScheduledAction) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ScheduledAction.
func (*ScheduledAction) GetTerraformResourceType ¶
func (mg *ScheduledAction) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ScheduledAction
func (*ScheduledAction) GetTerraformSchemaVersion ¶
func (tr *ScheduledAction) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ScheduledAction) GetWriteConnectionSecretToReference ¶
func (mg *ScheduledAction) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ScheduledAction.
func (*ScheduledAction) LateInitialize ¶
func (tr *ScheduledAction) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ScheduledAction using its observed tfState. returns True if there are any spec changes for the resource.
func (*ScheduledAction) ResolveReferences ¶
ResolveReferences of this ScheduledAction.
func (*ScheduledAction) SetConditions ¶
func (mg *ScheduledAction) SetConditions(c ...xpv1.Condition)
SetConditions of this ScheduledAction.
func (*ScheduledAction) SetDeletionPolicy ¶
func (mg *ScheduledAction) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ScheduledAction.
func (*ScheduledAction) SetManagementPolicy ¶
func (mg *ScheduledAction) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this ScheduledAction.
func (*ScheduledAction) SetObservation ¶
func (tr *ScheduledAction) SetObservation(obs map[string]any) error
SetObservation for this ScheduledAction
func (*ScheduledAction) SetParameters ¶
func (tr *ScheduledAction) SetParameters(params map[string]any) error
SetParameters for this ScheduledAction
func (*ScheduledAction) SetProviderConfigReference ¶
func (mg *ScheduledAction) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ScheduledAction.
func (*ScheduledAction) SetProviderReference ¶
func (mg *ScheduledAction) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this ScheduledAction. Deprecated: Use SetProviderConfigReference.
func (*ScheduledAction) SetPublishConnectionDetailsTo ¶
func (mg *ScheduledAction) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ScheduledAction.
func (*ScheduledAction) SetWriteConnectionSecretToReference ¶
func (mg *ScheduledAction) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ScheduledAction.
type ScheduledActionList ¶
type ScheduledActionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ScheduledAction `json:"items"` }
ScheduledActionList contains a list of ScheduledActions
func (*ScheduledActionList) DeepCopy ¶
func (in *ScheduledActionList) DeepCopy() *ScheduledActionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledActionList.
func (*ScheduledActionList) DeepCopyInto ¶
func (in *ScheduledActionList) DeepCopyInto(out *ScheduledActionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScheduledActionList) DeepCopyObject ¶
func (in *ScheduledActionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ScheduledActionList) GetItems ¶
func (l *ScheduledActionList) GetItems() []resource.Managed
GetItems of this ScheduledActionList.
type ScheduledActionObservation ¶
type ScheduledActionObservation struct { // ARN of the scheduled action. Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` // Date and time for the scheduled action to end in RFC 3339 format. The timezone is not affected by the setting of timezone. EndTime *string `json:"endTime,omitempty" tf:"end_time,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Name of the scheduled action. Name *string `json:"name,omitempty" tf:"name,omitempty"` // Identifier of the resource associated with the scheduled action. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` // Scalable dimension. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference Example: ecs:service:DesiredCount ScalableDimension *string `json:"scalableDimension,omitempty" tf:"scalable_dimension,omitempty"` // New minimum and maximum capacity. You can set both values or just one. See below ScalableTargetAction []ScalableTargetActionObservation `json:"scalableTargetAction,omitempty" tf:"scalable_target_action,omitempty"` // Schedule for this action. The following formats are supported: At expressions - at(yyyy-mm-ddThh:mm:ss), Rate expressions - rate(valueunit), Cron expressions - cron(fields). Times for at expressions and cron expressions are evaluated using the time zone configured in timezone. Documentation can be found in the Timezone parameter at: AWS Application Auto Scaling API Reference Schedule *string `json:"schedule,omitempty" tf:"schedule,omitempty"` // Namespace of the AWS service. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference Example: ecs ServiceNamespace *string `json:"serviceNamespace,omitempty" tf:"service_namespace,omitempty"` // Date and time for the scheduled action to start in RFC 3339 format. The timezone is not affected by the setting of timezone. StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"` // Time zone used when setting a scheduled action by using an at or cron expression. Does not affect timezone for start_time and end_time. Valid values are the canonical names of the IANA time zones supported by Joda-Time, such as Etc/GMT+9 or Pacific/Tahiti. Default is UTC. Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` }
func (*ScheduledActionObservation) DeepCopy ¶
func (in *ScheduledActionObservation) DeepCopy() *ScheduledActionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledActionObservation.
func (*ScheduledActionObservation) DeepCopyInto ¶
func (in *ScheduledActionObservation) DeepCopyInto(out *ScheduledActionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledActionParameters ¶
type ScheduledActionParameters struct { // Date and time for the scheduled action to end in RFC 3339 format. The timezone is not affected by the setting of timezone. // +kubebuilder:validation:Optional EndTime *string `json:"endTime,omitempty" tf:"end_time,omitempty"` // Name of the scheduled action. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" 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:"-"` // Identifier of the resource associated with the scheduled action. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference // +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/appautoscaling/v1beta1.Target // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("resource_id",false) // +kubebuilder:validation:Optional ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` // Reference to a Target in appautoscaling to populate resourceId. // +kubebuilder:validation:Optional ResourceIDRef *v1.Reference `json:"resourceIdRef,omitempty" tf:"-"` // Selector for a Target in appautoscaling to populate resourceId. // +kubebuilder:validation:Optional ResourceIDSelector *v1.Selector `json:"resourceIdSelector,omitempty" tf:"-"` // Scalable dimension. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference Example: ecs:service:DesiredCount // +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/appautoscaling/v1beta1.Target // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("scalable_dimension",false) // +kubebuilder:validation:Optional ScalableDimension *string `json:"scalableDimension,omitempty" tf:"scalable_dimension,omitempty"` // Reference to a Target in appautoscaling to populate scalableDimension. // +kubebuilder:validation:Optional ScalableDimensionRef *v1.Reference `json:"scalableDimensionRef,omitempty" tf:"-"` // Selector for a Target in appautoscaling to populate scalableDimension. // +kubebuilder:validation:Optional ScalableDimensionSelector *v1.Selector `json:"scalableDimensionSelector,omitempty" tf:"-"` // New minimum and maximum capacity. You can set both values or just one. See below // +kubebuilder:validation:Optional ScalableTargetAction []ScalableTargetActionParameters `json:"scalableTargetAction,omitempty" tf:"scalable_target_action,omitempty"` // Schedule for this action. The following formats are supported: At expressions - at(yyyy-mm-ddThh:mm:ss), Rate expressions - rate(valueunit), Cron expressions - cron(fields). Times for at expressions and cron expressions are evaluated using the time zone configured in timezone. Documentation can be found in the Timezone parameter at: AWS Application Auto Scaling API Reference // +kubebuilder:validation:Optional Schedule *string `json:"schedule,omitempty" tf:"schedule,omitempty"` // Namespace of the AWS service. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference Example: ecs // +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/appautoscaling/v1beta1.Target // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("service_namespace",false) // +kubebuilder:validation:Optional ServiceNamespace *string `json:"serviceNamespace,omitempty" tf:"service_namespace,omitempty"` // Reference to a Target in appautoscaling to populate serviceNamespace. // +kubebuilder:validation:Optional ServiceNamespaceRef *v1.Reference `json:"serviceNamespaceRef,omitempty" tf:"-"` // Selector for a Target in appautoscaling to populate serviceNamespace. // +kubebuilder:validation:Optional ServiceNamespaceSelector *v1.Selector `json:"serviceNamespaceSelector,omitempty" tf:"-"` // Date and time for the scheduled action to start in RFC 3339 format. The timezone is not affected by the setting of timezone. // +kubebuilder:validation:Optional StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"` // Time zone used when setting a scheduled action by using an at or cron expression. Does not affect timezone for start_time and end_time. Valid values are the canonical names of the IANA time zones supported by Joda-Time, such as Etc/GMT+9 or Pacific/Tahiti. Default is UTC. // +kubebuilder:validation:Optional Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` }
func (*ScheduledActionParameters) DeepCopy ¶
func (in *ScheduledActionParameters) DeepCopy() *ScheduledActionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledActionParameters.
func (*ScheduledActionParameters) DeepCopyInto ¶
func (in *ScheduledActionParameters) DeepCopyInto(out *ScheduledActionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledActionSpec ¶
type ScheduledActionSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ScheduledActionParameters `json:"forProvider"` }
ScheduledActionSpec defines the desired state of ScheduledAction
func (*ScheduledActionSpec) DeepCopy ¶
func (in *ScheduledActionSpec) DeepCopy() *ScheduledActionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledActionSpec.
func (*ScheduledActionSpec) DeepCopyInto ¶
func (in *ScheduledActionSpec) DeepCopyInto(out *ScheduledActionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduledActionStatus ¶
type ScheduledActionStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ScheduledActionObservation `json:"atProvider,omitempty"` }
ScheduledActionStatus defines the observed state of ScheduledAction.
func (*ScheduledActionStatus) DeepCopy ¶
func (in *ScheduledActionStatus) DeepCopy() *ScheduledActionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledActionStatus.
func (*ScheduledActionStatus) DeepCopyInto ¶
func (in *ScheduledActionStatus) DeepCopyInto(out *ScheduledActionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StepAdjustmentObservation ¶
type StepAdjustmentObservation struct { // Lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as negative infinity. MetricIntervalLowerBound *string `json:"metricIntervalLowerBound,omitempty" tf:"metric_interval_lower_bound,omitempty"` // Upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as infinity. The upper bound must be greater than the lower bound. MetricIntervalUpperBound *string `json:"metricIntervalUpperBound,omitempty" tf:"metric_interval_upper_bound,omitempty"` // Number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down. ScalingAdjustment *float64 `json:"scalingAdjustment,omitempty" tf:"scaling_adjustment,omitempty"` }
func (*StepAdjustmentObservation) DeepCopy ¶
func (in *StepAdjustmentObservation) DeepCopy() *StepAdjustmentObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepAdjustmentObservation.
func (*StepAdjustmentObservation) DeepCopyInto ¶
func (in *StepAdjustmentObservation) DeepCopyInto(out *StepAdjustmentObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StepAdjustmentParameters ¶
type StepAdjustmentParameters struct { // Lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as negative infinity. // +kubebuilder:validation:Optional MetricIntervalLowerBound *string `json:"metricIntervalLowerBound,omitempty" tf:"metric_interval_lower_bound,omitempty"` // Upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as infinity. The upper bound must be greater than the lower bound. // +kubebuilder:validation:Optional MetricIntervalUpperBound *string `json:"metricIntervalUpperBound,omitempty" tf:"metric_interval_upper_bound,omitempty"` // Number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down. // +kubebuilder:validation:Required ScalingAdjustment *float64 `json:"scalingAdjustment" tf:"scaling_adjustment,omitempty"` }
func (*StepAdjustmentParameters) DeepCopy ¶
func (in *StepAdjustmentParameters) DeepCopy() *StepAdjustmentParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepAdjustmentParameters.
func (*StepAdjustmentParameters) DeepCopyInto ¶
func (in *StepAdjustmentParameters) DeepCopyInto(out *StepAdjustmentParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StepScalingPolicyConfigurationObservation ¶
type StepScalingPolicyConfigurationObservation struct { // Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity. AdjustmentType *string `json:"adjustmentType,omitempty" tf:"adjustment_type,omitempty"` // Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start. Cooldown *float64 `json:"cooldown,omitempty" tf:"cooldown,omitempty"` // Aggregation type for the policy's metrics. Valid values are "Minimum", "Maximum", and "Average". Without a value, AWS will treat the aggregation type as "Average". MetricAggregationType *string `json:"metricAggregationType,omitempty" tf:"metric_aggregation_type,omitempty"` // Minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount. MinAdjustmentMagnitude *float64 `json:"minAdjustmentMagnitude,omitempty" tf:"min_adjustment_magnitude,omitempty"` // Set of adjustments that manage scaling. These have the following structure: StepAdjustment []StepAdjustmentObservation `json:"stepAdjustment,omitempty" tf:"step_adjustment,omitempty"` }
func (*StepScalingPolicyConfigurationObservation) DeepCopy ¶
func (in *StepScalingPolicyConfigurationObservation) DeepCopy() *StepScalingPolicyConfigurationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepScalingPolicyConfigurationObservation.
func (*StepScalingPolicyConfigurationObservation) DeepCopyInto ¶
func (in *StepScalingPolicyConfigurationObservation) DeepCopyInto(out *StepScalingPolicyConfigurationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StepScalingPolicyConfigurationParameters ¶
type StepScalingPolicyConfigurationParameters struct { // Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity. // +kubebuilder:validation:Optional AdjustmentType *string `json:"adjustmentType,omitempty" tf:"adjustment_type,omitempty"` // Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start. // +kubebuilder:validation:Optional Cooldown *float64 `json:"cooldown,omitempty" tf:"cooldown,omitempty"` // Aggregation type for the policy's metrics. Valid values are "Minimum", "Maximum", and "Average". Without a value, AWS will treat the aggregation type as "Average". // +kubebuilder:validation:Optional MetricAggregationType *string `json:"metricAggregationType,omitempty" tf:"metric_aggregation_type,omitempty"` // Minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount. // +kubebuilder:validation:Optional MinAdjustmentMagnitude *float64 `json:"minAdjustmentMagnitude,omitempty" tf:"min_adjustment_magnitude,omitempty"` // Set of adjustments that manage scaling. These have the following structure: // +kubebuilder:validation:Optional StepAdjustment []StepAdjustmentParameters `json:"stepAdjustment,omitempty" tf:"step_adjustment,omitempty"` }
func (*StepScalingPolicyConfigurationParameters) DeepCopy ¶
func (in *StepScalingPolicyConfigurationParameters) DeepCopy() *StepScalingPolicyConfigurationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepScalingPolicyConfigurationParameters.
func (*StepScalingPolicyConfigurationParameters) DeepCopyInto ¶
func (in *StepScalingPolicyConfigurationParameters) DeepCopyInto(out *StepScalingPolicyConfigurationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Target ¶
type Target struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.maxCapacity)",message="maxCapacity is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.minCapacity)",message="minCapacity is a required parameter" Spec TargetSpec `json:"spec"` Status TargetStatus `json:"status,omitempty"` }
Target is the Schema for the Targets API. Provides an Application AutoScaling ScalableTarget resource. +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 (*Target) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target.
func (*Target) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Target) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Target) GetCondition ¶
func (mg *Target) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Target.
func (*Target) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Target
func (*Target) GetDeletionPolicy ¶
func (mg *Target) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Target.
func (*Target) GetManagementPolicy ¶
func (mg *Target) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this Target.
func (*Target) GetObservation ¶
GetObservation of this Target
func (*Target) GetParameters ¶
GetParameters of this Target
func (*Target) GetProviderConfigReference ¶
GetProviderConfigReference of this Target.
func (*Target) GetProviderReference ¶
GetProviderReference of this Target. Deprecated: Use GetProviderConfigReference.
func (*Target) GetPublishConnectionDetailsTo ¶
func (mg *Target) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Target.
func (*Target) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Target
func (*Target) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Target) GetWriteConnectionSecretToReference ¶
func (mg *Target) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Target.
func (*Target) LateInitialize ¶
LateInitialize this Target using its observed tfState. returns True if there are any spec changes for the resource.
func (*Target) ResolveReferences ¶
ResolveReferences of this Target.
func (*Target) SetConditions ¶
SetConditions of this Target.
func (*Target) SetDeletionPolicy ¶
func (mg *Target) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Target.
func (*Target) SetManagementPolicy ¶
func (mg *Target) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this Target.
func (*Target) SetObservation ¶
SetObservation for this Target
func (*Target) SetParameters ¶
SetParameters for this Target
func (*Target) SetProviderConfigReference ¶
SetProviderConfigReference of this Target.
func (*Target) SetProviderReference ¶
SetProviderReference of this Target. Deprecated: Use SetProviderConfigReference.
func (*Target) SetPublishConnectionDetailsTo ¶
func (mg *Target) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Target.
func (*Target) SetWriteConnectionSecretToReference ¶
func (mg *Target) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Target.
type TargetList ¶
type TargetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Target `json:"items"` }
TargetList contains a list of Targets
func (*TargetList) DeepCopy ¶
func (in *TargetList) DeepCopy() *TargetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetList.
func (*TargetList) DeepCopyInto ¶
func (in *TargetList) DeepCopyInto(out *TargetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetList) DeepCopyObject ¶
func (in *TargetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TargetList) GetItems ¶
func (l *TargetList) GetItems() []resource.Managed
GetItems of this TargetList.
type TargetObservation ¶
type TargetObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // Max capacity of the scalable target. MaxCapacity *float64 `json:"maxCapacity,omitempty" tf:"max_capacity,omitempty"` // Min capacity of the scalable target. MinCapacity *float64 `json:"minCapacity,omitempty" tf:"min_capacity,omitempty"` // Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` // ARN of the IAM role that allows Application AutoScaling to modify your scalable target on your behalf. This defaults to an IAM Service-Linked Role for most services and custom IAM Roles are ignored by the API for those namespaces. See the AWS Application Auto Scaling documentation for more information about how this service interacts with IAM. RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` // Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference ScalableDimension *string `json:"scalableDimension,omitempty" tf:"scalable_dimension,omitempty"` // AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference ServiceNamespace *string `json:"serviceNamespace,omitempty" tf:"service_namespace,omitempty"` }
func (*TargetObservation) DeepCopy ¶
func (in *TargetObservation) DeepCopy() *TargetObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetObservation.
func (*TargetObservation) DeepCopyInto ¶
func (in *TargetObservation) DeepCopyInto(out *TargetObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetParameters ¶
type TargetParameters struct { // Max capacity of the scalable target. // +kubebuilder:validation:Optional MaxCapacity *float64 `json:"maxCapacity,omitempty" tf:"max_capacity,omitempty"` // Min capacity of the scalable target. // +kubebuilder:validation:Optional MinCapacity *float64 `json:"minCapacity,omitempty" tf:"min_capacity,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:"-"` // Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the ResourceId parameter at: AWS Application Auto Scaling API Reference // +kubebuilder:validation:Required ResourceID *string `json:"resourceId" tf:"resource_id,omitempty"` // ARN of the IAM role that allows Application AutoScaling to modify your scalable target on your behalf. This defaults to an IAM Service-Linked Role for most services and custom IAM Roles are ignored by the API for those namespaces. See the AWS Application Auto Scaling documentation for more information about how this service interacts with IAM. // +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/iam/v1beta1.Role // +crossplane:generate:reference:extractor=github.com/spirosco/upbound-provider-aws/config/common.ARNExtractor() // +kubebuilder:validation:Optional RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"` // Reference to a Role in iam to populate roleArn. // +kubebuilder:validation:Optional RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"` // Selector for a Role in iam to populate roleArn. // +kubebuilder:validation:Optional RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"` // Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference // +kubebuilder:validation:Required ScalableDimension *string `json:"scalableDimension" tf:"scalable_dimension,omitempty"` // AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference // +kubebuilder:validation:Required ServiceNamespace *string `json:"serviceNamespace" tf:"service_namespace,omitempty"` }
func (*TargetParameters) DeepCopy ¶
func (in *TargetParameters) DeepCopy() *TargetParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetParameters.
func (*TargetParameters) DeepCopyInto ¶
func (in *TargetParameters) DeepCopyInto(out *TargetParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetSpec ¶
type TargetSpec struct { v1.ResourceSpec `json:",inline"` ForProvider TargetParameters `json:"forProvider"` }
TargetSpec defines the desired state of Target
func (*TargetSpec) DeepCopy ¶
func (in *TargetSpec) DeepCopy() *TargetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetSpec.
func (*TargetSpec) DeepCopyInto ¶
func (in *TargetSpec) DeepCopyInto(out *TargetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetStatus ¶
type TargetStatus struct { v1.ResourceStatus `json:",inline"` AtProvider TargetObservation `json:"atProvider,omitempty"` }
TargetStatus defines the observed state of Target.
func (*TargetStatus) DeepCopy ¶
func (in *TargetStatus) DeepCopy() *TargetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetStatus.
func (*TargetStatus) DeepCopyInto ¶
func (in *TargetStatus) DeepCopyInto(out *TargetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetTrackingScalingPolicyConfigurationObservation ¶
type TargetTrackingScalingPolicyConfigurationObservation struct { // Custom CloudWatch metric. Documentation can be found at: AWS Customized Metric Specification. See supported fields below. CustomizedMetricSpecification []CustomizedMetricSpecificationObservation `json:"customizedMetricSpecification,omitempty" tf:"customized_metric_specification,omitempty"` // Whether scale in by the target tracking policy is disabled. If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is false. DisableScaleIn *bool `json:"disableScaleIn,omitempty" tf:"disable_scale_in,omitempty"` // Predefined metric. See supported fields below. PredefinedMetricSpecification []PredefinedMetricSpecificationObservation `json:"predefinedMetricSpecification,omitempty" tf:"predefined_metric_specification,omitempty"` // Amount of time, in seconds, after a scale in activity completes before another scale in activity can start. ScaleInCooldown *float64 `json:"scaleInCooldown,omitempty" tf:"scale_in_cooldown,omitempty"` // Amount of time, in seconds, after a scale out activity completes before another scale out activity can start. ScaleOutCooldown *float64 `json:"scaleOutCooldown,omitempty" tf:"scale_out_cooldown,omitempty"` // Target value for the metric. TargetValue *float64 `json:"targetValue,omitempty" tf:"target_value,omitempty"` }
func (*TargetTrackingScalingPolicyConfigurationObservation) DeepCopy ¶
func (in *TargetTrackingScalingPolicyConfigurationObservation) DeepCopy() *TargetTrackingScalingPolicyConfigurationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetTrackingScalingPolicyConfigurationObservation.
func (*TargetTrackingScalingPolicyConfigurationObservation) DeepCopyInto ¶
func (in *TargetTrackingScalingPolicyConfigurationObservation) DeepCopyInto(out *TargetTrackingScalingPolicyConfigurationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetTrackingScalingPolicyConfigurationParameters ¶
type TargetTrackingScalingPolicyConfigurationParameters struct { // Custom CloudWatch metric. Documentation can be found at: AWS Customized Metric Specification. See supported fields below. // +kubebuilder:validation:Optional CustomizedMetricSpecification []CustomizedMetricSpecificationParameters `json:"customizedMetricSpecification,omitempty" tf:"customized_metric_specification,omitempty"` // Whether scale in by the target tracking policy is disabled. If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is false. // +kubebuilder:validation:Optional DisableScaleIn *bool `json:"disableScaleIn,omitempty" tf:"disable_scale_in,omitempty"` // Predefined metric. See supported fields below. // +kubebuilder:validation:Optional PredefinedMetricSpecification []PredefinedMetricSpecificationParameters `json:"predefinedMetricSpecification,omitempty" tf:"predefined_metric_specification,omitempty"` // Amount of time, in seconds, after a scale in activity completes before another scale in activity can start. // +kubebuilder:validation:Optional ScaleInCooldown *float64 `json:"scaleInCooldown,omitempty" tf:"scale_in_cooldown,omitempty"` // Amount of time, in seconds, after a scale out activity completes before another scale out activity can start. // +kubebuilder:validation:Optional ScaleOutCooldown *float64 `json:"scaleOutCooldown,omitempty" tf:"scale_out_cooldown,omitempty"` // Target value for the metric. // +kubebuilder:validation:Required TargetValue *float64 `json:"targetValue" tf:"target_value,omitempty"` }
func (*TargetTrackingScalingPolicyConfigurationParameters) DeepCopy ¶
func (in *TargetTrackingScalingPolicyConfigurationParameters) DeepCopy() *TargetTrackingScalingPolicyConfigurationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetTrackingScalingPolicyConfigurationParameters.
func (*TargetTrackingScalingPolicyConfigurationParameters) DeepCopyInto ¶
func (in *TargetTrackingScalingPolicyConfigurationParameters) DeepCopyInto(out *TargetTrackingScalingPolicyConfigurationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.