Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=appautoscaling.aws.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type CustomizedMetricSpecificationInitParameters
- type CustomizedMetricSpecificationObservation
- type CustomizedMetricSpecificationParameters
- type DimensionsInitParameters
- type DimensionsObservation
- type DimensionsParameters
- type MetricDimensionsInitParameters
- type MetricDimensionsObservation
- type MetricDimensionsParameters
- type MetricInitParameters
- type MetricObservation
- type MetricParameters
- type MetricStatInitParameters
- type MetricStatObservation
- type MetricStatParameters
- type MetricsInitParameters
- type MetricsObservation
- type MetricsParameters
- 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 (tr *Policy) GetInitParameters() (map[string]any, error)
- func (mg *Policy) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Policy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- 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) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Policy) GetTerraformResourceType() string
- func (tr *Policy) GetTerraformSchemaVersion() int
- func (mg *Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Policy) Hub()
- 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) SetManagementPolicies(r xpv1.ManagementPolicies)
- 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) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Policy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PolicyInitParameters
- type PolicyList
- type PolicyObservation
- type PolicyParameters
- type PolicySpec
- type PolicyStatus
- type PredefinedMetricSpecificationInitParameters
- type PredefinedMetricSpecificationObservation
- type PredefinedMetricSpecificationParameters
- type ScalableTargetActionInitParameters
- 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 (tr *ScheduledAction) GetInitParameters() (map[string]any, error)
- func (mg *ScheduledAction) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *ScheduledAction) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- 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) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ScheduledAction) GetTerraformResourceType() string
- func (tr *ScheduledAction) GetTerraformSchemaVersion() int
- func (mg *ScheduledAction) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ScheduledAction) Hub()
- 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) SetManagementPolicies(r xpv1.ManagementPolicies)
- 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) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ScheduledAction) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ScheduledActionInitParameters
- type ScheduledActionList
- type ScheduledActionObservation
- type ScheduledActionParameters
- type ScheduledActionSpec
- type ScheduledActionStatus
- type StepAdjustmentInitParameters
- type StepAdjustmentObservation
- type StepAdjustmentParameters
- type StepScalingPolicyConfigurationInitParameters
- 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 (tr *Target) GetInitParameters() (map[string]any, error)
- func (mg *Target) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Target) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- 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) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Target) GetTerraformResourceType() string
- func (tr *Target) GetTerraformSchemaVersion() int
- func (mg *Target) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Target) Hub()
- 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) SetManagementPolicies(r xpv1.ManagementPolicies)
- 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) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Target) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type TargetInitParameters
- type TargetList
- type TargetObservation
- type TargetParameters
- type TargetSpec
- type TargetStatus
- type TargetTrackingScalingPolicyConfigurationInitParameters
- 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 CustomizedMetricSpecificationInitParameters ¶ added in v0.38.0
type CustomizedMetricSpecificationInitParameters struct { // Configuration block(s) with the dimensions of the metric if the metric was published with dimensions. Detailed below. Dimensions []DimensionsInitParameters `json:"dimensions,omitempty" tf:"dimensions,omitempty"` // Name of the metric. MetricName *string `json:"metricName,omitempty" tf:"metric_name,omitempty"` // Metrics to include, as a metric data query. Metrics []MetricsInitParameters `json:"metrics,omitempty" tf:"metrics,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 (*CustomizedMetricSpecificationInitParameters) DeepCopy ¶ added in v0.38.0
func (in *CustomizedMetricSpecificationInitParameters) DeepCopy() *CustomizedMetricSpecificationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomizedMetricSpecificationInitParameters.
func (*CustomizedMetricSpecificationInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *CustomizedMetricSpecificationInitParameters) DeepCopyInto(out *CustomizedMetricSpecificationInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` // Metrics to include, as a metric data query. Metrics []MetricsObservation `json:"metrics,omitempty" tf:"metrics,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:Optional MetricName *string `json:"metricName,omitempty" tf:"metric_name,omitempty"` // Metrics to include, as a metric data query. // +kubebuilder:validation:Optional Metrics []MetricsParameters `json:"metrics,omitempty" tf:"metrics,omitempty"` // Namespace of the metric. // +kubebuilder:validation:Optional Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // Statistic of the metric. Valid values: Average, Minimum, Maximum, SampleCount, and Sum. // +kubebuilder:validation:Optional Statistic *string `json:"statistic,omitempty" 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 DimensionsInitParameters ¶ added in v0.38.0
type DimensionsInitParameters 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 (*DimensionsInitParameters) DeepCopy ¶ added in v0.38.0
func (in *DimensionsInitParameters) DeepCopy() *DimensionsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DimensionsInitParameters.
func (*DimensionsInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *DimensionsInitParameters) DeepCopyInto(out *DimensionsInitParameters)
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:Optional Name *string `json:"name" tf:"name,omitempty"` // Value of the dimension. // +kubebuilder:validation:Optional 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 MetricDimensionsInitParameters ¶ added in v0.38.0
type MetricDimensionsInitParameters 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 (*MetricDimensionsInitParameters) DeepCopy ¶ added in v0.38.0
func (in *MetricDimensionsInitParameters) DeepCopy() *MetricDimensionsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricDimensionsInitParameters.
func (*MetricDimensionsInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *MetricDimensionsInitParameters) DeepCopyInto(out *MetricDimensionsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricDimensionsObservation ¶ added in v0.35.0
type MetricDimensionsObservation 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 (*MetricDimensionsObservation) DeepCopy ¶ added in v0.35.0
func (in *MetricDimensionsObservation) DeepCopy() *MetricDimensionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricDimensionsObservation.
func (*MetricDimensionsObservation) DeepCopyInto ¶ added in v0.35.0
func (in *MetricDimensionsObservation) DeepCopyInto(out *MetricDimensionsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricDimensionsParameters ¶ added in v0.35.0
type MetricDimensionsParameters struct { // Name of the dimension. // +kubebuilder:validation:Optional Name *string `json:"name" tf:"name,omitempty"` // Value of the dimension. // +kubebuilder:validation:Optional Value *string `json:"value" tf:"value,omitempty"` }
func (*MetricDimensionsParameters) DeepCopy ¶ added in v0.35.0
func (in *MetricDimensionsParameters) DeepCopy() *MetricDimensionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricDimensionsParameters.
func (*MetricDimensionsParameters) DeepCopyInto ¶ added in v0.35.0
func (in *MetricDimensionsParameters) DeepCopyInto(out *MetricDimensionsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricInitParameters ¶ added in v0.38.0
type MetricInitParameters struct { // Configuration block(s) with the dimensions of the metric if the metric was published with dimensions. Detailed below. Dimensions []MetricDimensionsInitParameters `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"` }
func (*MetricInitParameters) DeepCopy ¶ added in v0.38.0
func (in *MetricInitParameters) DeepCopy() *MetricInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricInitParameters.
func (*MetricInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *MetricInitParameters) DeepCopyInto(out *MetricInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricObservation ¶ added in v0.35.0
type MetricObservation struct { // Configuration block(s) with the dimensions of the metric if the metric was published with dimensions. Detailed below. Dimensions []MetricDimensionsObservation `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"` }
func (*MetricObservation) DeepCopy ¶ added in v0.35.0
func (in *MetricObservation) DeepCopy() *MetricObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricObservation.
func (*MetricObservation) DeepCopyInto ¶ added in v0.35.0
func (in *MetricObservation) DeepCopyInto(out *MetricObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricParameters ¶ added in v0.35.0
type MetricParameters struct { // Configuration block(s) with the dimensions of the metric if the metric was published with dimensions. Detailed below. // +kubebuilder:validation:Optional Dimensions []MetricDimensionsParameters `json:"dimensions,omitempty" tf:"dimensions,omitempty"` // Name of the metric. // +kubebuilder:validation:Optional MetricName *string `json:"metricName" tf:"metric_name,omitempty"` // Namespace of the metric. // +kubebuilder:validation:Optional Namespace *string `json:"namespace" tf:"namespace,omitempty"` }
func (*MetricParameters) DeepCopy ¶ added in v0.35.0
func (in *MetricParameters) DeepCopy() *MetricParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricParameters.
func (*MetricParameters) DeepCopyInto ¶ added in v0.35.0
func (in *MetricParameters) DeepCopyInto(out *MetricParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricStatInitParameters ¶ added in v0.38.0
type MetricStatInitParameters struct { // Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions. Metric []MetricInitParameters `json:"metric,omitempty" tf:"metric,omitempty"` // Statistic of the metrics to return. Stat *string `json:"stat,omitempty" tf:"stat,omitempty"` // Unit of the metric. Unit *string `json:"unit,omitempty" tf:"unit,omitempty"` }
func (*MetricStatInitParameters) DeepCopy ¶ added in v0.38.0
func (in *MetricStatInitParameters) DeepCopy() *MetricStatInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatInitParameters.
func (*MetricStatInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *MetricStatInitParameters) DeepCopyInto(out *MetricStatInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricStatObservation ¶ added in v0.35.0
type MetricStatObservation struct { // Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions. Metric []MetricObservation `json:"metric,omitempty" tf:"metric,omitempty"` // Statistic of the metrics to return. Stat *string `json:"stat,omitempty" tf:"stat,omitempty"` // Unit of the metric. Unit *string `json:"unit,omitempty" tf:"unit,omitempty"` }
func (*MetricStatObservation) DeepCopy ¶ added in v0.35.0
func (in *MetricStatObservation) DeepCopy() *MetricStatObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatObservation.
func (*MetricStatObservation) DeepCopyInto ¶ added in v0.35.0
func (in *MetricStatObservation) DeepCopyInto(out *MetricStatObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricStatParameters ¶ added in v0.35.0
type MetricStatParameters struct { // Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions. // +kubebuilder:validation:Optional Metric []MetricParameters `json:"metric" tf:"metric,omitempty"` // Statistic of the metrics to return. // +kubebuilder:validation:Optional Stat *string `json:"stat" tf:"stat,omitempty"` // Unit of the metric. // +kubebuilder:validation:Optional Unit *string `json:"unit,omitempty" tf:"unit,omitempty"` }
func (*MetricStatParameters) DeepCopy ¶ added in v0.35.0
func (in *MetricStatParameters) DeepCopy() *MetricStatParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatParameters.
func (*MetricStatParameters) DeepCopyInto ¶ added in v0.35.0
func (in *MetricStatParameters) DeepCopyInto(out *MetricStatParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricsInitParameters ¶ added in v0.38.0
type MetricsInitParameters struct { // Math expression used on the returned metric. You must specify either expression or metric_stat, but not both. Expression *string `json:"expression,omitempty" tf:"expression,omitempty"` // Short name for the metric used in target tracking scaling policy. ID *string `json:"id,omitempty" tf:"id,omitempty"` // Human-readable label for this metric or expression. Label *string `json:"label,omitempty" tf:"label,omitempty"` // Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either expression or metric_stat, but not both. MetricStat []MetricStatInitParameters `json:"metricStat,omitempty" tf:"metric_stat,omitempty"` // Boolean that indicates whether to return the timestamps and raw data values of this metric, the default is true ReturnData *bool `json:"returnData,omitempty" tf:"return_data,omitempty"` }
func (*MetricsInitParameters) DeepCopy ¶ added in v0.38.0
func (in *MetricsInitParameters) DeepCopy() *MetricsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsInitParameters.
func (*MetricsInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *MetricsInitParameters) DeepCopyInto(out *MetricsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricsObservation ¶ added in v0.35.0
type MetricsObservation struct { // Math expression used on the returned metric. You must specify either expression or metric_stat, but not both. Expression *string `json:"expression,omitempty" tf:"expression,omitempty"` // Short name for the metric used in target tracking scaling policy. ID *string `json:"id,omitempty" tf:"id,omitempty"` // Human-readable label for this metric or expression. Label *string `json:"label,omitempty" tf:"label,omitempty"` // Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either expression or metric_stat, but not both. MetricStat []MetricStatObservation `json:"metricStat,omitempty" tf:"metric_stat,omitempty"` // Boolean that indicates whether to return the timestamps and raw data values of this metric, the default is true ReturnData *bool `json:"returnData,omitempty" tf:"return_data,omitempty"` }
func (*MetricsObservation) DeepCopy ¶ added in v0.35.0
func (in *MetricsObservation) DeepCopy() *MetricsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsObservation.
func (*MetricsObservation) DeepCopyInto ¶ added in v0.35.0
func (in *MetricsObservation) DeepCopyInto(out *MetricsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricsParameters ¶ added in v0.35.0
type MetricsParameters struct { // Math expression used on the returned metric. You must specify either expression or metric_stat, but not both. // +kubebuilder:validation:Optional Expression *string `json:"expression,omitempty" tf:"expression,omitempty"` // Short name for the metric used in target tracking scaling policy. // +kubebuilder:validation:Optional ID *string `json:"id" tf:"id,omitempty"` // Human-readable label for this metric or expression. // +kubebuilder:validation:Optional Label *string `json:"label,omitempty" tf:"label,omitempty"` // Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either expression or metric_stat, but not both. // +kubebuilder:validation:Optional MetricStat []MetricStatParameters `json:"metricStat,omitempty" tf:"metric_stat,omitempty"` // Boolean that indicates whether to return the timestamps and raw data values of this metric, the default is true // +kubebuilder:validation:Optional ReturnData *bool `json:"returnData,omitempty" tf:"return_data,omitempty"` }
func (*MetricsParameters) DeepCopy ¶ added in v0.35.0
func (in *MetricsParameters) DeepCopy() *MetricsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsParameters.
func (*MetricsParameters) DeepCopyInto ¶ added in v0.35.0
func (in *MetricsParameters) DeepCopyInto(out *MetricsParameters)
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: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) GetInitParameters ¶ added in v0.38.0
GetInitParameters of this Policy
func (*Policy) GetManagementPolicies ¶ added in v0.38.0
func (mg *Policy) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Policy.
func (*Policy) GetMergedParameters ¶ added in v0.44.0
GetInitParameters 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) 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) Hub ¶ added in v0.47.2
func (tr *Policy) Hub()
Hub marks this type as a conversion hub.
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) SetManagementPolicies ¶ added in v0.38.0
func (mg *Policy) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies 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) 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 PolicyInitParameters ¶ added in v0.38.0
type PolicyInitParameters 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. PolicyType *string `json:"policyType,omitempty" tf:"policy_type,omitempty"` // Step scaling policy configuration, requires policy_type = "StepScaling" (default). See supported fields below. StepScalingPolicyConfiguration []StepScalingPolicyConfigurationInitParameters `json:"stepScalingPolicyConfiguration,omitempty" tf:"step_scaling_policy_configuration,omitempty"` // Target tracking policy, requires policy_type = "TargetTrackingScaling". See supported fields below. TargetTrackingScalingPolicyConfiguration []TargetTrackingScalingPolicyConfigurationInitParameters `json:"targetTrackingScalingPolicyConfiguration,omitempty" tf:"target_tracking_scaling_policy_configuration,omitempty"` }
func (*PolicyInitParameters) DeepCopy ¶ added in v0.38.0
func (in *PolicyInitParameters) DeepCopy() *PolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyInitParameters.
func (*PolicyInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *PolicyInitParameters) DeepCopyInto(out *PolicyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` // Short name for the metric used in target tracking scaling policy. 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/upbound/provider-aws/apis/appautoscaling/v1beta1.Target // +crossplane:generate:reference:extractor=github.com/crossplane/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/upbound/provider-aws/apis/appautoscaling/v1beta1.Target // +crossplane:generate:reference:extractor=github.com/crossplane/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/upbound/provider-aws/apis/appautoscaling/v1beta1.Target // +crossplane:generate:reference:extractor=github.com/crossplane/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"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider PolicyInitParameters `json:"initProvider,omitempty"` }
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 PredefinedMetricSpecificationInitParameters ¶ added in v0.38.0
type PredefinedMetricSpecificationInitParameters 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 (*PredefinedMetricSpecificationInitParameters) DeepCopy ¶ added in v0.38.0
func (in *PredefinedMetricSpecificationInitParameters) DeepCopy() *PredefinedMetricSpecificationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredefinedMetricSpecificationInitParameters.
func (*PredefinedMetricSpecificationInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *PredefinedMetricSpecificationInitParameters) DeepCopyInto(out *PredefinedMetricSpecificationInitParameters)
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:Optional 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 ScalableTargetActionInitParameters ¶ added in v0.38.0
type ScalableTargetActionInitParameters 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 (*ScalableTargetActionInitParameters) DeepCopy ¶ added in v0.38.0
func (in *ScalableTargetActionInitParameters) DeepCopy() *ScalableTargetActionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalableTargetActionInitParameters.
func (*ScalableTargetActionInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *ScalableTargetActionInitParameters) DeepCopyInto(out *ScalableTargetActionInitParameters)
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="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scalableTargetAction) || (has(self.initProvider) && has(self.initProvider.scalableTargetAction))",message="spec.forProvider.scalableTargetAction is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schedule) || (has(self.initProvider) && has(self.initProvider.schedule))",message="spec.forProvider.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: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) GetInitParameters ¶ added in v0.38.0
func (tr *ScheduledAction) GetInitParameters() (map[string]any, error)
GetInitParameters of this ScheduledAction
func (*ScheduledAction) GetManagementPolicies ¶ added in v0.38.0
func (mg *ScheduledAction) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ScheduledAction.
func (*ScheduledAction) GetMergedParameters ¶ added in v0.44.0
func (tr *ScheduledAction) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters 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) 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) Hub ¶ added in v0.47.2
func (tr *ScheduledAction) Hub()
Hub marks this type as a conversion hub.
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) SetManagementPolicies ¶ added in v0.38.0
func (mg *ScheduledAction) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies 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) 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 ScheduledActionInitParameters ¶ added in v0.38.0
type ScheduledActionInitParameters struct { // 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"` // 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 // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appautoscaling/v1beta1.Target // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("resource_id",false) 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/upbound/provider-aws/apis/appautoscaling/v1beta1.Target // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("scalable_dimension",false) 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 ScalableTargetAction []ScalableTargetActionInitParameters `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 // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/appautoscaling/v1beta1.Target // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("service_namespace",false) 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. 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 (*ScheduledActionInitParameters) DeepCopy ¶ added in v0.38.0
func (in *ScheduledActionInitParameters) DeepCopy() *ScheduledActionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledActionInitParameters.
func (*ScheduledActionInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *ScheduledActionInitParameters) DeepCopyInto(out *ScheduledActionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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/upbound/provider-aws/apis/appautoscaling/v1beta1.Target // +crossplane:generate:reference:extractor=github.com/crossplane/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/upbound/provider-aws/apis/appautoscaling/v1beta1.Target // +crossplane:generate:reference:extractor=github.com/crossplane/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/upbound/provider-aws/apis/appautoscaling/v1beta1.Target // +crossplane:generate:reference:extractor=github.com/crossplane/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"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider ScheduledActionInitParameters `json:"initProvider,omitempty"` }
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 StepAdjustmentInitParameters ¶ added in v0.38.0
type StepAdjustmentInitParameters 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 (*StepAdjustmentInitParameters) DeepCopy ¶ added in v0.38.0
func (in *StepAdjustmentInitParameters) DeepCopy() *StepAdjustmentInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepAdjustmentInitParameters.
func (*StepAdjustmentInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *StepAdjustmentInitParameters) DeepCopyInto(out *StepAdjustmentInitParameters)
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:Optional 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 StepScalingPolicyConfigurationInitParameters ¶ added in v0.38.0
type StepScalingPolicyConfigurationInitParameters 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 []StepAdjustmentInitParameters `json:"stepAdjustment,omitempty" tf:"step_adjustment,omitempty"` }
func (*StepScalingPolicyConfigurationInitParameters) DeepCopy ¶ added in v0.38.0
func (in *StepScalingPolicyConfigurationInitParameters) DeepCopy() *StepScalingPolicyConfigurationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepScalingPolicyConfigurationInitParameters.
func (*StepScalingPolicyConfigurationInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *StepScalingPolicyConfigurationInitParameters) DeepCopyInto(out *StepScalingPolicyConfigurationInitParameters)
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="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.maxCapacity) || (has(self.initProvider) && has(self.initProvider.maxCapacity))",message="spec.forProvider.maxCapacity is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.minCapacity) || (has(self.initProvider) && has(self.initProvider.minCapacity))",message="spec.forProvider.minCapacity is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceId) || (has(self.initProvider) && has(self.initProvider.resourceId))",message="spec.forProvider.resourceId is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scalableDimension) || (has(self.initProvider) && has(self.initProvider.scalableDimension))",message="spec.forProvider.scalableDimension is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceNamespace) || (has(self.initProvider) && has(self.initProvider.serviceNamespace))",message="spec.forProvider.serviceNamespace 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: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) GetInitParameters ¶ added in v0.38.0
GetInitParameters of this Target
func (*Target) GetManagementPolicies ¶ added in v0.38.0
func (mg *Target) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Target.
func (*Target) GetMergedParameters ¶ added in v0.44.0
GetInitParameters 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) 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) Hub ¶ added in v0.47.2
func (tr *Target) Hub()
Hub marks this type as a conversion hub.
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) SetManagementPolicies ¶ added in v0.38.0
func (mg *Target) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies 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) 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 TargetInitParameters ¶ added in v0.38.0
type TargetInitParameters struct { // 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. // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() 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 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"` // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*TargetInitParameters) DeepCopy ¶ added in v0.38.0
func (in *TargetInitParameters) DeepCopy() *TargetInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetInitParameters.
func (*TargetInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *TargetInitParameters) DeepCopyInto(out *TargetInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 { // The ARN of the scalable target. Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` 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"` // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. // +mapType=granular TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` }
func (*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:Optional 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. // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role // +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor() // +kubebuilder:validation:Optional 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:Optional 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 // +kubebuilder:validation:Optional ServiceNamespace *string `json:"serviceNamespace,omitempty" tf:"service_namespace,omitempty"` // Key-value map of resource tags. // +kubebuilder:validation:Optional // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,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"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider TargetInitParameters `json:"initProvider,omitempty"` }
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 TargetTrackingScalingPolicyConfigurationInitParameters ¶ added in v0.38.0
type TargetTrackingScalingPolicyConfigurationInitParameters struct { // Custom CloudWatch metric. Documentation can be found at: AWS Customized Metric Specification. See supported fields below. CustomizedMetricSpecification []CustomizedMetricSpecificationInitParameters `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 []PredefinedMetricSpecificationInitParameters `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 (*TargetTrackingScalingPolicyConfigurationInitParameters) DeepCopy ¶ added in v0.38.0
func (in *TargetTrackingScalingPolicyConfigurationInitParameters) DeepCopy() *TargetTrackingScalingPolicyConfigurationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetTrackingScalingPolicyConfigurationInitParameters.
func (*TargetTrackingScalingPolicyConfigurationInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *TargetTrackingScalingPolicyConfigurationInitParameters) DeepCopyInto(out *TargetTrackingScalingPolicyConfigurationInitParameters)
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:Optional 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.
Source Files ¶
- zz_generated.conversion_hubs.go
- zz_generated.deepcopy.go
- zz_generated.managed.go
- zz_generated.managedlist.go
- zz_generated.resolvers.go
- zz_groupversion_info.go
- zz_policy_terraformed.go
- zz_policy_types.go
- zz_scheduledaction_terraformed.go
- zz_scheduledaction_types.go
- zz_target_terraformed.go
- zz_target_types.go