Skip to content
v2.278.0

InferenceExecutionConfigProperty Struct ​

Specifies details about how containers in a multi-container endpoint are run.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const inferenceExecutionConfigProperty: sagemaker.CfnModel.InferenceExecutionConfigProperty = {
  mode: 'mode',
};
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_sagemaker as sagemaker

inference_execution_config_property = sagemaker.CfnModel.InferenceExecutionConfigProperty(
    mode="mode"
)
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.sagemaker.*;

InferenceExecutionConfigProperty inferenceExecutionConfigProperty = InferenceExecutionConfigProperty.builder()
        .mode("mode")
        .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.Sagemaker;

var inferenceExecutionConfigProperty = new InferenceExecutionConfigProperty {
    Mode = "mode"
};
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"

inferenceExecutionConfigProperty := &InferenceExecutionConfigProperty{
	Mode: jsii.String("mode"),
}

Properties ​

modestringmodestrmodeStringModestringMode*string required #
How containers in a multi-container are run. The following values are valid.
  • Serial - Containers run as a serial pipeline.
  • Direct - Only the individual container that you specify is run.