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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb

Overview

Note:

When making an API call, you may pass MaintenanceWindowTaskInvocationParameters data as a 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.

Instance Attribute Summary collapse

Instance Attribute Details

#automationTypes::MaintenanceWindowAutomationParameters

The parameters for a AUTOMATION task type.



7360
7361
7362
7363
7364
7365
7366
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 7360

class MaintenanceWindowTaskInvocationParameters < Struct.new(
  :run_command,
  :automation,
  :step_functions,
  :lambda)
  include Aws::Structure
end

#lambdaTypes::MaintenanceWindowLambdaParameters

The parameters for a LAMBDA task type.



7360
7361
7362
7363
7364
7365
7366
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 7360

class MaintenanceWindowTaskInvocationParameters < Struct.new(
  :run_command,
  :automation,
  :step_functions,
  :lambda)
  include Aws::Structure
end

#run_commandTypes::MaintenanceWindowRunCommandParameters

The parameters for a RUN_COMMAND task type.



7360
7361
7362
7363
7364
7365
7366
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 7360

class MaintenanceWindowTaskInvocationParameters < Struct.new(
  :run_command,
  :automation,
  :step_functions,
  :lambda)
  include Aws::Structure
end

#step_functionsTypes::MaintenanceWindowStepFunctionsParameters

The parameters for a STEP_FUNCTION task type.



7360
7361
7362
7363
7364
7365
7366
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 7360

class MaintenanceWindowTaskInvocationParameters < Struct.new(
  :run_command,
  :automation,
  :step_functions,
  :lambda)
  include Aws::Structure
end