PolicyPolicy is the Schema for the Policys API. Provides an Application AutoScaling Policy resource.
TypeMR
Providerprovider-aws-appautoscaling
Groupappautoscaling.aws.m.upbound.io
Scopenamespaced
Versionv1beta1

1apiVersion: appautoscaling.aws.m.upbound.io/v1beta1

2kind: Policy

kind
string
metadata
object
spec
object

PolicySpec defines the desired state of Policy

forProvider
required
object

(No description available)

object

Predictive scaling policy configuration, requires policy_type = "PredictiveScaling". See supported fields below.

array

Metrics and target utilization to use for predictive scaling. See supported fields below.

object

Customized capacity metric specification. See supported fields below.

array

One or more metric data queries to provide data points for a metric specification. See supported fields below.

id
string
label
string
object

Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either expression or metric_stat, but not both.

metric
object

Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions.

array

Dimensions of the metric. See supported fields below.

name
string
value
string
namespace
string
stat
string
unit
string
returnData
boolean
object

Customized load metric specification. See supported fields below.

array

One or more metric data queries to provide data points for a metric specification. See supported fields below.

id
string
label
string
object

Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either expression or metric_stat, but not both.

metric
object

Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions.

array

Dimensions of the metric. See supported fields below.

name
string
value
string
namespace
string
stat
string
unit
string
returnData
boolean
object

Customized scaling metric specification. See supported fields below.

array

One or more metric data queries to provide data points for a metric specification. See supported fields below.

id
string
label
string
object

Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either expression or metric_stat, but not both.

metric
object

Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions.

array

Dimensions of the metric. See supported fields below.

name
string
value
string
namespace
string
stat
string
unit
string
returnData
boolean
object

Predefined load metric specification. See supported fields below.

object

Predefined metric pair specification that determines the appropriate scaling metric and load metric to use. See supported fields below.

object

Predefined scaling metric specification. See supported fields below.

mode
string
region
required
string
object

Reference to a Target in appautoscaling to populate resourceId.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Target in appautoscaling to populate resourceId.

namespace
string
policy
object

Policies for selection.

resolve
string
object

Reference to a Target in appautoscaling to populate scalableDimension.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Target in appautoscaling to populate scalableDimension.

namespace
string
policy
object

Policies for selection.

resolve
string
object

Reference to a Target in appautoscaling to populate serviceNamespace.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Target in appautoscaling to populate serviceNamespace.

namespace
string
policy
object

Policies for selection.

resolve
string
object

Step scaling policy configuration, requires policy_type = "StepScaling" (default). See supported fields below.

cooldown
number
array

Set of adjustments that manage scaling. These have the following structure:

object

Target tracking policy configuration, requires policy_type = "TargetTrackingScaling". See supported fields below.

object

Custom CloudWatch metric. Documentation can be found at: AWS Customized Metric Specification. See supported fields below.

array

Configuration block(s) with the dimensions of the metric if the metric was published with dimensions. Detailed below.

name
string
value
string
metrics
array

Metrics to include, as a metric data query.

id
string
label
string
object

Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either expression or metric_stat, but not both.

metric
object

Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions.

array

Configuration block(s) with the dimensions of the metric if the metric was published with dimensions. Detailed below.

name
string
value
string
namespace
string
stat
string
unit
string
returnData
boolean
namespace
string
statistic
string
unit
string
object

Predefined metric. See supported fields below.

object

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.

object

Predictive scaling policy configuration, requires policy_type = "PredictiveScaling". See supported fields below.

array

Metrics and target utilization to use for predictive scaling. See supported fields below.

object

Customized capacity metric specification. See supported fields below.

array

One or more metric data queries to provide data points for a metric specification. See supported fields below.

id
string
label
string
object

Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either expression or metric_stat, but not both.

metric
object

Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions.

array

Dimensions of the metric. See supported fields below.

name
string
value
string
namespace
string
stat
string
unit
string
returnData
boolean
object

Customized load metric specification. See supported fields below.

array

One or more metric data queries to provide data points for a metric specification. See supported fields below.

id
string
label
string
object

Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either expression or metric_stat, but not both.

metric
object

Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions.

array

Dimensions of the metric. See supported fields below.

name
string
value
string
namespace
string
stat
string
unit
string
returnData
boolean
object

