Class MaintenanceWindowTaskState


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

      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        The ARN of the maintenance window task.
      • cutoffBehavior

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> cutoffBehavior()
        Returns:
        Indicates whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached. Valid values are `CONTINUE_TASK` and `CANCEL_TASK`.
      • description

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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> maxConcurrency()
        Returns:
        The maximum number of targets this task can be run for in parallel.
      • maxErrors

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> maxErrors()
        Returns:
        The maximum number of errors allowed before this task stops being scheduled.
      • name

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

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> priority()
        Returns:
        The priority of the task in the Maintenance Window, the lower the number the higher the priority. Tasks in a Maintenance Window are scheduled in priority order with tasks that have the same priority scheduled in parallel.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        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.
      • serviceRoleArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> serviceRoleArn()
        Returns:
        The role that should be assumed when executing the task. If a role is not provided, Systems Manager uses your account's service-linked role. If no service-linked role for Systems Manager exists in your account, it is created for you.
      • targets

        public java.util.Optional<com.pulumi.core.Output<java.util.List<MaintenanceWindowTaskTargetArgs>>> targets()
        Returns:
        The targets (either instances or window target IDs). Instances are specified using Key=InstanceIds,Values=instanceid1,instanceid2. Window target IDs are specified using Key=WindowTargetIds,Values=window target id1, window target id2.
      • taskArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> taskArn()
        Returns:
        The ARN of the task to execute.
      • taskType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> taskType()
        Returns:
        The type of task being registered. Valid values: `AUTOMATION`, `LAMBDA`, `RUN_COMMAND` or `STEP_FUNCTIONS`.
      • windowId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> windowId()
        Returns:
        The ID of the maintenance window to register the task with.
      • windowTaskId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> windowTaskId()
        Returns:
        The ID of the maintenance window task.