PolicyState class
Input properties used for looking up and filtering Policy resources.
Constructors
-
PolicyState({Input<
List< ? alarmArns, Input<String> ?>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.
alarmArnsList of CloudWatch alarm ARNs associated with the scaling policy.arnARN assigned by AWS to the scaling policy.nameName of the policy. Must be between 1 and 255 characters in length.policyTypePolicy type. Valid values areStepScaling,TargetTrackingScaling, andPredictiveScaling. Defaults toStepScaling. Certain services only support only one policy type. For more information see the Target Tracking Scaling Policies, Step Scaling Policies, and Predictive Scaling documentation.predictiveScalingPolicyConfigurationPredictive scaling policy configuration, requirespolicyType = "PredictiveScaling". See supported fields below.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.resourceIdResource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in theResourceIdparameter at: AWS Application Auto Scaling API ReferencescalableDimensionScalable dimension of the scalable target. Documentation can be found in theScalableDimensionparameter at: AWS Application Auto Scaling API ReferenceserviceNamespaceAWS service namespace of the scalable target. Documentation can be found in theServiceNamespaceparameter at: AWS Application Auto Scaling API ReferencestepScalingPolicyConfigurationStep scaling policy configuration, requirespolicyType = "StepScaling"(default). See supported fields below.targetTrackingScalingPolicyConfigurationTarget tracking policy configuration, requirespolicyType = "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, andPredictiveScaling. Defaults toStepScaling. 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
ResourceIdparameter at: AWS Application Auto Scaling API Referencefinal - 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
ScalableDimensionparameter at: AWS Application Auto Scaling API Referencefinal -
serviceNamespace
→ Input<
String?> ? -
AWS service namespace of the scalable target. Documentation can be found in the
ServiceNamespaceparameter at: AWS Application Auto Scaling API Referencefinal -
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