Customized scaling metric specification. See supported fields below.

array

One or more metric data queries to provide data points for a metric specification. See supported fields below.

id
string
label
string
object

Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either expression or metric_stat, but not both.

metric
object

Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions.

array

Dimensions of the metric. See supported fields below.

name
string
value
string
namespace
string
stat
string
unit
string
returnData
boolean
object

Predefined load metric specification. See supported fields below.

object

Predefined metric pair specification that determines the appropriate scaling metric and load metric to use. See supported fields below.

object

Predefined scaling metric specification. See supported fields below.

mode
string
object

Step scaling policy configuration, requires policy_type = "StepScaling" (default). See supported fields below.

cooldown
number
array

Set of adjustments that manage scaling. These have the following structure:

object

Target tracking policy configuration, requires policy_type = "TargetTrackingScaling". See supported fields below.

object

Custom CloudWatch metric. Documentation can be found at: AWS Customized Metric Specification. See supported fields below.

array

Configuration block(s) with the dimensions of the metric if the metric was published with dimensions. Detailed below.

name
string
value
string
metrics
array

Metrics to include, as a metric data query.

id
string
label
string
object

Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either expression or metric_stat, but not both.

metric
object

Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions.

array

Configuration block(s) with the dimensions of the metric if the metric was published with dimensions. Detailed below.

name
string
value
string
namespace
string
stat
string
unit
string
returnData
boolean
namespace
string
statistic
string
unit
string
object

Predefined metric. See supported fields below.

array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

kind
required
string
name
required
string
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

name
required
string
status
object

PolicyStatus defines the observed state of Policy.

object

(No description available)

array

List of CloudWatch alarm ARNs associated with the scaling policy.

arn
string
id
string
object

Predictive scaling policy configuration, requires policy_type = "PredictiveScaling". See supported fields below.

array

Metrics and target utilization to use for predictive scaling. See supported fields below.

object

Customized capacity metric specification. See supported fields below.

array

One or more metric data queries to provide data points for a metric specification. See supported fields below.

id
string
label
string
object

Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either expression or metric_stat, but not both.

metric
object

Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions.

array

Dimensions of the metric. See supported fields below.

name
string
value
string
namespace
string
stat
string
unit
string
returnData
boolean
object

Customized load metric specification. See supported fields below.

array

One or more metric data queries to provide data points for a metric specification. See supported fields below.

id
string
label
string
object

Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either expression or metric_stat, but not both.

metric
object

Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions.

array

Dimensions of the metric. See supported fields below.

name
string
value
string
namespace
string
stat
string
unit
string
returnData
boolean
object

Customized scaling metric specification. See supported fields below.

array

One or more metric data queries to provide data points for a metric specification. See supported fields below.

id
string
label
string
object

Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either expression or metric_stat, but not both.

metric
object

Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions.

array

Dimensions of the metric. See supported fields below.

name
string
value
string
namespace
string
stat
string
unit
string
returnData
boolean
object

Predefined load metric specification. See supported fields below.

object

Predefined metric pair specification that determines the appropriate scaling metric and load metric to use. See supported fields below.

object

Predefined scaling metric specification. See supported fields below.

mode
string
region
string
object

Step scaling policy configuration, requires policy_type = "StepScaling" (default). See supported fields below.

cooldown
number
array

Set of adjustments that manage scaling. These have the following structure:

object

Target tracking policy configuration, requires policy_type = "TargetTrackingScaling". See supported fields below.

object

Custom CloudWatch metric. Documentation can be found at: AWS Customized Metric Specification. See supported fields below.

array

Configuration block(s) with the dimensions of the metric if the metric was published with dimensions. Detailed below.

name
string
value
string
metrics
array

Metrics to include, as a metric data query.

id
string
label
string
object

Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either expression or metric_stat, but not both.

metric
object

Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions.

array

Configuration block(s) with the dimensions of the metric if the metric was published with dimensions. Detailed below.

name
string
value
string
namespace
string
stat
string
unit
string
returnData
boolean
namespace
string
statistic
string
unit
string
object

Predefined metric. See supported fields below.

array

Conditions of the resource.

lastTransitionTime
required
string
message
string
reason
required
string
status
required
string
type
required
string