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

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

    Create MaintenanceWindowTarget Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MaintenanceWindowTarget(name: string, args: MaintenanceWindowTargetArgs, opts?: CustomResourceOptions);
    @overload
    def MaintenanceWindowTarget(resource_name: str,
                                args: MaintenanceWindowTargetArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def MaintenanceWindowTarget(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                resource_type: Optional[str] = None,
                                targets: Optional[Sequence[MaintenanceWindowTargetTargetsArgs]] = None,
                                window_id: Optional[str] = None,
                                description: Optional[str] = None,
                                name: Optional[str] = None,
                                owner_information: Optional[str] = None)
    func NewMaintenanceWindowTarget(ctx *Context, name string, args MaintenanceWindowTargetArgs, opts ...ResourceOption) (*MaintenanceWindowTarget, error)
    public MaintenanceWindowTarget(string name, MaintenanceWindowTargetArgs args, CustomResourceOptions? opts = null)
    public MaintenanceWindowTarget(String name, MaintenanceWindowTargetArgs args)
    public MaintenanceWindowTarget(String name, MaintenanceWindowTargetArgs args, CustomResourceOptions options)
    
    type: aws-native:ssm:MaintenanceWindowTarget
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args MaintenanceWindowTargetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MaintenanceWindowTargetArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MaintenanceWindowTargetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MaintenanceWindowTargetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MaintenanceWindowTargetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    MaintenanceWindowTarget Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The MaintenanceWindowTarget resource accepts the following input properties:

    ResourceType string
    The type of target that is being registered with the maintenance window.
    Targets List<Pulumi.AwsNative.Ssm.Inputs.MaintenanceWindowTargetTargets>
    The targets to register with the maintenance window.
    WindowId string
    The ID of the maintenance window to register the target with.
    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 []MaintenanceWindowTargetTargetsArgs
    The targets to register with the maintenance window.
    WindowId string
    The ID of the maintenance window to register the target with.
    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.
    windowId String
    The ID of the maintenance window to register the target with.
    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.
    windowId string
    The ID of the maintenance window to register the target with.
    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.
    resource_type str
    The type of target that is being registered with the maintenance window.
    targets Sequence[MaintenanceWindowTargetTargetsArgs]
    The targets to register with the maintenance window.
    window_id str
    The ID of the maintenance window to register the target with.
    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.
    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.
    windowId String
    The ID of the maintenance window to register the target with.
    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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MaintenanceWindowTarget resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    WindowTargetId string
    The ID of the target.
    Id string
    The provider-assigned unique ID for this managed resource.
    WindowTargetId string
    The ID of the target.
    id String
    The provider-assigned unique ID for this managed resource.
    windowTargetId String
    The ID of the target.
    id string
    The provider-assigned unique ID for this managed resource.
    windowTargetId string
    The ID of the target.
    id str
    The provider-assigned unique ID for this managed resource.
    window_target_id str
    The ID of the target.
    id String
    The provider-assigned unique ID for this managed resource.
    windowTargetId String
    The ID of the target.

    Supporting Types

    MaintenanceWindowTargetTargets, MaintenanceWindowTargetTargetsArgs

    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