LaunchTargetBindOptions Struct
Options for binding a launch target to an ECS run job task.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
import { aws_stepfunctions_tasks as stepfunctions_tasks } from 'aws-cdk-lib';
declare const cluster: ecs.Cluster;
declare const taskDefinition: ecs.TaskDefinition;
const launchTargetBindOptions: stepfunctions_tasks.LaunchTargetBindOptions = {
taskDefinition: taskDefinition,
// the properties below are optional
cluster: cluster,
};
Properties
A regional grouping of one or more container instances on which you can run tasks and services.
taskDefinitionITaskDefinitiontask_definitionITaskDefinitiontaskDefinitionITaskDefinitionTaskDefinitionITaskDefinitionTaskDefinitionITaskDefinitionrequired#Task definition to run Docker containers in Amazon ECS.