PolicyState class

Input properties used for looking up and filtering Policy resources.

Constructors

PolicyState({Input<List<String>?>? alarmArns, Input<String?>? arn, Input<String?>? name, Input<String?>? policyType, Input<PolicyPredictiveScalingPolicyConfiguration?>? predictiveScalingPolicyConfiguration, Input<String?>? region, Input<String?>? resourceId, Input<String?>? scalableDimension, Input<String?>? serviceNamespace, Input<PolicyStepScalingPolicyConfiguration?>? stepScalingPolicyConfiguration, Input<PolicyTargetTrackingScalingPolicyConfiguration?>? targetTrackingScalingPolicyConfiguration})
Creates a new PolicyState. alarmArns List of CloudWatch alarm ARNs associated with the scaling policy. arn ARN assigned by AWS to the scaling policy. name Name of the policy. Must be between 1 and 255 characters in length. policyType Policy type. Valid values are StepScaling, TargetTrackingScaling, and PredictiveScaling. Defaults to StepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies, Step Scaling Policies, and Predictive Scaling documentation. predictiveScalingPolicyConfiguration Predictive scaling policy configuration, requires policyType = "PredictiveScaling". See supported fields below. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. resourceId 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 scalableDimension Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference serviceNamespace AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference stepScalingPolicyConfiguration Step scaling policy configuration, requires policyType = "StepScaling" (default). See supported fields below. targetTrackingScalingPolicyConfiguration Target tracking policy configuration, requires policyType = "TargetTrackingScaling". See supported fields below.
const
PolicyState.fromMap(Map<String, dynamic> map)
factory

Properties

alarmArns → Input<List<String>?>?
List of CloudWatch alarm ARNs associated with the scaling policy.
final
arn → Input<String?>?
ARN assigned by AWS to the scaling policy.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
Name of the policy. Must be between 1 and 255 characters in length.
final
policyType → Input<String?>?
Policy type. Valid values are StepScaling, TargetTrackingScaling, and PredictiveScaling. Defaults to StepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies, Step Scaling Policies, and Predictive Scaling documentation.
final
predictiveScalingPolicyConfiguration → Input<PolicyPredictiveScalingPolicyConfiguration?>?
Predictive scaling policy configuration, requires policyType = "PredictiveScaling". See supported fields below.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
resourceId → Input<String?>?
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
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scalableDimension → Input<String?>?
Scalable dimension of the scalable target. Documentation can be found in the ScalableDimension parameter at: AWS Application Auto Scaling API Reference
final
serviceNamespace → Input<String?>?
AWS service namespace of the scalable target. Documentation can be found in the ServiceNamespace parameter at: AWS Application Auto Scaling API Reference
final
stepScalingPolicyConfiguration → Input<PolicyStepScalingPolicyConfiguration?>?
Step scaling policy configuration, requires policyType = "StepScaling" (default). See supported fields below.
final
targetTrackingScalingPolicyConfiguration → Input<PolicyTargetTrackingScalingPolicyConfiguration?>?
Target tracking policy configuration, requires policyType = "TargetTrackingScaling". See supported fields below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited