![]() |
![]()
| ![]() |
![]()
NAMEPaws::ApplicationAutoScaling::PutScheduledAction - Arguments for method PutScheduledAction on Paws::ApplicationAutoScaling DESCRIPTIONThis class represents the parameters used for calling the method PutScheduledAction on the Application Auto Scaling service. Use the attributes of this class as arguments to method PutScheduledAction. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutScheduledAction. SYNOPSISmy $application-autoscaling = Paws->service('ApplicationAutoScaling'); my $PutScheduledActionResponse = $application -autoscaling->PutScheduledAction( ResourceId => 'MyResourceIdMaxLen1600', ScalableDimension => 'ecs:service:DesiredCount', ScheduledActionName => 'MyScheduledActionName', ServiceNamespace => 'ecs', EndTime => '1970-01-01T01:00:00', # OPTIONAL ScalableTargetAction => { MaxCapacity => 1, # OPTIONAL MinCapacity => 1, # OPTIONAL }, # OPTIONAL Schedule => 'MyResourceIdMaxLen1600', # OPTIONAL StartTime => '1970-01-01T01:00:00', # OPTIONAL Timezone => 'MyResourceIdMaxLen1600', # OPTIONAL ); Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling/PutScheduledAction> ATTRIBUTESEndTime => StrThe date and time for the recurring schedule to end, in UTC. REQUIRED ResourceId => StrThe identifier of the resource associated with the scheduled action. This string consists of the resource type and unique identifier.
REQUIRED ScalableDimension => StrThe scalable dimension. This string consists of the service namespace, resource type, and scaling property.
Valid values are: "ecs:service:DesiredCount", "ec2:spot-fleet-request:TargetCapacity", "elasticmapreduce:instancegroup:InstanceCount", "appstream:fleet:DesiredCapacity", "dynamodb:table:ReadCapacityUnits", "dynamodb:table:WriteCapacityUnits", "dynamodb:index:ReadCapacityUnits", "dynamodb:index:WriteCapacityUnits", "rds:cluster:ReadReplicaCount", "sagemaker:variant:DesiredInstanceCount", "custom-resource:ResourceType:Property", "comprehend:document-classifier-endpoint:DesiredInferenceUnits", "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits", "lambda:function:ProvisionedConcurrency", "cassandra:table:ReadCapacityUnits", "cassandra:table:WriteCapacityUnits", "kafka:broker-storage:VolumeSize" ScalableTargetAction => Paws::ApplicationAutoScaling::ScalableTargetActionThe new minimum and maximum capacity. You can set both values or just one. At the scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out to the minimum capacity. If the current capacity is above the maximum capacity, Application Auto Scaling scales in to the maximum capacity. Schedule => StrThe schedule for this action. The following formats are supported:
At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval. At and cron expressions use Universal Coordinated Time (UTC) by default. The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year]. For rate expressions, value is a positive integer and unit is "minute" | "minutes" | "hour" | "hours" | "day" | "days". For more information and examples, see Example scheduled actions for Application Auto Scaling (https://docs.aws.amazon.com/autoscaling/application/userguide/examples-scheduled-actions.html) in the Application Auto Scaling User Guide. REQUIRED ScheduledActionName => StrThe name of the scheduled action. This name must be unique among all other scheduled actions on the specified scalable target. REQUIRED ServiceNamespace => StrThe namespace of the AWS service that provides the resource. For a resource provided by your own application or service, use "custom-resource" instead. Valid values are: "ecs", "elasticmapreduce", "ec2", "appstream", "dynamodb", "rds", "sagemaker", "custom-resource", "comprehend", "lambda", "cassandra", "kafka" StartTime => StrThe date and time for this scheduled action to start, in UTC. Timezone => StrSpecifies the time zone used when setting a scheduled action by using an at or cron expression. If a time zone is not provided, UTC is used by default. Valid values are the canonical names of the IANA time zones supported by Joda-Time (such as "Etc/GMT+9" or "Pacific/Tahiti"). For more information, see https://www.joda.org/joda-time/timezones.html (https://www.joda.org/joda-time/timezones.html). SEE ALSOThis class forms part of Paws, documenting arguments for method PutScheduledAction in Paws::ApplicationAutoScaling BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|