NAME

Paws::SSM::MaintenanceWindowRunCommandParameters

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::MaintenanceWindowRunCommandParameters object:

  $service_obj->Method(Att1 => { Comment => $value, ..., TimeoutSeconds => $value  });

Results returned from an API call

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

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

DESCRIPTION

The parameters for a RUN_COMMAND task type.

For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.

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.

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.

For Run Command tasks, Systems Manager uses specified values for TaskParameters and LoggingInfo only if no values are specified for TaskInvocationParameters.

ATTRIBUTES

Comment => Str

  Information about the command(s) to execute.

DocumentHash => Str

  The SHA-256 or SHA-1 hash created by the system when the document was
created. SHA-1 hashes have been deprecated.

DocumentHashType => Str

  SHA-256 or SHA-1. SHA-1 hashes have been deprecated.

NotificationConfig => Paws::SSM::NotificationConfig

  Configurations for sending notifications about command status changes
on a per-instance basis.

OutputS3BucketName => Str

  The name of the Amazon S3 bucket.

OutputS3KeyPrefix => Str

  The Amazon S3 bucket subfolder.

Parameters => Paws::SSM::Parameters

  The parameters for the RUN_COMMAND task execution.

ServiceRoleArn => Str

  The IAM service role to assume during task execution.

TimeoutSeconds => Int

  If this time is reached and the command has not already started
executing, it doesn't run.

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