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)

88 lines (87 loc) 3.52 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource type definition for AWS::SSM::MaintenanceWindowTarget */ export declare class MaintenanceWindowTarget extends pulumi.CustomResource { /** * Get an existing MaintenanceWindowTarget resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): MaintenanceWindowTarget; /** * Returns true if the given object is an instance of MaintenanceWindowTarget. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is MaintenanceWindowTarget; /** * A description for the target. */ readonly description: pulumi.Output<string | undefined>; /** * The name for the maintenance window target. */ readonly name: pulumi.Output<string | undefined>; /** * 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: pulumi.Output<string | undefined>; /** * The type of target that is being registered with the maintenance window. */ readonly resourceType: pulumi.Output<string>; /** * The targets to register with the maintenance window. */ readonly targets: pulumi.Output<outputs.ssm.MaintenanceWindowTargetTargets[]>; /** * The ID of the maintenance window to register the target with. */ readonly windowId: pulumi.Output<string>; /** * The ID of the target. */ readonly windowTargetId: pulumi.Output<string>; /** * Create a MaintenanceWindowTarget resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: MaintenanceWindowTargetArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a MaintenanceWindowTarget resource. */ export interface MaintenanceWindowTargetArgs { /** * A description for the target. */ description?: pulumi.Input<string>; /** * The name for the maintenance window target. */ name?: pulumi.Input<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. */ ownerInformation?: pulumi.Input<string>; /** * The type of target that is being registered with the maintenance window. */ resourceType: pulumi.Input<string>; /** * The targets to register with the maintenance window. */ targets: pulumi.Input<pulumi.Input<inputs.ssm.MaintenanceWindowTargetTargetsArgs>[]>; /** * The ID of the maintenance window to register the target with. */ windowId: pulumi.Input<string>; }