1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ssm
  5. MaintenanceWindowTask

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.44.0 published on Friday, Dec 19, 2025 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.44.0 published on Friday, Dec 19, 2025 by Pulumi

    Resource Type definition for AWS::SSM::MaintenanceWindowTask

    Example Usage

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var lambdaTask = new AwsNative.Ssm.MaintenanceWindowTask("lambdaTask", new()
        {
            WindowId = "mw-04fd6f19dfEXAMPLE",
            TaskArn = "arn:aws:lambda:us-east-2:111222333444:function:MyLambdaTaskArn",
            ServiceRoleArn = "arn:aws:iam::111222333444:role/aws-service-role/ssm.amazonaws.com/AWSServiceRoleForAmazonSSM",
            TaskType = "LAMBDA",
            TaskInvocationParameters = new AwsNative.Ssm.Inputs.MaintenanceWindowTaskTaskInvocationParametersArgs
            {
                MaintenanceWindowLambdaParameters = new AwsNative.Ssm.Inputs.MaintenanceWindowTaskMaintenanceWindowLambdaParametersArgs
                {
                    ClientContext = "eyJ0ZXN0Q29udGV4dCI6Ik5vdGhp==trucated==EXAMPLE",
                    Qualifier = "$LATEST",
                    Payload = "eyJJbnN0YW5jZUlkIjoie3tSRVNPVVJDRV9JRH19IiwidGFyZ2V0VHlwZSI6Int7VEFSR0VUX1RZUEV9fSJ9",
                },
            },
            Priority = 1,
            Name = "UpdateLambdaTaskEXAMPLE",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ssm.NewMaintenanceWindowTask(ctx, "lambdaTask", &ssm.MaintenanceWindowTaskArgs{
    			WindowId:       pulumi.String("mw-04fd6f19dfEXAMPLE"),
    			TaskArn:        pulumi.String("arn:aws:lambda:us-east-2:111222333444:function:MyLambdaTaskArn"),
    			ServiceRoleArn: pulumi.String("arn:aws:iam::111222333444:role/aws-service-role/ssm.amazonaws.com/AWSServiceRoleForAmazonSSM"),
    			TaskType:       pulumi.String("LAMBDA"),
    			TaskInvocationParameters: &ssm.MaintenanceWindowTaskTaskInvocationParametersArgs{
    				MaintenanceWindowLambdaParameters: &ssm.MaintenanceWindowTaskMaintenanceWindowLambdaParametersArgs{
    					ClientContext: pulumi.String("eyJ0ZXN0Q29udGV4dCI6Ik5vdGhp==trucated==EXAMPLE"),
    					Qualifier:     pulumi.String("$LATEST"),
    					Payload:       pulumi.String("eyJJbnN0YW5jZUlkIjoie3tSRVNPVVJDRV9JRH19IiwidGFyZ2V0VHlwZSI6Int7VEFSR0VUX1RZUEV9fSJ9"),
    				},
    			},
    			Priority: pulumi.Int(1),
    			Name:     pulumi.String("UpdateLambdaTaskEXAMPLE"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const lambdaTask = new aws_native.ssm.MaintenanceWindowTask("lambdaTask", {
        windowId: "mw-04fd6f19dfEXAMPLE",
        taskArn: "arn:aws:lambda:us-east-2:111222333444:function:MyLambdaTaskArn",
        serviceRoleArn: "arn:aws:iam::111222333444:role/aws-service-role/ssm.amazonaws.com/AWSServiceRoleForAmazonSSM",
        taskType: "LAMBDA",
        taskInvocationParameters: {
            maintenanceWindowLambdaParameters: {
                clientContext: "eyJ0ZXN0Q29udGV4dCI6Ik5vdGhp==trucated==EXAMPLE",
                qualifier: "$LATEST",
                payload: "eyJJbnN0YW5jZUlkIjoie3tSRVNPVVJDRV9JRH19IiwidGFyZ2V0VHlwZSI6Int7VEFSR0VUX1RZUEV9fSJ9",
            },
        },
        priority: 1,
        name: "UpdateLambdaTaskEXAMPLE",
    });
    
    import pulumi
    import pulumi_aws_native as aws_native
    
    lambda_task = aws_native.ssm.MaintenanceWindowTask("lambdaTask",
        window_id="mw-04fd6f19dfEXAMPLE",
        task_arn="arn:aws:lambda:us-east-2:111222333444:function:MyLambdaTaskArn",
        service_role_arn="arn:aws:iam::111222333444:role/aws-service-role/ssm.amazonaws.com/AWSServiceRoleForAmazonSSM",
        task_type="LAMBDA",
        task_invocation_parameters={
            "maintenance_window_lambda_parameters": {
                "client_context": "eyJ0ZXN0Q29udGV4dCI6Ik5vdGhp==trucated==EXAMPLE",
                "qualifier": "$LATEST",
                "payload": "eyJJbnN0YW5jZUlkIjoie3tSRVNPVVJDRV9JRH19IiwidGFyZ2V0VHlwZSI6Int7VEFSR0VUX1RZUEV9fSJ9",
            },
        },
        priority=1,
        name="UpdateLambdaTaskEXAMPLE")
    

    Example coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var lambdaTask = new AwsNative.Ssm.MaintenanceWindowTask("lambdaTask", new()
        {
            WindowId = "mw-04fd6f19dfEXAMPLE",
            TaskArn = "arn:aws:lambda:us-east-2:111222333444:function:MyLambdaTaskArn",
            ServiceRoleArn = "arn:aws:iam::111222333444:role/aws-service-role/ssm.amazonaws.com/AWSServiceRoleForAmazonSSM",
            TaskType = "LAMBDA",
            TaskInvocationParameters = new AwsNative.Ssm.Inputs.MaintenanceWindowTaskTaskInvocationParametersArgs
            {
                MaintenanceWindowLambdaParameters = new AwsNative.Ssm.Inputs.MaintenanceWindowTaskMaintenanceWindowLambdaParametersArgs
                {
                    ClientContext = "eyJ0ZXN0Q29udGV4dCI6Ik5vdGhp==trucated==EXAMPLE",
                    Qualifier = "$LATEST",
                    Payload = "eyJJbnN0YW5jZUlkIjoie3tSRVNPVVJDRV9JRH19IiwidGFyZ2V0VHlwZSI6Int7VEFSR0VUX1RZUEV9fSJ9",
                },
            },
            Priority = 1,
            Name = "UpdateLambdaTaskEXAMPLE",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ssm.NewMaintenanceWindowTask(ctx, "lambdaTask", &ssm.MaintenanceWindowTaskArgs{
    			WindowId:       pulumi.String("mw-04fd6f19dfEXAMPLE"),
    			TaskArn:        pulumi.String("arn:aws:lambda:us-east-2:111222333444:function:MyLambdaTaskArn"),
    			ServiceRoleArn: pulumi.String("arn:aws:iam::111222333444:role/aws-service-role/ssm.amazonaws.com/AWSServiceRoleForAmazonSSM"),
    			TaskType:       pulumi.String("LAMBDA"),
    			TaskInvocationParameters: &ssm.MaintenanceWindowTaskTaskInvocationParametersArgs{
    				MaintenanceWindowLambdaParameters: &ssm.MaintenanceWindowTaskMaintenanceWindowLambdaParametersArgs{
    					ClientContext: pulumi.String("eyJ0ZXN0Q29udGV4dCI6Ik5vdGhp==trucated==EXAMPLE"),
    					Qualifier:     pulumi.String("$LATEST"),
    					Payload:       pulumi.String("eyJJbnN0YW5jZUlkIjoie3tSRVNPVVJDRV9JRH19IiwidGFyZ2V0VHlwZSI6Int7VEFSR0VUX1RZUEV9fSJ9"),
    				},
    			},
    			Priority: pulumi.Int(1),
    			Name:     pulumi.String("UpdateLambdaTaskEXAMPLE"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const lambdaTask = new aws_native.ssm.MaintenanceWindowTask("lambdaTask", {
        windowId: "mw-04fd6f19dfEXAMPLE",
        taskArn: "arn:aws:lambda:us-east-2:111222333444:function:MyLambdaTaskArn",
        serviceRoleArn: "arn:aws:iam::111222333444:role/aws-service-role/ssm.amazonaws.com/AWSServiceRoleForAmazonSSM",
        taskType: "LAMBDA",
        taskInvocationParameters: {
            maintenanceWindowLambdaParameters: {
                clientContext: "eyJ0ZXN0Q29udGV4dCI6Ik5vdGhp==trucated==EXAMPLE",
                qualifier: "$LATEST",
                payload: "eyJJbnN0YW5jZUlkIjoie3tSRVNPVVJDRV9JRH19IiwidGFyZ2V0VHlwZSI6Int7VEFSR0VUX1RZUEV9fSJ9",
            },
        },
        priority: 1,
        name: "UpdateLambdaTaskEXAMPLE",
    });
    
    import pulumi
    import pulumi_aws_native as aws_native
    
    lambda_task = aws_native.ssm.MaintenanceWindowTask("lambdaTask",
        window_id="mw-04fd6f19dfEXAMPLE",
        task_arn="arn:aws:lambda:us-east-2:111222333444:function:MyLambdaTaskArn",
        service_role_arn="arn:aws:iam::111222333444:role/aws-service-role/ssm.amazonaws.com/AWSServiceRoleForAmazonSSM",
        task_type="LAMBDA",
        task_invocation_parameters={
            "maintenance_window_lambda_parameters": {
                "client_context": "eyJ0ZXN0Q29udGV4dCI6Ik5vdGhp==trucated==EXAMPLE",
                "qualifier": "$LATEST",
                "payload": "eyJJbnN0YW5jZUlkIjoie3tSRVNPVVJDRV9JRH19IiwidGFyZ2V0VHlwZSI6Int7VEFSR0VUX1RZUEV9fSJ9",
            },
        },
        priority=1,
        name="UpdateLambdaTaskEXAMPLE")
    

    Example coming soon!

    Create MaintenanceWindowTask Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MaintenanceWindowTask(name: string, args: MaintenanceWindowTaskArgs, opts?: CustomResourceOptions);
    @overload
    def MaintenanceWindowTask(resource_name: str,
                              args: MaintenanceWindowTaskArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def MaintenanceWindowTask(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              task_arn: Optional[str] = None,
                              priority: Optional[int] = None,
                              window_id: Optional[str] = None,
                              task_type: Optional[str] = None,
                              max_errors: Optional[str] = None,
                              name: Optional[str] = None,
                              targets: Optional[Sequence[MaintenanceWindowTaskTargetArgs]] = None,
                              max_concurrency: Optional[str] = None,
                              description: Optional[str] = None,
                              cutoff_behavior: Optional[str] = None,
                              task_invocation_parameters: Optional[MaintenanceWindowTaskTaskInvocationParametersArgs] = None,
                              task_parameters: Optional[Any] = None,
                              service_role_arn: Optional[str] = None,
                              logging_info: Optional[MaintenanceWindowTaskLoggingInfoArgs] = None)
    func NewMaintenanceWindowTask(ctx *Context, name string, args MaintenanceWindowTaskArgs, opts ...ResourceOption) (*MaintenanceWindowTask, error)
    public MaintenanceWindowTask(string name, MaintenanceWindowTaskArgs args, CustomResourceOptions? opts = null)
    public MaintenanceWindowTask(String name, MaintenanceWindowTaskArgs args)
    public MaintenanceWindowTask(String name, MaintenanceWindowTaskArgs args, CustomResourceOptions options)
    
    type: aws-native:ssm:MaintenanceWindowTask
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args MaintenanceWindowTaskArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MaintenanceWindowTaskArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MaintenanceWindowTaskArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MaintenanceWindowTaskArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MaintenanceWindowTaskArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    MaintenanceWindowTask Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The MaintenanceWindowTask resource accepts the following input properties:

    Priority int
    The priority of the task in the maintenance window. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
    TaskArn string
    The resource that the task uses during execution.
    TaskType string
    The type of task.
    WindowId string
    The ID of the maintenance window where the task is registered.
    CutoffBehavior string
    The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.
    Description string
    A description of the task.
    LoggingInfo Pulumi.AwsNative.Ssm.Inputs.MaintenanceWindowTaskLoggingInfo
    Information about an Amazon S3 bucket to write Run Command task-level logs to.
    MaxConcurrency string
    The maximum number of targets this task can be run for, in parallel.
    MaxErrors string
    The maximum number of errors allowed before this task stops being scheduled.
    Name string
    The task name.
    ServiceRoleArn string
    The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task.
    Targets List<Pulumi.AwsNative.Ssm.Inputs.MaintenanceWindowTaskTarget>
    The targets (either instances or window target ids).
    TaskInvocationParameters Pulumi.AwsNative.Ssm.Inputs.MaintenanceWindowTaskTaskInvocationParameters
    The parameters to pass to the task when it runs. Populate only the fields that match the task type. All other fields should be empty.
    TaskParameters object

    The parameters to pass to the task when it runs.

    Search the CloudFormation User Guide for AWS::SSM::MaintenanceWindowTask for more information about the expected schema for this property.

    Priority int
    The priority of the task in the maintenance window. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
    TaskArn string
    The resource that the task uses during execution.
    TaskType string
    The type of task.
    WindowId string
    The ID of the maintenance window where the task is registered.
    CutoffBehavior string
    The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.
    Description string
    A description of the task.
    LoggingInfo MaintenanceWindowTaskLoggingInfoArgs
    Information about an Amazon S3 bucket to write Run Command task-level logs to.
    MaxConcurrency string
    The maximum number of targets this task can be run for, in parallel.
    MaxErrors string
    The maximum number of errors allowed before this task stops being scheduled.
    Name string
    The task name.
    ServiceRoleArn string
    The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task.
    Targets []MaintenanceWindowTaskTargetArgs
    The targets (either instances or window target ids).
    TaskInvocationParameters MaintenanceWindowTaskTaskInvocationParametersArgs
    The parameters to pass to the task when it runs. Populate only the fields that match the task type. All other fields should be empty.
    TaskParameters interface{}

    The parameters to pass to the task when it runs.

    Search the CloudFormation User Guide for AWS::SSM::MaintenanceWindowTask for more information about the expected schema for this property.

    priority Integer
    The priority of the task in the maintenance window. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
    taskArn String
    The resource that the task uses during execution.
    taskType String
    The type of task.
    windowId String
    The ID of the maintenance window where the task is registered.
    cutoffBehavior String
    The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.
    description String
    A description of the task.
    loggingInfo MaintenanceWindowTaskLoggingInfo
    Information about an Amazon S3 bucket to write Run Command task-level logs to.
    maxConcurrency String
    The maximum number of targets this task can be run for, in parallel.
    maxErrors String
    The maximum number of errors allowed before this task stops being scheduled.
    name String
    The task name.
    serviceRoleArn String
    The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task.
    targets List<MaintenanceWindowTaskTarget>
    The targets (either instances or window target ids).
    taskInvocationParameters MaintenanceWindowTaskTaskInvocationParameters
    The parameters to pass to the task when it runs. Populate only the fields that match the task type. All other fields should be empty.
    taskParameters Object

    The parameters to pass to the task when it runs.

    Search the CloudFormation User Guide for AWS::SSM::MaintenanceWindowTask for more information about the expected schema for this property.

    priority number
    The priority of the task in the maintenance window. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
    taskArn string
    The resource that the task uses during execution.
    taskType string
    The type of task.
    windowId string
    The ID of the maintenance window where the task is registered.
    cutoffBehavior string
    The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.
    description string
    A description of the task.
    loggingInfo MaintenanceWindowTaskLoggingInfo
    Information about an Amazon S3 bucket to write Run Command task-level logs to.
    maxConcurrency string
    The maximum number of targets this task can be run for, in parallel.
    maxErrors string
    The maximum number of errors allowed before this task stops being scheduled.
    name string
    The task name.
    serviceRoleArn string
    The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task.
    targets MaintenanceWindowTaskTarget[]
    The targets (either instances or window target ids).
    taskInvocationParameters MaintenanceWindowTaskTaskInvocationParameters
    The parameters to pass to the task when it runs. Populate only the fields that match the task type. All other fields should be empty.
    taskParameters any

    The parameters to pass to the task when it runs.

    Search the CloudFormation User Guide for AWS::SSM::MaintenanceWindowTask for more information about the expected schema for this property.

    priority int
    The priority of the task in the maintenance window. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
    task_arn str
    The resource that the task uses during execution.
    task_type str
    The type of task.
    window_id str
    The ID of the maintenance window where the task is registered.
    cutoff_behavior str
    The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.
    description str
    A description of the task.
    logging_info MaintenanceWindowTaskLoggingInfoArgs
    Information about an Amazon S3 bucket to write Run Command task-level logs to.
    max_concurrency str
    The maximum number of targets this task can be run for, in parallel.
    max_errors str
    The maximum number of errors allowed before this task stops being scheduled.
    name str
    The task name.
    service_role_arn str
    The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task.
    targets Sequence[MaintenanceWindowTaskTargetArgs]
    The targets (either instances or window target ids).
    task_invocation_parameters MaintenanceWindowTaskTaskInvocationParametersArgs
    The parameters to pass to the task when it runs. Populate only the fields that match the task type. All other fields should be empty.
    task_parameters Any

    The parameters to pass to the task when it runs.

    Search the CloudFormation User Guide for AWS::SSM::MaintenanceWindowTask for more information about the expected schema for this property.

    priority Number
    The priority of the task in the maintenance window. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
    taskArn String
    The resource that the task uses during execution.
    taskType String
    The type of task.
    windowId String
    The ID of the maintenance window where the task is registered.
    cutoffBehavior String
    The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.
    description String
    A description of the task.
    loggingInfo Property Map
    Information about an Amazon S3 bucket to write Run Command task-level logs to.
    maxConcurrency String
    The maximum number of targets this task can be run for, in parallel.
    maxErrors String
    The maximum number of errors allowed before this task stops being scheduled.
    name String
    The task name.
    serviceRoleArn String
    The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task.
    targets List<Property Map>
    The targets (either instances or window target ids).
    taskInvocationParameters Property Map
    The parameters to pass to the task when it runs. Populate only the fields that match the task type. All other fields should be empty.
    taskParameters Any

    The parameters to pass to the task when it runs.

    Search the CloudFormation User Guide for AWS::SSM::MaintenanceWindowTask for more information about the expected schema for this property.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MaintenanceWindowTask resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    WindowTaskId string
    Unique identifier of the maintenance window task.
    Id string
    The provider-assigned unique ID for this managed resource.
    WindowTaskId string
    Unique identifier of the maintenance window task.
    id String
    The provider-assigned unique ID for this managed resource.
    windowTaskId String
    Unique identifier of the maintenance window task.
    id string
    The provider-assigned unique ID for this managed resource.
    windowTaskId string
    Unique identifier of the maintenance window task.
    id str
    The provider-assigned unique ID for this managed resource.
    window_task_id str
    Unique identifier of the maintenance window task.
    id String
    The provider-assigned unique ID for this managed resource.
    windowTaskId String
    Unique identifier of the maintenance window task.

    Supporting Types

    MaintenanceWindowTaskCloudWatchOutputConfig, MaintenanceWindowTaskCloudWatchOutputConfigArgs

    CloudWatchLogGroupName string
    The name of the CloudWatch log group where you want to send command output.
    CloudWatchOutputEnabled bool
    Enables Systems Manager to send command output to CloudWatch Logs.
    CloudWatchLogGroupName string
    The name of the CloudWatch log group where you want to send command output.
    CloudWatchOutputEnabled bool
    Enables Systems Manager to send command output to CloudWatch Logs.
    cloudWatchLogGroupName String
    The name of the CloudWatch log group where you want to send command output.
    cloudWatchOutputEnabled Boolean
    Enables Systems Manager to send command output to CloudWatch Logs.
    cloudWatchLogGroupName string
    The name of the CloudWatch log group where you want to send command output.
    cloudWatchOutputEnabled boolean
    Enables Systems Manager to send command output to CloudWatch Logs.
    cloud_watch_log_group_name str
    The name of the CloudWatch log group where you want to send command output.
    cloud_watch_output_enabled bool
    Enables Systems Manager to send command output to CloudWatch Logs.
    cloudWatchLogGroupName String
    The name of the CloudWatch log group where you want to send command output.
    cloudWatchOutputEnabled Boolean
    Enables Systems Manager to send command output to CloudWatch Logs.

    MaintenanceWindowTaskLoggingInfo, MaintenanceWindowTaskLoggingInfoArgs

    Region string
    The AWS Region where the S3 bucket is located.
    S3Bucket string
    The name of an S3 bucket where execution logs are stored.
    S3Prefix string
    The Amazon S3 bucket subfolder.
    Region string
    The AWS Region where the S3 bucket is located.
    S3Bucket string
    The name of an S3 bucket where execution logs are stored.
    S3Prefix string
    The Amazon S3 bucket subfolder.
    region String
    The AWS Region where the S3 bucket is located.
    s3Bucket String
    The name of an S3 bucket where execution logs are stored.
    s3Prefix String
    The Amazon S3 bucket subfolder.
    region string
    The AWS Region where the S3 bucket is located.
    s3Bucket string
    The name of an S3 bucket where execution logs are stored.
    s3Prefix string
    The Amazon S3 bucket subfolder.
    region str
    The AWS Region where the S3 bucket is located.
    s3_bucket str
    The name of an S3 bucket where execution logs are stored.
    s3_prefix str
    The Amazon S3 bucket subfolder.
    region String
    The AWS Region where the S3 bucket is located.
    s3Bucket String
    The name of an S3 bucket where execution logs are stored.
    s3Prefix String
    The Amazon S3 bucket subfolder.

    MaintenanceWindowTaskMaintenanceWindowAutomationParameters, MaintenanceWindowTaskMaintenanceWindowAutomationParametersArgs

    DocumentVersion string
    The version of an Automation runbook to use during task execution.
    Parameters object
    The parameters for the AUTOMATION type task.
    DocumentVersion string
    The version of an Automation runbook to use during task execution.
    Parameters interface{}
    The parameters for the AUTOMATION type task.
    documentVersion String
    The version of an Automation runbook to use during task execution.
    parameters Object
    The parameters for the AUTOMATION type task.
    documentVersion string
    The version of an Automation runbook to use during task execution.
    parameters any
    The parameters for the AUTOMATION type task.
    document_version str
    The version of an Automation runbook to use during task execution.
    parameters Any
    The parameters for the AUTOMATION type task.
    documentVersion String
    The version of an Automation runbook to use during task execution.
    parameters Any
    The parameters for the AUTOMATION type task.

    MaintenanceWindowTaskMaintenanceWindowLambdaParameters, MaintenanceWindowTaskMaintenanceWindowLambdaParametersArgs

    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.
    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.
    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.
    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.
    client_context str
    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 str

    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 str
    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.
    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.

    MaintenanceWindowTaskMaintenanceWindowRunCommandParameters, MaintenanceWindowTaskMaintenanceWindowRunCommandParametersArgs

    CloudWatchOutputConfig Pulumi.AwsNative.Ssm.Inputs.MaintenanceWindowTaskCloudWatchOutputConfig
    Configuration options for sending command output to Amazon CloudWatch Logs.
    Comment string
    Information about the command or commands to run.
    DocumentHash string
    The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated.
    DocumentHashType string
    The SHA-256 or SHA-1 hash type. SHA-1 hashes are deprecated.
    DocumentVersion string

    The AWS Systems Manager document (SSM document) version to use in the request. You can specify $DEFAULT , $LATEST , or a specific version number. If you run commands by using the AWS CLI, then you must escape the first two options by using a backslash. If you specify a version number, then you don't need to use the backslash. For example:

    --document-version "\$DEFAULT"

    --document-version "\$LATEST"

    --document-version "3"

    NotificationConfig Pulumi.AwsNative.Ssm.Inputs.MaintenanceWindowTaskNotificationConfig
    Configurations for sending notifications about command status changes on a per-managed node basis.
    OutputS3BucketName string
    The name of the Amazon Simple Storage Service (Amazon S3) bucket.
    OutputS3KeyPrefix string
    The S3 bucket subfolder.
    Parameters object

    The parameters for the RUN_COMMAND task execution.

    The supported parameters are the same as those for the SendCommand API call. For more information, see SendCommand in the AWS Systems Manager API Reference .

    ServiceRoleArn string

    The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow .

    However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see Setting up Maintenance Windows in the in the AWS Systems Manager User Guide .

    TimeoutSeconds int
    If this time is reached and the command hasn't already started running, it doesn't run.
    CloudWatchOutputConfig MaintenanceWindowTaskCloudWatchOutputConfig
    Configuration options for sending command output to Amazon CloudWatch Logs.
    Comment string
    Information about the command or commands to run.
    DocumentHash string
    The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated.
    DocumentHashType string
    The SHA-256 or SHA-1 hash type. SHA-1 hashes are deprecated.
    DocumentVersion string

    The AWS Systems Manager document (SSM document) version to use in the request. You can specify $DEFAULT , $LATEST , or a specific version number. If you run commands by using the AWS CLI, then you must escape the first two options by using a backslash. If you specify a version number, then you don't need to use the backslash. For example:

    --document-version "\$DEFAULT"

    --document-version "\$LATEST"

    --document-version "3"

    NotificationConfig MaintenanceWindowTaskNotificationConfig
    Configurations for sending notifications about command status changes on a per-managed node basis.
    OutputS3BucketName string
    The name of the Amazon Simple Storage Service (Amazon S3) bucket.
    OutputS3KeyPrefix string
    The S3 bucket subfolder.
    Parameters interface{}

    The parameters for the RUN_COMMAND task execution.

    The supported parameters are the same as those for the SendCommand API call. For more information, see SendCommand in the AWS Systems Manager API Reference .

    ServiceRoleArn string

    The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow .

    However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see Setting up Maintenance Windows in the in the AWS Systems Manager User Guide .

    TimeoutSeconds int
    If this time is reached and the command hasn't already started running, it doesn't run.
    cloudWatchOutputConfig MaintenanceWindowTaskCloudWatchOutputConfig
    Configuration options for sending command output to Amazon CloudWatch Logs.
    comment String
    Information about the command or commands to run.
    documentHash String
    The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated.
    documentHashType String
    The SHA-256 or SHA-1 hash type. SHA-1 hashes are deprecated.
    documentVersion String

    The AWS Systems Manager document (SSM document) version to use in the request. You can specify $DEFAULT , $LATEST , or a specific version number. If you run commands by using the AWS CLI, then you must escape the first two options by using a backslash. If you specify a version number, then you don't need to use the backslash. For example:

    --document-version "\$DEFAULT"

    --document-version "\$LATEST"

    --document-version "3"

    notificationConfig MaintenanceWindowTaskNotificationConfig
    Configurations for sending notifications about command status changes on a per-managed node basis.
    outputS3BucketName String
    The name of the Amazon Simple Storage Service (Amazon S3) bucket.
    outputS3KeyPrefix String
    The S3 bucket subfolder.
    parameters Object

    The parameters for the RUN_COMMAND task execution.

    The supported parameters are the same as those for the SendCommand API call. For more information, see SendCommand in the AWS Systems Manager API Reference .

    serviceRoleArn String

    The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow .

    However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see Setting up Maintenance Windows in the in the AWS Systems Manager User Guide .

    timeoutSeconds Integer
    If this time is reached and the command hasn't already started running, it doesn't run.
    cloudWatchOutputConfig MaintenanceWindowTaskCloudWatchOutputConfig
    Configuration options for sending command output to Amazon CloudWatch Logs.
    comment string
    Information about the command or commands to run.
    documentHash string
    The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated.
    documentHashType string
    The SHA-256 or SHA-1 hash type. SHA-1 hashes are deprecated.
    documentVersion string

    The AWS Systems Manager document (SSM document) version to use in the request. You can specify $DEFAULT , $LATEST , or a specific version number. If you run commands by using the AWS CLI, then you must escape the first two options by using a backslash. If you specify a version number, then you don't need to use the backslash. For example:

    --document-version "\$DEFAULT"

    --document-version "\$LATEST"

    --document-version "3"

    notificationConfig MaintenanceWindowTaskNotificationConfig
    Configurations for sending notifications about command status changes on a per-managed node basis.
    outputS3BucketName string
    The name of the Amazon Simple Storage Service (Amazon S3) bucket.
    outputS3KeyPrefix string
    The S3 bucket subfolder.
    parameters any

    The parameters for the RUN_COMMAND task execution.

    The supported parameters are the same as those for the SendCommand API call. For more information, see SendCommand in the AWS Systems Manager API Reference .

    serviceRoleArn string

    The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow .

    However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see Setting up Maintenance Windows in the in the AWS Systems Manager User Guide .

    timeoutSeconds number
    If this time is reached and the command hasn't already started running, it doesn't run.
    cloud_watch_output_config MaintenanceWindowTaskCloudWatchOutputConfig
    Configuration options for sending command output to Amazon CloudWatch Logs.
    comment str
    Information about the command or commands to run.
    document_hash str
    The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated.
    document_hash_type str
    The SHA-256 or SHA-1 hash type. SHA-1 hashes are deprecated.
    document_version str

    The AWS Systems Manager document (SSM document) version to use in the request. You can specify $DEFAULT , $LATEST , or a specific version number. If you run commands by using the AWS CLI, then you must escape the first two options by using a backslash. If you specify a version number, then you don't need to use the backslash. For example:

    --document-version "\$DEFAULT"

    --document-version "\$LATEST"

    --document-version "3"

    notification_config MaintenanceWindowTaskNotificationConfig
    Configurations for sending notifications about command status changes on a per-managed node basis.
    output_s3_bucket_name str
    The name of the Amazon Simple Storage Service (Amazon S3) bucket.
    output_s3_key_prefix str
    The S3 bucket subfolder.
    parameters Any

    The parameters for the RUN_COMMAND task execution.

    The supported parameters are the same as those for the SendCommand API call. For more information, see SendCommand in the AWS Systems Manager API Reference .

    service_role_arn str

    The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow .

    However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see Setting up Maintenance Windows in the in the AWS Systems Manager User Guide .

    timeout_seconds int
    If this time is reached and the command hasn't already started running, it doesn't run.
    cloudWatchOutputConfig Property Map
    Configuration options for sending command output to Amazon CloudWatch Logs.
    comment String
    Information about the command or commands to run.
    documentHash String
    The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated.
    documentHashType String
    The SHA-256 or SHA-1 hash type. SHA-1 hashes are deprecated.
    documentVersion String

    The AWS Systems Manager document (SSM document) version to use in the request. You can specify $DEFAULT , $LATEST , or a specific version number. If you run commands by using the AWS CLI, then you must escape the first two options by using a backslash. If you specify a version number, then you don't need to use the backslash. For example:

    --document-version "\$DEFAULT"

    --document-version "\$LATEST"

    --document-version "3"

    notificationConfig Property Map
    Configurations for sending notifications about command status changes on a per-managed node basis.
    outputS3BucketName String
    The name of the Amazon Simple Storage Service (Amazon S3) bucket.
    outputS3KeyPrefix String
    The S3 bucket subfolder.
    parameters Any

    The parameters for the RUN_COMMAND task execution.

    The supported parameters are the same as those for the SendCommand API call. For more information, see SendCommand in the AWS Systems Manager API Reference .

    serviceRoleArn String

    The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow .

    However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see Setting up Maintenance Windows in the in the AWS Systems Manager User Guide .

    timeoutSeconds Number
    If this time is reached and the command hasn't already started running, it doesn't run.

    MaintenanceWindowTaskMaintenanceWindowStepFunctionsParameters, MaintenanceWindowTaskMaintenanceWindowStepFunctionsParametersArgs

    Input string
    The inputs for the STEP_FUNCTIONS task.
    Name string
    The name of the STEP_FUNCTIONS task.
    Input string
    The inputs for the STEP_FUNCTIONS task.
    Name string
    The name of the STEP_FUNCTIONS task.
    input String
    The inputs for the STEP_FUNCTIONS task.
    name String
    The name of the STEP_FUNCTIONS task.
    input string
    The inputs for the STEP_FUNCTIONS task.
    name string
    The name of the STEP_FUNCTIONS task.
    input str
    The inputs for the STEP_FUNCTIONS task.
    name str
    The name of the STEP_FUNCTIONS task.
    input String
    The inputs for the STEP_FUNCTIONS task.
    name String
    The name of the STEP_FUNCTIONS task.

    MaintenanceWindowTaskNotificationConfig, MaintenanceWindowTaskNotificationConfigArgs

    NotificationArn string
    An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run Command pushes notifications about command status changes to this topic.
    NotificationEvents List<string>
    The different events that you can receive notifications for. These events include the following: All (events), InProgress , Success , TimedOut , Cancelled , Failed . To learn more about these events, see Configuring Amazon SNS Notifications for AWS Systems Manager in the AWS Systems Manager User Guide .
    NotificationType string
    The notification type.

    • Command : Receive notification when the status of a command changes.
    • Invocation : For commands sent to multiple instances, receive notification on a per-instance basis when the status of a command changes.
    NotificationArn string
    An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run Command pushes notifications about command status changes to this topic.
    NotificationEvents []string
    The different events that you can receive notifications for. These events include the following: All (events), InProgress , Success , TimedOut , Cancelled , Failed . To learn more about these events, see Configuring Amazon SNS Notifications for AWS Systems Manager in the AWS Systems Manager User Guide .
    NotificationType string
    The notification type.

    • Command : Receive notification when the status of a command changes.
    • Invocation : For commands sent to multiple instances, receive notification on a per-instance basis when the status of a command changes.
    notificationArn String
    An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run Command pushes notifications about command status changes to this topic.
    notificationEvents List<String>
    The different events that you can receive notifications for. These events include the following: All (events), InProgress , Success , TimedOut , Cancelled , Failed . To learn more about these events, see Configuring Amazon SNS Notifications for AWS Systems Manager in the AWS Systems Manager User Guide .
    notificationType String
    The notification type.

    • Command : Receive notification when the status of a command changes.
    • Invocation : For commands sent to multiple instances, receive notification on a per-instance basis when the status of a command changes.
    notificationArn string
    An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run Command pushes notifications about command status changes to this topic.
    notificationEvents string[]
    The different events that you can receive notifications for. These events include the following: All (events), InProgress , Success , TimedOut , Cancelled , Failed . To learn more about these events, see Configuring Amazon SNS Notifications for AWS Systems Manager in the AWS Systems Manager User Guide .
    notificationType string
    The notification type.

    • Command : Receive notification when the status of a command changes.
    • Invocation : For commands sent to multiple instances, receive notification on a per-instance basis when the status of a command changes.
    notification_arn str
    An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run Command pushes notifications about command status changes to this topic.
    notification_events Sequence[str]
    The different events that you can receive notifications for. These events include the following: All (events), InProgress , Success , TimedOut , Cancelled , Failed . To learn more about these events, see Configuring Amazon SNS Notifications for AWS Systems Manager in the AWS Systems Manager User Guide .
    notification_type str
    The notification type.

    • Command : Receive notification when the status of a command changes.
    • Invocation : For commands sent to multiple instances, receive notification on a per-instance basis when the status of a command changes.
    notificationArn String
    An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run Command pushes notifications about command status changes to this topic.
    notificationEvents List<String>
    The different events that you can receive notifications for. These events include the following: All (events), InProgress , Success , TimedOut , Cancelled , Failed . To learn more about these events, see Configuring Amazon SNS Notifications for AWS Systems Manager in the AWS Systems Manager User Guide .
    notificationType String
    The notification type.

    • Command : Receive notification when the status of a command changes.
    • Invocation : For commands sent to multiple instances, receive notification on a per-instance basis when the status of a command changes.

    MaintenanceWindowTaskTarget, MaintenanceWindowTaskTargetArgs

    Key string
    User-defined criteria for sending commands that target instances that meet the criteria. Key can be InstanceIds or WindowTargetIds . For more information about how to target instances within a maintenance window task, see About 'register-task-with-maintenance-window' Options and Values in the AWS Systems Manager User Guide .
    Values List<string>
    User-defined criteria that maps to Key . For example, if you specify InstanceIds , you can specify i-1234567890abcdef0,i-9876543210abcdef0 to run a command on two EC2 instances. For more information about how to target instances within a maintenance window task, see About 'register-task-with-maintenance-window' Options and Values in the AWS Systems Manager User Guide .
    Key string
    User-defined criteria for sending commands that target instances that meet the criteria. Key can be InstanceIds or WindowTargetIds . For more information about how to target instances within a maintenance window task, see About 'register-task-with-maintenance-window' Options and Values in the AWS Systems Manager User Guide .
    Values []string
    User-defined criteria that maps to Key . For example, if you specify InstanceIds , you can specify i-1234567890abcdef0,i-9876543210abcdef0 to run a command on two EC2 instances. For more information about how to target instances within a maintenance window task, see About 'register-task-with-maintenance-window' Options and Values in the AWS Systems Manager User Guide .
    key String
    User-defined criteria for sending commands that target instances that meet the criteria. Key can be InstanceIds or WindowTargetIds . For more information about how to target instances within a maintenance window task, see About 'register-task-with-maintenance-window' Options and Values in the AWS Systems Manager User Guide .
    values List<String>
    User-defined criteria that maps to Key . For example, if you specify InstanceIds , you can specify i-1234567890abcdef0,i-9876543210abcdef0 to run a command on two EC2 instances. For more information about how to target instances within a maintenance window task, see About 'register-task-with-maintenance-window' Options and Values in the AWS Systems Manager User Guide .
    key string
    User-defined criteria for sending commands that target instances that meet the criteria. Key can be InstanceIds or WindowTargetIds . For more information about how to target instances within a maintenance window task, see About 'register-task-with-maintenance-window' Options and Values in the AWS Systems Manager User Guide .
    values string[]
    User-defined criteria that maps to Key . For example, if you specify InstanceIds , you can specify i-1234567890abcdef0,i-9876543210abcdef0 to run a command on two EC2 instances. For more information about how to target instances within a maintenance window task, see About 'register-task-with-maintenance-window' Options and Values in the AWS Systems Manager User Guide .
    key str
    User-defined criteria for sending commands that target instances that meet the criteria. Key can be InstanceIds or WindowTargetIds . For more information about how to target instances within a maintenance window task, see About 'register-task-with-maintenance-window' Options and Values in the AWS Systems Manager User Guide .
    values Sequence[str]
    User-defined criteria that maps to Key . For example, if you specify InstanceIds , you can specify i-1234567890abcdef0,i-9876543210abcdef0 to run a command on two EC2 instances. For more information about how to target instances within a maintenance window task, see About 'register-task-with-maintenance-window' Options and Values in the AWS Systems Manager User Guide .
    key String
    User-defined criteria for sending commands that target instances that meet the criteria. Key can be InstanceIds or WindowTargetIds . For more information about how to target instances within a maintenance window task, see About 'register-task-with-maintenance-window' Options and Values in the AWS Systems Manager User Guide .
    values List<String>
    User-defined criteria that maps to Key . For example, if you specify InstanceIds , you can specify i-1234567890abcdef0,i-9876543210abcdef0 to run a command on two EC2 instances. For more information about how to target instances within a maintenance window task, see About 'register-task-with-maintenance-window' Options and Values in the AWS Systems Manager User Guide .

    MaintenanceWindowTaskTaskInvocationParameters, MaintenanceWindowTaskTaskInvocationParametersArgs

    maintenanceWindowAutomationParameters Property Map
    The parameters for an AUTOMATION task type.
    maintenanceWindowLambdaParameters Property Map
    The parameters for a LAMBDA task type.
    maintenanceWindowRunCommandParameters Property Map
    The parameters for a RUN_COMMAND task type.
    maintenanceWindowStepFunctionsParameters Property Map
    The parameters for a STEP_FUNCTIONS task type.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.44.0 published on Friday, Dec 19, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate