The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::SSM::MaintenanceWindowTask

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::SSM::MaintenanceWindowTask object:

  $service_obj->Method(Att1 => { Description => $value, ..., WindowTaskId => $value  });

Results returned from an API call

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

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

DESCRIPTION

Information about a task defined for a Maintenance Window.

ATTRIBUTES

Description => Str

  A description of the task.

LoggingInfo => Paws::SSM::LoggingInfo

  Information about an Amazon S3 bucket to write task-level logs to.

LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. For information about how Systems Manager handles these options for the supported Maintenance Window task types, see MaintenanceWindowTaskInvocationParameters.

MaxConcurrency => Str

  The maximum number of targets this task can be run for in parallel.

MaxErrors => Str

  The maximum number of errors allowed before this task stops being
scheduled.

Name => Str

  The task name.

Priority => Int

  The priority of the task in the Maintenance Window. The lower the
number, the higher the priority. Tasks that have the same priority are
scheduled in parallel.

ServiceRoleArn => Str

  The role that should be assumed when executing the task

Targets => ArrayRef[Paws::SSM::Target]

  The targets (either instances or tags). Instances are specified using
Key=instanceids,Values=E<lt>instanceid1E<gt>,E<lt>instanceid2E<gt>.
Tags are specified using Key=E<lt>tag nameE<gt>,Values=E<lt>tag
valueE<gt>.

TaskArn => Str

  The resource that the task uses during execution. For RUN_COMMAND and
AUTOMATION task types, C<TaskArn> is the Systems Manager document name
or ARN. For LAMBDA tasks, it's the function name or ARN. For
STEP_FUNCTION tasks, it's the state machine ARN.

TaskParameters => Paws::SSM::MaintenanceWindowTaskParameters

  The parameters that should be passed to the task when it is executed.

TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, instead use the Parameters option in the TaskInvocationParameters structure. For information about how Systems Manager handles these options for the supported Maintenance Window task types, see MaintenanceWindowTaskInvocationParameters.

Type => Str

  The type of task. The type can be one of the following: RUN_COMMAND,
AUTOMATION, LAMBDA, or STEP_FUNCTION.

WindowId => Str

  The Maintenance Window ID where the task is registered.

WindowTaskId => Str

  The task ID.

SEE ALSO

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

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