Interface CfnInferenceExperimentMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInferenceExperimentMixinProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.sagemaker.*;
CfnInferenceExperimentMixinProps cfnInferenceExperimentMixinProps = CfnInferenceExperimentMixinProps.builder()
.dataStorageConfig(DataStorageConfigProperty.builder()
.contentType(CaptureContentTypeHeaderProperty.builder()
.csvContentTypes(List.of("csvContentTypes"))
.jsonContentTypes(List.of("jsonContentTypes"))
.build())
.destination("destination")
.kmsKey("kmsKey")
.build())
.description("description")
.desiredState("desiredState")
.endpointName("endpointName")
.kmsKey("kmsKey")
.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")
.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()))
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnInferenceExperimentMixinPropsstatic final classAn implementation forCfnInferenceExperimentMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe Amazon S3 location and configuration for storing inference request and response data.default StringThe description of the inference experiment.default StringThe desired state of the experiment after stopping.default StringThe name of the endpoint.default StringThe AWS Key Management Service key that Amazon SageMaker uses to encrypt captured data at rest using Amazon S3 server-side encryption.default ObjectAn array ofModelVariantConfigSummaryobjects.default StringgetName()The name of the inference experiment.default StringThe 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 ObjectThe duration for which the inference experiment ran or will run.default ObjectThe configuration ofShadowModeinference 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 StringThe error message for the inference experiment status result.getTags()An array of key-value pairs to apply to this resource.default StringgetType()The type of the inference experiment.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDataStorageConfig
The Amazon S3 location and configuration for storing inference request and response data.Returns union: either
IResolvableorCfnInferenceExperimentPropsMixin.DataStorageConfigProperty- 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:
-
getEndpointName
The name of the endpoint.- 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:
-
getModelVariants
An array ofModelVariantConfigSummaryobjects.There is one for each variant in the inference experiment. Each
ModelVariantConfigSummaryobject in the array describes the infrastructure configuration for deploying the corresponding variant.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnInferenceExperimentPropsMixin.ModelVariantConfigProperty>- 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:
-
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.
Returns union: either
IResolvableorCfnInferenceExperimentPropsMixin.InferenceExperimentScheduleProperty- See Also:
-
getShadowModeConfig
The configuration ofShadowModeinference 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.
Returns union: either
IResolvableorCfnInferenceExperimentPropsMixin.ShadowModeConfigProperty- 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:
-
getType
The type of the inference experiment.- See Also:
-
builder
-