import * as core from "@terrascript/core"; export interface ParameterArgs extends core.SchemaArgs { name: string | core.StringOut; values: core.Array | core.ArrayOut; } export declare class Parameter extends core.Schema { name: string | core.StringOut; values: core.Array | core.ArrayOut; } export interface AutomationParametersArgs extends core.SchemaArgs { documentVersion?: string | core.StringOut; parameter?: core.Array | core.ArrayOut; } export declare class AutomationParameters extends core.Schema { documentVersion?: string | core.StringOut; parameter?: core.Array | core.ArrayOut; } export interface LambdaParametersArgs extends core.SchemaArgs { clientContext?: string | core.StringOut; payload?: string | core.StringOut; qualifier?: string | core.StringOut; } export declare class LambdaParameters extends core.Schema { clientContext?: string | core.StringOut; payload?: string | core.StringOut; qualifier?: string | core.StringOut; } export interface NotificationConfigArgs extends core.SchemaArgs { notificationArn?: string | core.StringOut; notificationEvents?: core.Array | core.ArrayOut; notificationType?: string | core.StringOut; } export declare class NotificationConfig extends core.Schema { notificationArn?: string | core.StringOut; notificationEvents?: core.Array | core.ArrayOut; notificationType?: string | core.StringOut; } export interface CloudwatchConfigArgs extends core.SchemaArgs { cloudwatchLogGroupName?: string | core.StringOut; cloudwatchOutputEnabled?: boolean | core.BooleanOut; } export declare class CloudwatchConfig extends core.Schema { cloudwatchLogGroupName?: string | core.StringOut; cloudwatchOutputEnabled?: boolean | core.BooleanOut; } export interface RunCommandParametersArgs extends core.SchemaArgs { cloudwatchConfig?: CloudwatchConfig; comment?: string | core.StringOut; documentHash?: string | core.StringOut; documentHashType?: string | core.StringOut; documentVersion?: string | core.StringOut; notificationConfig?: NotificationConfig; outputS3Bucket?: string | core.StringOut; outputS3KeyPrefix?: string | core.StringOut; parameter?: core.Array | core.ArrayOut; serviceRoleArn?: string | core.StringOut; timeoutSeconds?: number | core.NumberOut; } export declare class RunCommandParameters extends core.Schema { cloudwatchConfig?: CloudwatchConfig; comment?: string | core.StringOut; documentHash?: string | core.StringOut; documentHashType?: string | core.StringOut; documentVersion?: string | core.StringOut; notificationConfig?: NotificationConfig; outputS3Bucket?: string | core.StringOut; outputS3KeyPrefix?: string | core.StringOut; parameter?: core.Array | core.ArrayOut; serviceRoleArn?: string | core.StringOut; timeoutSeconds?: number | core.NumberOut; } export interface StepFunctionsParametersArgs extends core.SchemaArgs { input?: string | core.StringOut; name?: string | core.StringOut; } export declare class StepFunctionsParameters extends core.Schema { input?: string | core.StringOut; name?: string | core.StringOut; } export interface TaskInvocationParametersArgs extends core.SchemaArgs { automationParameters?: AutomationParameters; lambdaParameters?: LambdaParameters; runCommandParameters?: RunCommandParameters; stepFunctionsParameters?: StepFunctionsParameters; } export declare class TaskInvocationParameters extends core.Schema { automationParameters?: AutomationParameters; lambdaParameters?: LambdaParameters; runCommandParameters?: RunCommandParameters; stepFunctionsParameters?: StepFunctionsParameters; } export interface TargetsArgs extends core.SchemaArgs { key: string | core.StringOut; values: core.Array | core.ArrayOut; } export declare class Targets extends core.Schema { key: string | core.StringOut; values: core.Array | core.ArrayOut; } export interface MaintenanceWindowTaskArgs extends core.ResourceArgs { /** * (Optional) Indicates whether tasks should continue to run after the cutoff time specified in the mai * ntenance windows is reached. Valid values are `CONTINUE_TASK` and `CANCEL_TASK`. */ cutoffBehavior?: string | core.StringOut; /** * (Optional) The description of the maintenance window task. */ description?: string | core.StringOut; /** * (Optional) The maximum number of targets this task can be run for in parallel. */ maxConcurrency?: string | core.StringOut; /** * (Optional) The maximum number of errors allowed before this task stops being scheduled. */ maxErrors?: string | core.StringOut; /** * (Optional) The name of the maintenance window task. */ name?: string | core.StringOut; /** * (Optional) The priority of the task in the Maintenance Window, the lower the number the higher the p * riority. Tasks in a Maintenance Window are scheduled in priority order with tasks that have the same * priority scheduled in parallel. */ priority?: number | core.NumberOut; /** * (Optional) The role that should be assumed when executing the task. If a role is not provided, Syste * ms Manager uses your account's service-linked role. If no service-linked role for Systems Manager ex * ists in your account, it is created for you. */ serviceRoleArn?: string | core.StringOut; /** * (Optional) The targets (either instances or window target ids). Instances are specified using Key=In * stanceIds,Values=instanceid1,instanceid2. Window target ids are specified using Key=WindowTargetIds, * Values=window target id1, window target id2. */ targets?: core.Array | core.ArrayOut; /** * (Required) The ARN of the task to execute. */ taskArn: string | core.StringOut; /** * (Optional) Configuration block with parameters for task execution. */ taskInvocationParameters?: TaskInvocationParameters; /** * (Required) The type of task being registered. Valid values: `AUTOMATION`, `LAMBDA`, `RUN_COMMAND` or * STEP_FUNCTIONS`. */ taskType: string | core.StringOut; /** * (Required) The Id of the maintenance window to register the task with. */ windowId: string | core.StringOut; } export declare class MaintenanceWindowTask extends core.Resource { /** * The ARN of the maintenance window task. */ arn: string | core.StringOut; /** * (Optional) Indicates whether tasks should continue to run after the cutoff time specified in the mai * ntenance windows is reached. Valid values are `CONTINUE_TASK` and `CANCEL_TASK`. */ cutoffBehavior?: string | core.StringOut; /** * (Optional) The description of the maintenance window task. */ description?: string | core.StringOut; /** * The ID of the maintenance window task. */ id: string | core.StringOut; /** * (Optional) The maximum number of targets this task can be run for in parallel. */ maxConcurrency?: string | core.StringOut; /** * (Optional) The maximum number of errors allowed before this task stops being scheduled. */ maxErrors?: string | core.StringOut; /** * (Optional) The name of the maintenance window task. */ name?: string | core.StringOut; /** * (Optional) The priority of the task in the Maintenance Window, the lower the number the higher the p * riority. Tasks in a Maintenance Window are scheduled in priority order with tasks that have the same * priority scheduled in parallel. */ priority?: number | core.NumberOut; /** * (Optional) The role that should be assumed when executing the task. If a role is not provided, Syste * ms Manager uses your account's service-linked role. If no service-linked role for Systems Manager ex * ists in your account, it is created for you. */ serviceRoleArn?: string | core.StringOut; /** * (Optional) The targets (either instances or window target ids). Instances are specified using Key=In * stanceIds,Values=instanceid1,instanceid2. Window target ids are specified using Key=WindowTargetIds, * Values=window target id1, window target id2. */ targets?: core.Array | core.ArrayOut; /** * (Required) The ARN of the task to execute. */ taskArn: string | core.StringOut; /** * (Optional) Configuration block with parameters for task execution. */ taskInvocationParameters?: TaskInvocationParameters; /** * (Required) The type of task being registered. Valid values: `AUTOMATION`, `LAMBDA`, `RUN_COMMAND` or * STEP_FUNCTIONS`. */ taskType: string | core.StringOut; /** * (Required) The Id of the maintenance window to register the task with. */ windowId: string | core.StringOut; /** * The ID of the maintenance window task. */ windowTaskId: string | core.StringOut; constructor(name: string, args?: MaintenanceWindowTaskArgs); getNamespace(): string; } //# sourceMappingURL=maintenance_window_task.d.ts.map