Class: Aws::SSM::Types::MaintenanceWindowLambdaParameters

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

Overview

Note:

When making an API call, you may pass MaintenanceWindowLambdaParameters data as a hash:

{
  client_context: "MaintenanceWindowLambdaClientContext",
  qualifier: "MaintenanceWindowLambdaQualifier",
  payload: "data",
}

The parameters for a `LAMBDA` task type.

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

<note markdown=“1”> `LoggingInfo` has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the `OutputS3BucketName` and `OutputS3KeyPrefix` options in the `TaskInvocationParameters` structure. For information about how Amazon Web Services 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 Lambda tasks, Systems Manager ignores any values specified for

TaskParameters and LoggingInfo.

</note>

Constant Summary collapse

SENSITIVE =
[:payload]

Instance Attribute Summary collapse

Instance Attribute Details

#client_contextString

Pass client-specific information to the Lambda function that you are invoking. You can then process the client information in your Lambda function as you choose through the context variable.

Returns:

  • (String)

13285
13286
13287
13288
13289
13290
13291
# File 'lib/aws-sdk-ssm/types.rb', line 13285

class MaintenanceWindowLambdaParameters < Struct.new(
  :client_context,
  :qualifier,
  :payload)
  SENSITIVE = [:payload]
  include Aws::Structure
end

#payloadString

JSON to provide to your Lambda function as input.

Returns:

  • (String)

13285
13286
13287
13288
13289
13290
13291
# File 'lib/aws-sdk-ssm/types.rb', line 13285

class MaintenanceWindowLambdaParameters < Struct.new(
  :client_context,
  :qualifier,
  :payload)
  SENSITIVE = [:payload]
  include Aws::Structure
end

#qualifierString

(Optional) Specify an Lambda function version or alias name. If you specify a function version, the operation uses the qualified function Amazon Resource Name (ARN) to invoke a specific Lambda function. If you specify an alias name, the operation uses the alias ARN to invoke the Lambda function version to which the alias points.

Returns:

  • (String)

13285
13286
13287
13288
13289
13290
13291
# File 'lib/aws-sdk-ssm/types.rb', line 13285

class MaintenanceWindowLambdaParameters < Struct.new(
  :client_context,
  :qualifier,
  :payload)
  SENSITIVE = [:payload]
  include Aws::Structure
end