TrainingEnvironmentProperty Struct
SageMaker AI training image.
| Source | |
|---|---|
| Type last changed |
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 trainingEnvironmentProperty: sagemaker.CfnModelCard.TrainingEnvironmentProperty = {
containerImage: ['containerImage'],
};
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
training_environment_property = sagemaker.CfnModelCard.TrainingEnvironmentProperty(
container_image=["containerImage"]
)
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.*;
TrainingEnvironmentProperty trainingEnvironmentProperty = TrainingEnvironmentProperty.builder()
.containerImage(List.of("containerImage"))
.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 trainingEnvironmentProperty = new TrainingEnvironmentProperty {
ContainerImage = new [] { "containerImage" }
};
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"
trainingEnvironmentProperty := &TrainingEnvironmentProperty{
ContainerImage: []*string{
jsii.String("containerImage"),
},
}
Properties
containerImageoptionalstring[]container_imageoptionaltyping.List[str]containerImageoptionalList<String>ContainerImageoptionalstring[]ContainerImageoptional*[]*string #SageMaker AI inference image URI.