Class MaintenanceWindowTargetArgs.Builder

    • Method Detail

      • description

        public MaintenanceWindowTargetArgs.Builder description​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - The description of the maintenance window target.
        Returns:
        builder
      • description

        public MaintenanceWindowTargetArgs.Builder description​(java.lang.String description)
        Parameters:
        description - The description of the maintenance window target.
        Returns:
        builder
      • name

        public MaintenanceWindowTargetArgs.Builder name​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the maintenance window target.
        Returns:
        builder
      • ownerInformation

        public MaintenanceWindowTargetArgs.Builder ownerInformation​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.String> ownerInformation)
        Parameters:
        ownerInformation - User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.
        Returns:
        builder
      • ownerInformation

        public MaintenanceWindowTargetArgs.Builder ownerInformation​(java.lang.String ownerInformation)
        Parameters:
        ownerInformation - User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.
        Returns:
        builder
      • region

        public MaintenanceWindowTargetArgs.Builder region​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public MaintenanceWindowTargetArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • resourceType

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

        public MaintenanceWindowTargetArgs.Builder resourceType​(java.lang.String resourceType)
        Parameters:
        resourceType - The type of target being registered with the Maintenance Window. Possible values are `INSTANCE` and `RESOURCE_GROUP`.
        Returns:
        builder
      • targets

        public MaintenanceWindowTargetArgs.Builder targets​(com.pulumi.core.Output<java.util.List<MaintenanceWindowTargetTargetArgs>> targets)
        Parameters:
        targets - 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)
        Returns:
        builder
      • targets

        public MaintenanceWindowTargetArgs.Builder targets​(java.util.List<MaintenanceWindowTargetTargetArgs> targets)
        Parameters:
        targets - 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)
        Returns:
        builder
      • targets

        public MaintenanceWindowTargetArgs.Builder targets​(MaintenanceWindowTargetTargetArgs... targets)
        Parameters:
        targets - 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)
        Returns:
        builder
      • windowId

        public MaintenanceWindowTargetArgs.Builder windowId​(com.pulumi.core.Output<java.lang.String> windowId)
        Parameters:
        windowId - The ID of the maintenance window to register the target with.
        Returns:
        builder
      • windowId

        public MaintenanceWindowTargetArgs.Builder windowId​(java.lang.String windowId)
        Parameters:
        windowId - The ID of the maintenance window to register the target with.
        Returns:
        builder