interface InferenceComponentContainerSpecificationForInstanceTypeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnInferenceComponent.InferenceComponentContainerSpecificationForInstanceTypeProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnInferenceComponent_InferenceComponentContainerSpecificationForInstanceTypeProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnInferenceComponent.InferenceComponentContainerSpecificationForInstanceTypeProperty |
Python | aws_cdk.aws_sagemaker.CfnInferenceComponent.InferenceComponentContainerSpecificationForInstanceTypeProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnInferenceComponent » InferenceComponentContainerSpecificationForInstanceTypeProperty |
Container specification for one Specifications entry.
Distinct from InferenceComponentContainerSpecification: DescribeInferenceComponent returns no per-entry DeployedImage (VERIFIED in us-west-2), so DeployedImage is intentionally omitted here and this definition can never be aggregated into a plural READ response. The singular InferenceComponentContainerSpecification keeps DeployedImage - the service DOES return it there.
Example
// 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 inferenceComponentContainerSpecificationForInstanceTypeProperty: sagemaker.CfnInferenceComponent.InferenceComponentContainerSpecificationForInstanceTypeProperty = {
artifactUrl: 'artifactUrl',
containerMetricsConfig: {
metricsEndpoints: [{
metricsEndpointPath: 'metricsEndpointPath',
// the properties below are optional
metricPublishFrequencyInSeconds: 123,
}],
},
environment: {
environmentKey: 'environment',
},
image: 'image',
};
Properties
| Name | Type | Description |
|---|---|---|
| artifact | string | |
| container | IResolvable | Container | The configuration for container metrics scraping. |
| environment? | IResolvable | { [string]: string } | Environment variables to specify on the container. |
| image? | string | The image to use for the container that will be materialized for the inference component. |
artifactUrl?
Type:
string
(optional)
containerMetricsConfig?
Type:
IResolvable | Container
(optional)
The configuration for container metrics scraping.
environment?
Type:
IResolvable | { [string]: string }
(optional)
Environment variables to specify on the container.
image?
Type:
string
(optional)
The image to use for the container that will be materialized for the inference component.

.NET
Go
Java
Python
TypeScript