Skip to content
v2.277.0

MaintenanceWindowAutomationParametersProperty Struct ​

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 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 in the AWS Systems Manager User Guide .

Example ​

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
# 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
// 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();
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
};
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 ​

documentVersionoptionalstringdocument_versionoptionalstrdocumentVersionoptionalStringDocumentVersionoptionalstringDocumentVersionoptional*string #
The version of an Automation runbook to use during task execution.
parametersoptionalanyparametersoptionalAnyparametersoptionalObjectParametersoptionalobjectParametersoptionalinterface{} #
The parameters for the `AUTOMATION` type task.