ScheduleTargetEcsParameters constructor
- Input<
List< ? capacityProviderStrategies,ScheduleTargetEcsParametersCapacityProviderStrategy> ?> - Input<
bool?> ? enableEcsManagedTags, - Input<
bool?> ? enableExecuteCommand, - Input<
String?> ? group, - Input<
String?> ? launchType, - Input<
ScheduleTargetEcsParametersNetworkConfiguration?> ? networkConfiguration, - Input<
List< ? placementConstraints,ScheduleTargetEcsParametersPlacementConstraint> ?> - Input<
List< ? placementStrategies,ScheduleTargetEcsParametersPlacementStrategy> ?> - Input<
String?> ? platformVersion, - Input<
String?> ? propagateTags, - Input<
String?> ? referenceId, - Input<
Map< ? tags,String, String> ?> - Input<
int?> ? taskCount, - required Input<
String> taskDefinitionArn,
Creates a new ScheduleTargetEcsParameters.
capacityProviderStrategies Up to 6 capacity provider strategies to use for the task. Detailed below.
enableEcsManagedTags 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.
enableExecuteCommand Specifies whether to enable the execute command functionality for the containers in this task.
group Specifies an ECS task group for the task. At most 255 characters.
launchType 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 Configures the networking associated with the task. Detailed below.
placementConstraints A set of up to 10 placement constraints to use for the task. Detailed below.
placementStrategies A set of up to 5 placement strategies. Detailed below.
platformVersion Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as 1.1.0.
propagateTags Specifies whether to propagate the tags from the task definition to the task. One of: TASK_DEFINITION.
referenceId Reference ID to use for the task.
tags The metadata that you apply to the task. Each tag consists of a key and an optional value. For more information, see RunTask in the Amazon ECS API Reference.
taskCount The number of tasks to create. Ranges from 1 (default) to 10.
taskDefinitionArn ARN of the task definition to use.
Implementation
const ScheduleTargetEcsParameters({
this.capacityProviderStrategies,
this.enableEcsManagedTags,
this.enableExecuteCommand,
this.group,
this.launchType,
this.networkConfiguration,
this.placementConstraints,
this.placementStrategies,
this.platformVersion,
this.propagateTags,
this.referenceId,
this.tags,
this.taskCount,
required this.taskDefinitionArn,
});