@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:19.115Z") @Stability(value=Stable) public interface CfnEndpointConfigProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnEndpointConfigProps cfnEndpointConfigProps = CfnEndpointConfigProps.builder()
.productionVariants(List.of(ProductionVariantProperty.builder()
.initialVariantWeight(123)
.modelName("modelName")
.variantName("variantName")
// the properties below are optional
.acceleratorType("acceleratorType")
.initialInstanceCount(123)
.instanceType("instanceType")
.serverlessConfig(ServerlessConfigProperty.builder()
.maxConcurrency(123)
.memorySizeInMb(123)
.build())
.build()))
// the properties below are optional
.asyncInferenceConfig(AsyncInferenceConfigProperty.builder()
.outputConfig(AsyncInferenceOutputConfigProperty.builder()
.s3OutputPath("s3OutputPath")
// the properties below are optional
.kmsKeyId("kmsKeyId")
.notificationConfig(AsyncInferenceNotificationConfigProperty.builder()
.errorTopic("errorTopic")
.successTopic("successTopic")
.build())
.build())
// the properties below are optional
.clientConfig(AsyncInferenceClientConfigProperty.builder()
.maxConcurrentInvocationsPerInstance(123)
.build())
.build())
.dataCaptureConfig(DataCaptureConfigProperty.builder()
.captureOptions(List.of(CaptureOptionProperty.builder()
.captureMode("captureMode")
.build()))
.destinationS3Uri("destinationS3Uri")
.initialSamplingPercentage(123)
// the properties below are optional
.captureContentTypeHeader(CaptureContentTypeHeaderProperty.builder()
.csvContentTypes(List.of("csvContentTypes"))
.jsonContentTypes(List.of("jsonContentTypes"))
.build())
.enableCapture(false)
.kmsKeyId("kmsKeyId")
.build())
.endpointConfigName("endpointConfigName")
.kmsKeyId("kmsKeyId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEndpointConfigProps.Builder
A builder for
CfnEndpointConfigProps |
static class |
CfnEndpointConfigProps.Jsii$Proxy
An implementation for
CfnEndpointConfigProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnEndpointConfigProps.Builder |
builder() |
default Object |
getAsyncInferenceConfig()
`AWS::SageMaker::EndpointConfig.AsyncInferenceConfig`.
|
default Object |
getDataCaptureConfig()
`AWS::SageMaker::EndpointConfig.DataCaptureConfig`.
|
default String |
getEndpointConfigName()
`AWS::SageMaker::EndpointConfig.EndpointConfigName`.
|
default String |
getKmsKeyId()
`AWS::SageMaker::EndpointConfig.KmsKeyId`.
|
Object |
getProductionVariants()
`AWS::SageMaker::EndpointConfig.ProductionVariants`.
|
default List<CfnTag> |
getTags()
`AWS::SageMaker::EndpointConfig.Tags`.
|
@Stability(value=Stable) @Nullable default Object getAsyncInferenceConfig()
@Stability(value=Stable) @Nullable default Object getDataCaptureConfig()
@Stability(value=Stable) @Nullable default String getEndpointConfigName()
@Stability(value=Stable) @Nullable default String getKmsKeyId()
@Stability(value=Stable) @NotNull Object getProductionVariants()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnEndpointConfigProps.Builder builder()
CfnEndpointConfigProps.Builder of CfnEndpointConfigPropsCopyright © 2021. All rights reserved.