GetTaskExecutionArgs constructor
- Input<
List< ? capacityProviderStrategies,GetTaskExecutionCapacityProviderStrategy> ?> - Input<
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,GetTaskExecutionPlacementConstraint> ?> - Input<
List< ? placementStrategies,GetTaskExecutionPlacementStrategy> ?> - Input<
String?> ? platformVersion, - Input<
String?> ? propagateTags, - Input<
String?> ? referenceId, - Input<
String?> ? region, - Input<
String?> ? startedBy, - Input<
Map< ? tags,String, String> ?> - required Input<
String> taskDefinition,
Creates a new GetTaskExecutionArgs.
capacityProviderStrategies Set of capacity provider strategies to use for the cluster. See below.
clientToken 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.
cluster Short name or full ARN of the cluster to run the task on.
desiredCount Number of instantiations of the specified task to place on your cluster. You can specify up to 10 tasks for each call.
enableEcsManagedTags Whether to enable Amazon ECS managed tags for the tasks within the service.
enableExecuteCommand Whether to enable Amazon ECS Exec for the tasks within the service.
group Name of the task group to associate with the task. The default value is the family name of the task definition.
launchType Launch type on which to run your service. Valid values are EC2, FARGATE, and EXTERNAL.
networkConfiguration Network configuration for the service. This parameter is required for task definitions that use the awsvpc network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. See below.
overrides List of container overrides that specify the name of a container in the specified task definition and the overrides it should receive.
placementConstraints Array of placement constraint objects to use for the task. You can specify up to 10 constraints for each task. See below.
placementStrategies Placement strategy objects to use for the task. You can specify a maximum of 5 strategy rules for each task. See below.
platformVersion Platform version the task uses. A platform version is only specified for tasks hosted on Fargate. If one isn't specified, the LATEST platform version is used.
propagateTags 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 SERVICE option when running a task. Valid values are TASK_DEFINITION or NONE.
referenceId Reference ID to use for the task.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
startedBy Optional tag specified when a task is started.
tags Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
taskDefinition Family and revision (family:revision) or full ARN of the task definition to run. If a revision isn't specified, the latest ACTIVE revision is used.
Implementation
const GetTaskExecutionArgs({
this.capacityProviderStrategies,
this.clientToken,
required this.cluster,
this.desiredCount,
this.enableEcsManagedTags,
this.enableExecuteCommand,
this.group,
this.launchType,
this.networkConfiguration,
this.overrides,
this.placementConstraints,
this.placementStrategies,
this.platformVersion,
this.propagateTags,
this.referenceId,
this.region,
this.startedBy,
this.tags,
required this.taskDefinition,
});