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

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::MaintenanceWindowTarget

    Using getMaintenanceWindowTarget

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getMaintenanceWindowTarget(args: GetMaintenanceWindowTargetArgs, opts?: InvokeOptions): Promise<GetMaintenanceWindowTargetResult>
    function getMaintenanceWindowTargetOutput(args: GetMaintenanceWindowTargetOutputArgs, opts?: InvokeOptions): Output<GetMaintenanceWindowTargetResult>
    def get_maintenance_window_target(window_id: Optional[str] = None,
                                      window_target_id: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetMaintenanceWindowTargetResult
    def get_maintenance_window_target_output(window_id: Optional[pulumi.Input[str]] = None,
                                      window_target_id: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetMaintenanceWindowTargetResult]
    func LookupMaintenanceWindowTarget(ctx *Context, args *LookupMaintenanceWindowTargetArgs, opts ...InvokeOption) (*LookupMaintenanceWindowTargetResult, error)
    func LookupMaintenanceWindowTargetOutput(ctx *Context, args *LookupMaintenanceWindowTargetOutputArgs, opts ...InvokeOption) LookupMaintenanceWindowTargetResultOutput

    > Note: This function is named LookupMaintenanceWindowTarget in the Go SDK.

    public static class GetMaintenanceWindowTarget 
    {
        public static Task<GetMaintenanceWindowTargetResult> InvokeAsync(GetMaintenanceWindowTargetArgs args, InvokeOptions? opts = null)
        public static Output<GetMaintenanceWindowTargetResult> Invoke(GetMaintenanceWindowTargetInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMaintenanceWindowTargetResult> getMaintenanceWindowTarget(GetMaintenanceWindowTargetArgs args, InvokeOptions options)
    public static Output<GetMaintenanceWindowTargetResult> getMaintenanceWindowTarget(GetMaintenanceWindowTargetArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:ssm:getMaintenanceWindowTarget
      arguments:
        # arguments dictionary

    The following arguments are supported:

    WindowId string
    The ID of the maintenance window to register the target with.
    WindowTargetId string
    The ID of the target.
    WindowId string
    The ID of the maintenance window to register the target with.
    WindowTargetId string
    The ID of the target.
    windowId String
    The ID of the maintenance window to register the target with.
    windowTargetId String
    The ID of the target.
    windowId string
    The ID of the maintenance window to register the target with.
    windowTargetId string
    The ID of the target.
    window_id str
    The ID of the maintenance window to register the target with.
    window_target_id str
    The ID of the target.
    windowId String
    The ID of the maintenance window to register the target with.
    windowTargetId String
    The ID of the target.

    getMaintenanceWindowTarget Result

    The following output properties are available:

    Description string
    A description for the target.
    Name string
    The name for the maintenance window target.
    OwnerInformation 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.
    ResourceType string
    The type of target that is being registered with the maintenance window.
    Targets List<Pulumi.AwsNative.Ssm.Outputs.MaintenanceWindowTargetTargets>
    The targets to register with the maintenance window.
    WindowTargetId string
    The ID of the target.
    Description string
    A description for the target.
    Name string
    The name for the maintenance window target.
    OwnerInformation 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.
    ResourceType string
    The type of target that is being registered with the maintenance window.
    Targets []MaintenanceWindowTargetTargets
    The targets to register with the maintenance window.
    WindowTargetId string
    The ID of the target.
    description String
    A description for the target.
    name String
    The name for the maintenance window target.
    ownerInformation 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.
    resourceType String
    The type of target that is being registered with the maintenance window.
    targets List<MaintenanceWindowTargetTargets>
    The targets to register with the maintenance window.
    windowTargetId String
    The ID of the target.
    description string
    A description for the target.
    name string
    The name for the maintenance window target.
    ownerInformation 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.
    resourceType string
    The type of target that is being registered with the maintenance window.
    targets MaintenanceWindowTargetTargets[]
    The targets to register with the maintenance window.
    windowTargetId string
    The ID of the target.
    description str
    A description for the target.
    name str
    The name for the maintenance window target.
    owner_information str
    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.
    resource_type str
    The type of target that is being registered with the maintenance window.
    targets Sequence[MaintenanceWindowTargetTargets]
    The targets to register with the maintenance window.
    window_target_id str
    The ID of the target.
    description String
    A description for the target.
    name String
    The name for the maintenance window target.
    ownerInformation 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.
    resourceType String
    The type of target that is being registered with the maintenance window.
    targets List<Property Map>
    The targets to register with the maintenance window.
    windowTargetId String
    The ID of the target.

    Supporting Types

    MaintenanceWindowTargetTargets

    Key string
    User-defined criteria for sending commands that target managed nodes that meet the criteria.
    Values List<string>
    User-defined criteria that maps to Key.
    Key string
    User-defined criteria for sending commands that target managed nodes that meet the criteria.
    Values []string
    User-defined criteria that maps to Key.
    key String
    User-defined criteria for sending commands that target managed nodes that meet the criteria.
    values List<String>
    User-defined criteria that maps to Key.
    key string
    User-defined criteria for sending commands that target managed nodes that meet the criteria.
    values string[]
    User-defined criteria that maps to Key.
    key str
    User-defined criteria for sending commands that target managed nodes that meet the criteria.
    values Sequence[str]
    User-defined criteria that maps to Key.
    key String
    User-defined criteria for sending commands that target managed nodes that meet the criteria.
    values List<String>
    User-defined criteria that maps to Key.

    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