# EcsLaunchTargetConfig

Configuration options for the ECS launch type.

Returned by: [IEcsLaunchTarget.bind](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.IEcsLaunchTarget.html#bind)

- Source: [`aws-stepfunctions-tasks/lib/ecs/run-task.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/ecs/run-task.ts#L142)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions_tasks as stepfunctions_tasks } from 'aws-cdk-lib';

declare const parameters: any;
const ecsLaunchTargetConfig: stepfunctions_tasks.EcsLaunchTargetConfig = {
  parameters: {
    parametersKey: parameters,
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_stepfunctions_tasks as stepfunctions_tasks

# parameters: Any

ecs_launch_target_config = stepfunctions_tasks.EcsLaunchTargetConfig(
    parameters={
        "parameters_key": parameters
    }
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.stepfunctions.tasks.*;

Object parameters;

EcsLaunchTargetConfig ecsLaunchTargetConfig = EcsLaunchTargetConfig.builder()
        .parameters(Map.of(
                "parametersKey", parameters))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.StepFunctions.Tasks;

var parameters;

var ecsLaunchTargetConfig = new EcsLaunchTargetConfig {
    Parameters = new Dictionary<string, object> {
        { "parametersKey", parameters }
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var parameters interface{}

ecsLaunchTargetConfig := &EcsLaunchTargetConfig{
	Parameters: map[string]interface{}{
		"parametersKey": parameters,
	},
}
```

## Properties

- `parameters`: { [key: string]: any } — Additional parameters to pass to the base task.

  **Default:** No additional parameters passed
