EcsLaunchTargetConfig Struct
Configuration options for the ECS launch type.
| Source | aws-stepfunctions-tasks/lib/ecs/run-task.ts |
|---|
Example
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
# 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
// 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();
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 }
}
};
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
parametersoptional{ [key: string]: any }parametersoptionaltyping.Mapping[str, Any]parametersoptionalMap<String, Object>ParametersoptionalIDictionary<string, object>Parametersoptional*map[string]interface{} #Additional parameters to pass to the base task.
Default: No additional parameters passed