@Stability(value=Stable)
public static interface CfnEndpointConfig.ServerlessConfigProperty
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.*;
ServerlessConfigProperty serverlessConfigProperty = ServerlessConfigProperty.builder()
.maxConcurrency(123)
.memorySizeInMb(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEndpointConfig.ServerlessConfigProperty.Builder
A builder for
CfnEndpointConfig.ServerlessConfigProperty |
static class |
CfnEndpointConfig.ServerlessConfigProperty.Jsii$Proxy
An implementation for
CfnEndpointConfig.ServerlessConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnEndpointConfig.ServerlessConfigProperty.Builder |
builder() |
Number |
getMaxConcurrency()
The maximum number of concurrent invocations your serverless endpoint can process.
|
Number |
getMemorySizeInMb()
The memory size of your serverless endpoint.
|
@Stability(value=Stable) @NotNull Number getMaxConcurrency()
@Stability(value=Stable) @NotNull Number getMemorySizeInMb()
Valid values are in 1 GB increments: 1024 MB, 2048 MB, 3072 MB, 4096 MB, 5120 MB, or 6144 MB.
@Stability(value=Stable) static CfnEndpointConfig.ServerlessConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.