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 => { CloudWatchOutputConfig => $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->CloudWatchOutputConfig
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
CloudWatchOutputConfig => Paws::SSM::CloudWatchOutputConfig
Comment => Str
Information about the commands to run.
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.
DocumentVersion => Str
The SSM document version to use in the request. You can specify $DEFAULT, $LATEST, or a specific version number. If you run commands by using the AWS CLI, then you must escape the first two options by using a backslash. If you specify a version number, then you don't need to use the backslash. For example:
--document-version "\$DEFAULT"
--document-version "\$LATEST"
--document-version "3"
NotificationConfig => Paws::SSM::NotificationConfig
Configurations for sending notifications about command status changes on a per-instance basis.
OutputS3BucketName => Str
The name of the S3 bucket.
OutputS3KeyPrefix => Str
The S3 bucket subfolder.
Parameters => Paws::SSM::Parameters
The parameters for the RUN_COMMAND task execution.
ServiceRoleArn => Str
The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
TimeoutSeconds => Int
If this time is reached and the command has not already started running, 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