aws-cdk-lib.aws_stepfunctions_tasks.LaunchTargetBindOptions

interface LaunchTargetBindOptions

LanguageType name
.NETAmazon.CDK.AWS.StepFunctions.Tasks.LaunchTargetBindOptions
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#LaunchTargetBindOptions
Javasoftware.amazon.awscdk.services.stepfunctions.tasks.LaunchTargetBindOptions
Pythonaws_cdk.aws_stepfunctions_tasks.LaunchTargetBindOptions
TypeScript (source)aws-cdk-lib » aws_stepfunctions_tasks » LaunchTargetBindOptions

Options for binding a launch target to an ECS run job task.

Example

// 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

NameTypeDescription
taskDefinitionITaskDefinitionTask definition to run Docker containers in Amazon ECS.
cluster?IClusterA regional grouping of one or more container instances on which you can run tasks and services.

taskDefinition

Type: ITaskDefinition

Task definition to run Docker containers in Amazon ECS.


cluster?

Type: ICluster (optional, default: No cluster)

A regional grouping of one or more container instances on which you can run tasks and services.