InferenceComponentDataCacheConfigProperty Struct
Settings that affect how the inference component caches data.
| 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 inferenceComponentDataCacheConfigProperty: sagemaker.CfnInferenceComponent.InferenceComponentDataCacheConfigProperty = {
enableCaching: false,
};
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
inference_component_data_cache_config_property = sagemaker.CfnInferenceComponent.InferenceComponentDataCacheConfigProperty(
enable_caching=False
)
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.*;
InferenceComponentDataCacheConfigProperty inferenceComponentDataCacheConfigProperty = InferenceComponentDataCacheConfigProperty.builder()
.enableCaching(false)
.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 inferenceComponentDataCacheConfigProperty = new InferenceComponentDataCacheConfigProperty {
EnableCaching = false
};
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"
inferenceComponentDataCacheConfigProperty := &InferenceComponentDataCacheConfigProperty{
EnableCaching: jsii.Boolean(false),
}
Properties
enableCachingboolean | IResolvableenable_cachingtyping.Union[bool, IResolvable]enableCachingBooleanEnableCachingboolEnableCachinginterface{} required #Whether the endpoint caches the model artifacts and container image on each instance it provisions for the inference component.