# MaintenanceWindowLambdaParametersProperty

The `MaintenanceWindowLambdaParameters` property type specifies the parameters for a `LAMBDA` task type for a maintenance window task in AWS Systems Manager .

`MaintenanceWindowLambdaParameters` is a property of the [TaskInvocationParameters](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-taskinvocationparameters.html) property type.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ssm as ssm } from 'aws-cdk-lib';
const maintenanceWindowLambdaParametersProperty: ssm.CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty = {
  clientContext: 'clientContext',
  payload: 'payload',
  qualifier: 'qualifier',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ssm as ssm

maintenance_window_lambda_parameters_property = ssm.CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty(
    client_context="clientContext",
    payload="payload",
    qualifier="qualifier"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ssm.*;

MaintenanceWindowLambdaParametersProperty maintenanceWindowLambdaParametersProperty = MaintenanceWindowLambdaParametersProperty.builder()
        .clientContext("clientContext")
        .payload("payload")
        .qualifier("qualifier")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SSM;

var maintenanceWindowLambdaParametersProperty = new MaintenanceWindowLambdaParametersProperty {
    ClientContext = "clientContext",
    Payload = "payload",
    Qualifier = "qualifier"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

maintenanceWindowLambdaParametersProperty := &MaintenanceWindowLambdaParametersProperty{
	ClientContext: jsii.String("clientContext"),
	Payload: jsii.String("payload"),
	Qualifier: jsii.String("qualifier"),
}
```

## Properties

- `clientContext`: string — Client-specific information to pass to the AWS Lambda function that you're invoking.

  You can then use the `context` variable to process the client information in your AWS Lambda function.

- `payload`: string — JSON to provide to your AWS Lambda function as input.

  > Although `Type` is listed as "String" for this property, the payload content must be formatted as a Base64-encoded binary data object.

  *Length Constraint:* 4096

- `qualifier`: string — An AWS Lambda function version or alias name.

  If you specify a function version, the action uses the qualified function Amazon Resource Name (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 that the alias points to.
