NAME

Paws::ApplicationAutoScaling::ScalingPolicy

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::ApplicationAutoScaling::ScalingPolicy object:

$service_obj->Method(Att1 => { Alarms => $value, ..., StepScalingPolicyConfiguration => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::ApplicationAutoScaling::ScalingPolicy object:

$result = $service_obj->Method(...);
$result->Att1->Alarms

DESCRIPTION

An object representing a scaling policy.

ATTRIBUTES

Alarms => ArrayRef[Paws::ApplicationAutoScaling::Alarm]

The CloudWatch alarms that are associated with the scaling policy.

REQUIRED CreationTime => Str

The Unix timestamp for when the scaling policy was created.

REQUIRED PolicyARN => Str

The Amazon Resource Name (ARN) of the scaling policy.

REQUIRED PolicyName => Str

The name of the scaling policy.

REQUIRED PolicyType => Str

The scaling policy type.

REQUIRED ResourceId => Str

The unique identifier string for the resource associated with the
scaling policy. For Amazon ECS services, this value is the resource
type, followed by the cluster name and service name, such as
C<service/default/sample-webapp>.

REQUIRED ScalableDimension => Str

The scalable dimension associated with the scaling policy. The scalable
dimension contains the service namespace, resource type, and scaling
property, such as C<ecs:service:DesiredCount> for the desired task
count of an Amazon ECS service.

REQUIRED ServiceNamespace => Str

The namespace for the AWS service that the scaling policy is associated
with. For more information, see AWS Service Namespaces in the Amazon
Web Services General Reference.

StepScalingPolicyConfiguration => Paws::ApplicationAutoScaling::StepScalingPolicyConfiguration

The configuration for the step scaling policy.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::ApplicationAutoScaling

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues