Interface CfnEndpointConfig.IServerlessConfigProperty
Specifies the serverless configuration for an endpoint variant.
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public interface IServerlessConfigProperty
Syntax (vb)
Public Interface IServerlessConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 serverlessConfigProperty = new ServerlessConfigProperty {
MaxConcurrency = 123,
MemorySizeInMb = 123,
// the properties below are optional
ProvisionedConcurrency = 123
};
Synopsis
Properties
MaxConcurrency | The maximum number of concurrent invocations your serverless endpoint can process. |
MemorySizeInMb | The memory size of your serverless endpoint. |
ProvisionedConcurrency |
|
Properties
MaxConcurrency
The maximum number of concurrent invocations your serverless endpoint can process.
double MaxConcurrency { get; }
Property Value
System.Double
Remarks
MemorySizeInMb
The memory size of your serverless endpoint.
double MemorySizeInMb { get; }
Property Value
System.Double
Remarks
Valid values are in 1 GB increments: 1024 MB, 2048 MB, 3072 MB, 4096 MB, 5120 MB, or 6144 MB.
ProvisionedConcurrency
CfnEndpointConfig.ServerlessConfigProperty.ProvisionedConcurrency
.
virtual Nullable<double> ProvisionedConcurrency { get; }
Property Value
System.Nullable<System.Double>