You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SSM::Types::MaintenanceWindowTaskInvocationParameters

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing MaintenanceWindowTaskInvocationParameters as input to an Aws::Client method, you can use a vanilla Hash:

{
  run_command: {
    comment: "Comment",
    document_hash: "DocumentHash",
    document_hash_type: "Sha256", # accepts Sha256, Sha1
    notification_config: {
      notification_arn: "NotificationArn",
      notification_events: ["All"], # accepts All, InProgress, Success, TimedOut, Cancelled, Failed
      notification_type: "Command", # accepts Command, Invocation
    },
    output_s3_bucket_name: "S3BucketName",
    output_s3_key_prefix: "S3KeyPrefix",
    parameters: {
      "ParameterName" => ["ParameterValue"],
    },
    service_role_arn: "ServiceRole",
    timeout_seconds: 1,
  },
  automation: {
    document_version: "DocumentVersion",
    parameters: {
      "AutomationParameterKey" => ["AutomationParameterValue"],
    },
  },
  step_functions: {
    input: "MaintenanceWindowStepFunctionsInput",
    name: "MaintenanceWindowStepFunctionsName",
  },
  lambda: {
    client_context: "MaintenanceWindowLambdaClientContext",
    qualifier: "MaintenanceWindowLambdaQualifier",
    payload: "data",
  },
}

The parameters for task execution.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#automationTypes::MaintenanceWindowAutomationParameters

The parameters for a AUTOMATION task type.

Returns:

#lambdaTypes::MaintenanceWindowLambdaParameters

The parameters for a LAMBDA task type.

Returns:

#run_commandTypes::MaintenanceWindowRunCommandParameters

The parameters for a RUN_COMMAND task type.

Returns:

#step_functionsTypes::MaintenanceWindowStepFunctionsParameters

The parameters for a STEP_FUNCTION task type.

Returns: