UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

87 lines (86 loc) 3.27 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::SSM::MaintenanceWindowTask */ export declare function getMaintenanceWindowTask(args: GetMaintenanceWindowTaskArgs, opts?: pulumi.InvokeOptions): Promise<GetMaintenanceWindowTaskResult>; export interface GetMaintenanceWindowTaskArgs { /** * The ID of the maintenance window where the task is registered. */ windowId: string; /** * Unique identifier of the maintenance window task. */ windowTaskId: string; } export interface GetMaintenanceWindowTaskResult { /** * The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached. */ readonly cutoffBehavior?: string; /** * A description of the task. */ readonly description?: string; /** * Information about an Amazon S3 bucket to write Run Command task-level logs to. */ readonly loggingInfo?: outputs.ssm.MaintenanceWindowTaskLoggingInfo; /** * The maximum number of targets this task can be run for, in parallel. */ readonly maxConcurrency?: string; /** * The maximum number of errors allowed before this task stops being scheduled. */ readonly maxErrors?: string; /** * The task name. */ readonly name?: string; /** * 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. */ readonly priority?: number; /** * The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task. */ readonly serviceRoleArn?: string; /** * The targets (either instances or window target ids). */ readonly targets?: outputs.ssm.MaintenanceWindowTaskTarget[]; /** * The resource that the task uses during execution. */ readonly taskArn?: string; /** * 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. */ readonly taskInvocationParameters?: outputs.ssm.MaintenanceWindowTaskTaskInvocationParameters; /** * The parameters to pass to the task when it runs. * * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::SSM::MaintenanceWindowTask` for more information about the expected schema for this property. */ readonly taskParameters?: any; /** * Unique identifier of the maintenance window task. */ readonly windowTaskId?: string; } /** * Resource Type definition for AWS::SSM::MaintenanceWindowTask */ export declare function getMaintenanceWindowTaskOutput(args: GetMaintenanceWindowTaskOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMaintenanceWindowTaskResult>; export interface GetMaintenanceWindowTaskOutputArgs { /** * The ID of the maintenance window where the task is registered. */ windowId: pulumi.Input<string>; /** * Unique identifier of the maintenance window task. */ windowTaskId: pulumi.Input<string>; }