# MaintenanceWindowAutomationParametersProperty

The `MaintenanceWindowAutomationParameters` property type specifies the parameters for an `AUTOMATION` task type for a maintenance window task in AWS Systems Manager .

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

For information about available parameters in Automation runbooks, you can view the content of the runbook itself in the Systems Manager console. For information, see [View runbook content](https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-documents-reference-details.html#view-automation-json) in the *AWS Systems Manager User Guide* .

- 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';

declare const parameters: any;
const maintenanceWindowAutomationParametersProperty: ssm.CfnMaintenanceWindowTask.MaintenanceWindowAutomationParametersProperty = {
  documentVersion: 'documentVersion',
  parameters: parameters,
};
```

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

# parameters: Any

maintenance_window_automation_parameters_property = ssm.CfnMaintenanceWindowTask.MaintenanceWindowAutomationParametersProperty(
    document_version="documentVersion",
    parameters=parameters
)
```

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.*;

Object parameters;

MaintenanceWindowAutomationParametersProperty maintenanceWindowAutomationParametersProperty = MaintenanceWindowAutomationParametersProperty.builder()
        .documentVersion("documentVersion")
        .parameters(parameters)
        .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 parameters;

var maintenanceWindowAutomationParametersProperty = new MaintenanceWindowAutomationParametersProperty {
    DocumentVersion = "documentVersion",
    Parameters = parameters
};
```

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"

var parameters interface{}

maintenanceWindowAutomationParametersProperty := &MaintenanceWindowAutomationParametersProperty{
	DocumentVersion: jsii.String("documentVersion"),
	Parameters: parameters,
}
```

## Properties

- `documentVersion`: string — The version of an Automation runbook to use during task execution.

- `parameters`: any — The parameters for the `AUTOMATION` type task.
