Policy is the Schema for the Policys API. Provides an Application AutoScaling Policy resource.
Type
CRD
Group
appautoscaling.aws.upbound.io
Version
v1beta1
apiVersion: appautoscaling.aws.upbound.io/v1beta1
kind: Policy
PolicySpec defines the desired state of Policy
No description provided.
Reference to a Target in appautoscaling to populate resourceId.
Policies for referencing.
Selector for a Target in appautoscaling to populate resourceId.
Policies for selection.
Reference to a Target in appautoscaling to populate scalableDimension.
Policies for referencing.
Selector for a Target in appautoscaling to populate scalableDimension.
Policies for selection.
Reference to a Target in appautoscaling to populate serviceNamespace.
Policies for referencing.
Selector for a Target in appautoscaling to populate serviceNamespace.
Policies for selection.
Step scaling policy configuration, requires policy_type = "StepScaling" (default). See supported fields below.
A set of adjustments that manage scaling. These have the following structure:
A target tracking policy, requires policy_type = "TargetTrackingScaling". See supported fields below.
A custom CloudWatch metric. Documentation can be found at: AWS Customized Metric Specification. See supported fields below.
A predefined metric. See supported fields below.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config 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.
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. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
PolicyStatus defines the observed state of Policy.
Conditions of the resource.
dynamodb-table-read-policy
apiVersion: appautoscaling.aws.upbound.io/v1beta1
kind: Policy
metadata:
annotations:
meta.upbound.io/example-id: appautoscaling/v1beta1/policy
labels:
testing.upbound.io/example-name: dynamodb_table_read_policy
name: dynamodb-table-read-policy
spec:
forProvider:
policyType: TargetTrackingScaling
region: us-west-1
resourceIdSelector:
matchLabels:
testing.upbound.io/example-name: dynamodb_table_read_target
scalableDimensionSelector:
matchLabels:
testing.upbound.io/example-name: dynamodb_table_read_target
serviceNamespaceSelector:
matchLabels:
testing.upbound.io/example-name: dynamodb_table_read_target
targetTrackingScalingPolicyConfiguration:
- predefinedMetricSpecification:
- predefinedMetricType: DynamoDBReadCapacityUtilization
targetValue: 70
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.