ContainerDefinitionConfig Struct
Configuration options for the ContainerDefinition.
| Source | aws-stepfunctions-tasks/lib/sagemaker/base-types.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 containerDefinitionConfig: stepfunctions_tasks.ContainerDefinitionConfig = {
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
container_definition_config = stepfunctions_tasks.ContainerDefinitionConfig(
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;
ContainerDefinitionConfig containerDefinitionConfig = ContainerDefinitionConfig.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 containerDefinitionConfig = new ContainerDefinitionConfig {
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{}
containerDefinitionConfig := &ContainerDefinitionConfig{
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