Class CfnEndpointConfig.ServerlessConfigProperty
Specifies the serverless configuration for an endpoint variant.
Inheritance
System.Object
CfnEndpointConfig.ServerlessConfigProperty
Implements
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public class ServerlessConfigProperty : Object, CfnEndpointConfig.IServerlessConfigProperty
Syntax (vb)
Public Class ServerlessConfigProperty
Inherits Object
Implements CfnEndpointConfig.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
Constructors
ServerlessConfigProperty() |
Properties
MaxConcurrency | The maximum number of concurrent invocations your serverless endpoint can process. |
MemorySizeInMb | The memory size of your serverless endpoint. |
ProvisionedConcurrency |
|
Constructors
ServerlessConfigProperty()
public ServerlessConfigProperty()
Properties
MaxConcurrency
The maximum number of concurrent invocations your serverless endpoint can process.
public double MaxConcurrency { get; set; }
Property Value
System.Double
Remarks
MemorySizeInMb
The memory size of your serverless endpoint.
public double MemorySizeInMb { get; set; }
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
.
public Nullable<double> ProvisionedConcurrency { get; set; }
Property Value
System.Nullable<System.Double>