Interface CfnInferenceExperimentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInferenceExperimentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:51:04.931Z")
@Stability(Stable)
public interface CfnInferenceExperimentProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnInferenceExperiment
.
Example:
// 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.*; CfnInferenceExperimentProps cfnInferenceExperimentProps = CfnInferenceExperimentProps.builder() .endpointName("endpointName") .modelVariants(List.of(ModelVariantConfigProperty.builder() .infrastructureConfig(ModelInfrastructureConfigProperty.builder() .infrastructureType("infrastructureType") .realTimeInferenceConfig(RealTimeInferenceConfigProperty.builder() .instanceCount(123) .instanceType("instanceType") .build()) .build()) .modelName("modelName") .variantName("variantName") .build())) .name("name") .roleArn("roleArn") .type("type") // the properties below are optional .dataStorageConfig(DataStorageConfigProperty.builder() .destination("destination") // the properties below are optional .contentType(CaptureContentTypeHeaderProperty.builder() .csvContentTypes(List.of("csvContentTypes")) .jsonContentTypes(List.of("jsonContentTypes")) .build()) .kmsKey("kmsKey") .build()) .description("description") .desiredState("desiredState") .kmsKey("kmsKey") .schedule(InferenceExperimentScheduleProperty.builder() .endTime("endTime") .startTime("startTime") .build()) .shadowModeConfig(ShadowModeConfigProperty.builder() .shadowModelVariants(List.of(ShadowModelVariantConfigProperty.builder() .samplingPercentage(123) .shadowModelVariantName("shadowModelVariantName") .build())) .sourceModelVariantName("sourceModelVariantName") .build()) .statusReason("statusReason") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnInferenceExperimentProps
static final class
An implementation forCfnInferenceExperimentProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The Amazon S3 location and configuration for storing inference request and response data.default String
The description of the inference experiment.default String
The desired state of the experiment after stopping.The name of the endpoint.default String
The AWS Key Management Service key that Amazon SageMaker uses to encrypt captured data at rest using Amazon S3 server-side encryption.An array ofModelVariantConfigSummary
objects.getName()
The name of the inference experiment.The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and container images, and manage Amazon SageMaker Inference endpoints for model deployment.default Object
The duration for which the inference experiment ran or will run.default Object
The configuration ofShadowMode
inference experiment type, which shows the production variant that takes all the inference requests, and the shadow variant to which Amazon SageMaker replicates a percentage of the inference requests.default String
The error message for the inference experiment status result.getTags()
An array of key-value pairs to apply to this resource.getType()
The type of the inference experiment.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEndpointName
The name of the endpoint.- See Also:
-
getModelVariants
An array ofModelVariantConfigSummary
objects.There is one for each variant in the inference experiment. Each
ModelVariantConfigSummary
object in the array describes the infrastructure configuration for deploying the corresponding variant.- See Also:
-
getName
The name of the inference experiment.- See Also:
-
getRoleArn
The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and container images, and manage Amazon SageMaker Inference endpoints for model deployment.- See Also:
-
getType
The type of the inference experiment.- See Also:
-
getDataStorageConfig
The Amazon S3 location and configuration for storing inference request and response data.- See Also:
-
getDescription
The description of the inference experiment.- See Also:
-
getDesiredState
The desired state of the experiment after stopping. The possible states are the following:.Completed
: The experiment completed successfullyCancelled
: The experiment was canceled
- See Also:
-
getKmsKey
The AWS Key Management Service key that Amazon SageMaker uses to encrypt captured data at rest using Amazon S3 server-side encryption.- See Also:
-
getSchedule
The duration for which the inference experiment ran or will run.The maximum duration that you can set for an inference experiment is 30 days.
- See Also:
-
getShadowModeConfig
The configuration ofShadowMode
inference experiment type, which shows the production variant that takes all the inference requests, and the shadow variant to which Amazon SageMaker replicates a percentage of the inference requests.For the shadow variant it also shows the percentage of requests that Amazon SageMaker replicates.
- See Also:
-
getStatusReason
The error message for the inference experiment status result.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
-