Class ScheduleTargetEcsParameters


  • public final class ScheduleTargetEcsParameters
    extends java.lang.Object
    • Method Detail

      • enableEcsManagedTags

        public java.util.Optional<java.lang.Boolean> enableEcsManagedTags()
        Returns:
        Specifies whether to enable Amazon ECS managed tags for the task. For more information, see [Tagging Your Amazon ECS Resources](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html) in the Amazon ECS Developer Guide.
      • enableExecuteCommand

        public java.util.Optional<java.lang.Boolean> enableExecuteCommand()
        Returns:
        Specifies whether to enable the execute command functionality for the containers in this task.
      • group

        public java.util.Optional<java.lang.String> group()
        Returns:
        Specifies an ECS task group for the task. At most 255 characters.
      • launchType

        public java.util.Optional<java.lang.String> launchType()
        Returns:
        Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. One of: `EC2`, `FARGATE`, `EXTERNAL`.
      • platformVersion

        public java.util.Optional<java.lang.String> platformVersion()
        Returns:
        Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as `1.1.0`.
      • propagateTags

        public java.util.Optional<java.lang.String> propagateTags()
        Returns:
        Specifies whether to propagate the tags from the task definition to the task. One of: `TASK_DEFINITION`.
      • referenceId

        public java.util.Optional<java.lang.String> referenceId()
        Returns:
        Reference ID to use for the task.
      • tags

        public java.util.Map<java.lang.String,​java.lang.String> tags()
        Returns:
        The metadata that you apply to the task. Each tag consists of a key and an optional value. For more information, see [`RunTask`](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html) in the Amazon ECS API Reference.
      • taskCount

        public java.util.Optional<java.lang.Integer> taskCount()
        Returns:
        The number of tasks to create. Ranges from `1` (default) to `10`.
      • taskDefinitionArn

        public java.lang.String taskDefinitionArn()
        Returns:
        ARN of the task definition to use. The following arguments are optional: