ScheduleTargetEcsParameters class
Constructors
-
ScheduleTargetEcsParameters({Input<
List< ? capacityProviderStrategies, Input<ScheduleTargetEcsParametersCapacityProviderStrategy> ?>bool?> ? enableEcsManagedTags, Input<bool?> ? enableExecuteCommand, Input<String?> ? group, Input<String?> ? launchType, Input<ScheduleTargetEcsParametersNetworkConfiguration?> ? networkConfiguration, Input<List< ? placementConstraints, Input<ScheduleTargetEcsParametersPlacementConstraint> ?>List< ? placementStrategies, Input<ScheduleTargetEcsParametersPlacementStrategy> ?>String?> ? platformVersion, Input<String?> ? propagateTags, Input<String?> ? referenceId, Input<Map< ? tags, Input<String, String> ?>int?> ? taskCount, required Input<String> taskDefinitionArn}) -
Creates a new ScheduleTargetEcsParameters.
capacityProviderStrategiesUp to6capacity provider strategies to use for the task. Detailed below.enableEcsManagedTagsSpecifies whether to enable Amazon ECS managed tags for the task. For more information, see Tagging Your Amazon ECS Resources in the Amazon ECS Developer Guide.enableExecuteCommandSpecifies whether to enable the execute command functionality for the containers in this task.groupSpecifies an ECS task group for the task. At most 255 characters.launchTypeSpecifies 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.networkConfigurationConfigures the networking associated with the task. Detailed below.placementConstraintsA set of up to 10 placement constraints to use for the task. Detailed below.placementStrategiesA set of up to 5 placement strategies. Detailed below.platformVersionSpecifies the platform version for the task. Specify only the numeric portion of the platform version, such as1.1.0.propagateTagsSpecifies whether to propagate the tags from the task definition to the task. One of:TASK_DEFINITION.referenceIdReference ID to use for the task.tagsThe metadata that you apply to the task. Each tag consists of a key and an optional value. For more information, seeRunTaskin the Amazon ECS API Reference.taskCountThe number of tasks to create. Ranges from1(default) to10.taskDefinitionArnARN of the task definition to use.const -
ScheduleTargetEcsParameters.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
capacityProviderStrategies
→ Input<
List< ?ScheduleTargetEcsParametersCapacityProviderStrategy> ?> -
Up to
6capacity provider strategies to use for the task. Detailed below.final -
enableEcsManagedTags
→ Input<
bool?> ? -
Specifies whether to enable Amazon ECS managed tags for the task. For more information, see Tagging Your Amazon ECS Resources in the Amazon ECS Developer Guide.
final
-
enableExecuteCommand
→ Input<
bool?> ? -
Specifies whether to enable the execute command functionality for the containers in this task.
final
-
group
→ Input<
String?> ? -
Specifies an ECS task group for the task. At most 255 characters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
launchType
→ Input<
String?> ? -
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.final -
networkConfiguration
→ Input<
ScheduleTargetEcsParametersNetworkConfiguration?> ? -
Configures the networking associated with the task. Detailed below.
final
-
placementConstraints
→ Input<
List< ?ScheduleTargetEcsParametersPlacementConstraint> ?> -
A set of up to 10 placement constraints to use for the task. Detailed below.
final
-
placementStrategies
→ Input<
List< ?ScheduleTargetEcsParametersPlacementStrategy> ?> -
A set of up to 5 placement strategies. Detailed below.
final
-
platformVersion
→ Input<
String?> ? -
Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as
1.1.0.final -
propagateTags
→ Input<
String?> ? -
Specifies whether to propagate the tags from the task definition to the task. One of:
TASK_DEFINITION.final -
referenceId
→ Input<
String?> ? -
Reference ID to use for the task.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
The metadata that you apply to the task. Each tag consists of a key and an optional value. For more information, see
RunTaskin the Amazon ECS API Reference.final -
taskCount
→ Input<
int?> ? -
The number of tasks to create. Ranges from
1(default) to10.final -
taskDefinitionArn
→ Input<
String> -
ARN of the task definition to use.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited