DeployedImageProperty Struct
Gets the Amazon EC2 Container Registry path of the docker image of the model that is hosted in this ProductionVariant .
If you used the registry/repository[:tag] form to specify the image path of the primary container when you created the model hosted in this ProductionVariant , the path resolves to a path of the form registry/repository[@digest] . A digest is a hash value that identifies a specific version of an image. For information about Amazon ECR paths, see Pulling an Image in the Amazon ECR User Guide .
| 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 deployedImageProperty: sagemaker.CfnInferenceComponent.DeployedImageProperty = {
resolutionTime: 'resolutionTime',
resolvedImage: 'resolvedImage',
specifiedImage: 'specifiedImage',
};
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
deployed_image_property = sagemaker.CfnInferenceComponent.DeployedImageProperty(
resolution_time="resolutionTime",
resolved_image="resolvedImage",
specified_image="specifiedImage"
)
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.*;
DeployedImageProperty deployedImageProperty = DeployedImageProperty.builder()
.resolutionTime("resolutionTime")
.resolvedImage("resolvedImage")
.specifiedImage("specifiedImage")
.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 deployedImageProperty = new DeployedImageProperty {
ResolutionTime = "resolutionTime",
ResolvedImage = "resolvedImage",
SpecifiedImage = "specifiedImage"
};
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"
deployedImageProperty := &DeployedImageProperty{
ResolutionTime: jsii.String("resolutionTime"),
ResolvedImage: jsii.String("resolvedImage"),
SpecifiedImage: jsii.String("specifiedImage"),
}
Properties
resolutionTimeoptionalstringresolution_timeoptionalstrresolutionTimeoptionalStringResolutionTimeoptionalstringResolutionTimeoptional*string #The date and time when the image path for the model resolved to the `ResolvedImage`.
resolvedImageoptionalstringresolved_imageoptionalstrresolvedImageoptionalStringResolvedImageoptionalstringResolvedImageoptional*string #The specific digest path of the image hosted in this `ProductionVariant` .
specifiedImageoptionalstringspecified_imageoptionalstrspecifiedImageoptionalStringSpecifiedImageoptionalstringSpecifiedImageoptional*string #The image path you specified when you created the model.