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)

57 lines (56 loc) 1.91 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource type definition for AWS::SSM::MaintenanceWindowTarget */ export declare function getMaintenanceWindowTarget(args: GetMaintenanceWindowTargetArgs, opts?: pulumi.InvokeOptions): Promise<GetMaintenanceWindowTargetResult>; export interface GetMaintenanceWindowTargetArgs { /** * The ID of the maintenance window to register the target with. */ windowId: string; /** * The ID of the target. */ windowTargetId: string; } export interface GetMaintenanceWindowTargetResult { /** * A description for the target. */ readonly description?: string; /** * The name for the maintenance window target. */ readonly name?: string; /** * A user-provided value that will be included in any Amazon CloudWatch Events events that are raised while running tasks for these targets in this maintenance window. */ readonly ownerInformation?: string; /** * The type of target that is being registered with the maintenance window. */ readonly resourceType?: string; /** * The targets to register with the maintenance window. */ readonly targets?: outputs.ssm.MaintenanceWindowTargetTargets[]; /** * The ID of the target. */ readonly windowTargetId?: string; } /** * Resource type definition for AWS::SSM::MaintenanceWindowTarget */ export declare function getMaintenanceWindowTargetOutput(args: GetMaintenanceWindowTargetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMaintenanceWindowTargetResult>; export interface GetMaintenanceWindowTargetOutputArgs { /** * The ID of the maintenance window to register the target with. */ windowId: pulumi.Input<string>; /** * The ID of the target. */ windowTargetId: pulumi.Input<string>; }