interface InferenceComponentDataCacheConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnInferenceComponent.InferenceComponentDataCacheConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnInferenceComponent_InferenceComponentDataCacheConfigProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnInferenceComponent.InferenceComponentDataCacheConfigProperty |
Python | aws_cdk.aws_sagemaker.CfnInferenceComponent.InferenceComponentDataCacheConfigProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnInferenceComponent » InferenceComponentDataCacheConfigProperty |
Settings that affect how the inference component caches data.
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 inferenceComponentDataCacheConfigProperty: sagemaker.CfnInferenceComponent.InferenceComponentDataCacheConfigProperty = {
enableCaching: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| enable | boolean | IResolvable | Whether the endpoint caches the model artifacts and container image on each instance it provisions for the inference component. |
enableCaching
Type:
boolean | IResolvable
Whether the endpoint caches the model artifacts and container image on each instance it provisions for the inference component.

.NET
Go
Java
Python
TypeScript