interface InferenceComponentContainerSpecificationForInstanceTypeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SageMaker.CfnInferenceComponentPropsMixin.InferenceComponentContainerSpecificationForInstanceTypeProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awssagemaker#CfnInferenceComponentPropsMixin_InferenceComponentContainerSpecificationForInstanceTypeProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnInferenceComponentPropsMixin.InferenceComponentContainerSpecificationForInstanceTypeProperty |
Python | aws_cdk.cfn_property_mixins.aws_sagemaker.CfnInferenceComponentPropsMixin.InferenceComponentContainerSpecificationForInstanceTypeProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_sagemaker » CfnInferenceComponentPropsMixin » 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/cfn-property-mixins';
const inferenceComponentContainerSpecificationForInstanceTypeProperty: sagemaker.CfnInferenceComponentPropsMixin.InferenceComponentContainerSpecificationForInstanceTypeProperty = {
artifactUrl: 'artifactUrl',
containerMetricsConfig: {
metricsEndpoints: [{
metricPublishFrequencyInSeconds: 123,
metricsEndpointPath: 'metricsEndpointPath',
}],
},
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