Package com.pulumi.aws.scheduler.outputs
Class ScheduleTargetEcsParameters
- java.lang.Object
-
- com.pulumi.aws.scheduler.outputs.ScheduleTargetEcsParameters
-
public final class ScheduleTargetEcsParameters extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScheduleTargetEcsParameters.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScheduleTargetEcsParameters.Builderbuilder()static ScheduleTargetEcsParameters.Builderbuilder(ScheduleTargetEcsParameters defaults)java.util.List<ScheduleTargetEcsParametersCapacityProviderStrategy>capacityProviderStrategies()java.util.Optional<java.lang.Boolean>enableEcsManagedTags()java.util.Optional<java.lang.Boolean>enableExecuteCommand()java.util.Optional<java.lang.String>group()java.util.Optional<java.lang.String>launchType()java.util.Optional<ScheduleTargetEcsParametersNetworkConfiguration>networkConfiguration()java.util.List<ScheduleTargetEcsParametersPlacementConstraint>placementConstraints()java.util.List<ScheduleTargetEcsParametersPlacementStrategy>placementStrategies()java.util.Optional<java.lang.String>platformVersion()java.util.Optional<java.lang.String>propagateTags()java.util.Optional<java.lang.String>referenceId()java.util.Map<java.lang.String,java.lang.String>tags()java.util.Optional<java.lang.Integer>taskCount()java.lang.StringtaskDefinitionArn()
-
-
-
Method Detail
-
capacityProviderStrategies
public java.util.List<ScheduleTargetEcsParametersCapacityProviderStrategy> capacityProviderStrategies()
- Returns:
- Up to `6` capacity provider strategies to use for the task. Detailed below.
-
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`.
-
networkConfiguration
public java.util.Optional<ScheduleTargetEcsParametersNetworkConfiguration> networkConfiguration()
- Returns:
- Configures the networking associated with the task. Detailed below.
-
placementConstraints
public java.util.List<ScheduleTargetEcsParametersPlacementConstraint> placementConstraints()
- Returns:
- A set of up to 10 placement constraints to use for the task. Detailed below.
-
placementStrategies
public java.util.List<ScheduleTargetEcsParametersPlacementStrategy> placementStrategies()
- Returns:
- A set of up to 5 placement strategies. Detailed below.
-
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:
-
builder
public static ScheduleTargetEcsParameters.Builder builder()
-
builder
public static ScheduleTargetEcsParameters.Builder builder(ScheduleTargetEcsParameters defaults)
-
-