AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

MaintenanceWindowLambdaParameters

import "github.com/aws/aws-sdk-go/service/ssm"

type MaintenanceWindowLambdaParameters struct { ClientContext *string `min:"1" type:"string"` Payload []byte `type:"blob" sensitive:"true"` Qualifier *string `min:"1" type:"string"` }

The parameters for a LAMBDA 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 Lambda tasks, Systems Manager ignores any values specified for TaskParameters and LoggingInfo.

ClientContext

Type: *string

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.

Payload

Type: []byte

JSON to provide to your Lambda function as input.

Payload is automatically base64 encoded/decoded by the SDK.

Qualifier

Type: *string

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

Method

GoString

func (s MaintenanceWindowLambdaParameters) GoString() string

GoString returns the string representation

SetClientContext

func (s *MaintenanceWindowLambdaParameters) SetClientContext(v string) *MaintenanceWindowLambdaParameters

SetClientContext sets the ClientContext field's value.

SetPayload

func (s *MaintenanceWindowLambdaParameters) SetPayload(v []byte) *MaintenanceWindowLambdaParameters

SetPayload sets the Payload field's value.

SetQualifier

func (s *MaintenanceWindowLambdaParameters) SetQualifier(v string) *MaintenanceWindowLambdaParameters

SetQualifier sets the Qualifier field's value.

String

func (s MaintenanceWindowLambdaParameters) String() string

String returns the string representation

Validate

func (s *MaintenanceWindowLambdaParameters) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: