Class MaintenanceWindowTargetArgs


  • public final class MaintenanceWindowTargetArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        The description of the maintenance window target.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        The name of the maintenance window target.
      • ownerInformation

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ownerInformation()
        Returns:
        User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.
      • resourceType

        public com.pulumi.core.Output<java.lang.String> resourceType()
        Returns:
        The type of target being registered with the Maintenance Window. Possible values are `INSTANCE` and `RESOURCE_GROUP`.
      • targets

        public com.pulumi.core.Output<java.util.List<MaintenanceWindowTargetTargetArgs>> targets()
        Returns:
        The targets to register with the maintenance window. In other words, the instances to run commands on when the maintenance window runs. You can specify targets using instance IDs, resource group names, or tags that have been applied to instances. For more information about these examples formats see (https://docs.aws.amazon.com/systems-manager/latest/userguide/mw-cli-tutorial-targets-examples.html)
      • windowId

        public com.pulumi.core.Output<java.lang.String> windowId()
        Returns:
        The Id of the maintenance window to register the target with.