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",
    cloud_watch_output_config: {
      cloud_watch_log_group_name: "CloudWatchLogGroupName",
      cloud_watch_output_enabled: false,
    },
    document_hash: "DocumentHash",
    document_hash_type: "Sha256", # accepts Sha256, Sha1
    document_version: "DocumentVersion",
    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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#automationTypes::MaintenanceWindowAutomationParameters

The parameters for an AUTOMATION task type.



12169
12170
12171
12172
12173
12174
12175
12176
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 12169

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

#lambdaTypes::MaintenanceWindowLambdaParameters

The parameters for a LAMBDA task type.



12169
12170
12171
12172
12173
12174
12175
12176
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 12169

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

#run_commandTypes::MaintenanceWindowRunCommandParameters

The parameters for a RUN_COMMAND task type.



12169
12170
12171
12172
12173
12174
12175
12176
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 12169

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

#step_functionsTypes::MaintenanceWindowStepFunctionsParameters

The parameters for a STEP_FUNCTIONS task type.



12169
12170
12171
12172
12173
12174
12175
12176
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 12169

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