GetTaskExecutionArgs class
Arguments for getTaskExecution. Arguments for getTaskExecution.
Constructors
-
GetTaskExecutionArgs({Input<
List< ? capacityProviderStrategies, Input<GetTaskExecutionCapacityProviderStrategy> ?>String?> ? clientToken, required Input<String> cluster, Input<int?> ? desiredCount, Input<bool?> ? enableEcsManagedTags, Input<bool?> ? enableExecuteCommand, Input<String?> ? group, Input<String?> ? launchType, Input<GetTaskExecutionNetworkConfiguration?> ? networkConfiguration, Input<GetTaskExecutionOverrides?> ? overrides, Input<List< ? placementConstraints, Input<GetTaskExecutionPlacementConstraint> ?>List< ? placementStrategies, Input<GetTaskExecutionPlacementStrategy> ?>String?> ? platformVersion, Input<String?> ? propagateTags, Input<String?> ? referenceId, Input<String?> ? region, Input<String?> ? startedBy, Input<Map< ? tags, required Input<String, String> ?>String> taskDefinition}) -
Creates a new GetTaskExecutionArgs.
capacityProviderStrategiesSet of capacity provider strategies to use for the cluster. See below.clientTokenIdentifier that you provide to ensure the idempotency of the request. It must be unique and is case sensitive. Up to 64 characters are allowed. The valid characters are characters in the range of 33-126, inclusive. For more information, see Ensuring idempotency.clusterShort name or full ARN of the cluster to run the task on.desiredCountNumber of instantiations of the specified task to place on your cluster. You can specify up to 10 tasks for each call.enableEcsManagedTagsWhether to enable Amazon ECS managed tags for the tasks within the service.enableExecuteCommandWhether to enable Amazon ECS Exec for the tasks within the service.groupName of the task group to associate with the task. The default value is the family name of the task definition.launchTypeLaunch type on which to run your service. Valid values areEC2,FARGATE, andEXTERNAL.networkConfigurationNetwork configuration for the service. This parameter is required for task definitions that use theawsvpcnetwork mode to receive their own Elastic Network Interface, and it is not supported for other network modes. See below.overridesList of container overrides that specify the name of a container in the specified task definition and the overrides it should receive.placementConstraintsArray of placement constraint objects to use for the task. You can specify up to 10 constraints for each task. See below.placementStrategiesPlacement strategy objects to use for the task. You can specify a maximum of 5 strategy rules for each task. See below.platformVersionPlatform version the task uses. A platform version is only specified for tasks hosted on Fargate. If one isn't specified, theLATESTplatform version is used.propagateTagsWhether to propagate the tags from the task definition to the task. If no value is specified, the tags aren't propagated. An error will be received if you specify theSERVICEoption when running a task. Valid values areTASK_DEFINITIONorNONE.referenceIdReference ID to use for the task.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.startedByOptional tag specified when a task is started.tagsKey-value map of resource tags. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.taskDefinitionFamily and revision (family:revision) or full ARN of the task definition to run. If a revision isn't specified, the latestACTIVErevision is used.const -
GetTaskExecutionArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
capacityProviderStrategies
→ Input<
List< ?GetTaskExecutionCapacityProviderStrategy> ?> -
Set of capacity provider strategies to use for the cluster. See below.
final
-
clientToken
→ Input<
String?> ? -
Identifier that you provide to ensure the idempotency of the request. It must be unique and is case sensitive. Up to 64 characters are allowed. The valid characters are characters in the range of 33-126, inclusive. For more information, see Ensuring idempotency.
final
-
cluster
→ Input<
String> -
Short name or full ARN of the cluster to run the task on.
final
-
desiredCount
→ Input<
int?> ? -
Number of instantiations of the specified task to place on your cluster. You can specify up to 10 tasks for each call.
final
-
enableEcsManagedTags
→ Input<
bool?> ? -
Whether to enable Amazon ECS managed tags for the tasks within the service.
final
-
enableExecuteCommand
→ Input<
bool?> ? -
Whether to enable Amazon ECS Exec for the tasks within the service.
final
-
group
→ Input<
String?> ? -
Name of the task group to associate with the task. The default value is the family name of the task definition.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
launchType
→ Input<
String?> ? -
Launch type on which to run your service. Valid values are
EC2,FARGATE, andEXTERNAL.final -
networkConfiguration
→ Input<
GetTaskExecutionNetworkConfiguration?> ? -
Network configuration for the service. This parameter is required for task definitions that use the
awsvpcnetwork mode to receive their own Elastic Network Interface, and it is not supported for other network modes. See below.final -
overrides
→ Input<
GetTaskExecutionOverrides?> ? -
List of container overrides that specify the name of a container in the specified task definition and the overrides it should receive.
final
-
placementConstraints
→ Input<
List< ?GetTaskExecutionPlacementConstraint> ?> -
Array of placement constraint objects to use for the task. You can specify up to 10 constraints for each task. See below.
final
-
placementStrategies
→ Input<
List< ?GetTaskExecutionPlacementStrategy> ?> -
Placement strategy objects to use for the task. You can specify a maximum of 5 strategy rules for each task. See below.
final
-
platformVersion
→ Input<
String?> ? -
Platform version the task uses. A platform version is only specified for tasks hosted on Fargate. If one isn't specified, the
LATESTplatform version is used.final -
propagateTags
→ Input<
String?> ? -
Whether to propagate the tags from the task definition to the task. If no value is specified, the tags aren't propagated. An error will be received if you specify the
SERVICEoption when running a task. Valid values areTASK_DEFINITIONorNONE.final -
referenceId
→ Input<
String?> ? -
Reference ID to use for the task.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
startedBy
→ Input<
String?> ? -
Optional tag specified when a task is started.
final
-
Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
taskDefinition
→ Input<
String> -
Family and revision (
family:revision) or full ARN of the task definition to run. If a revision isn't specified, the latestACTIVErevision is used.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