Class CfnEndpoint.CapacitySizeProperty
Specifies the endpoint capacity to activate for production.
Inheritance
System.Object
CfnEndpoint.CapacitySizeProperty
Implements
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public class CapacitySizeProperty : Object, CfnEndpoint.ICapacitySizeProperty
Syntax (vb)
Public Class CapacitySizeProperty
Inherits Object
Implements CfnEndpoint.ICapacitySizeProperty
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 capacitySizeProperty = new CapacitySizeProperty {
Type = "type",
Value = 123
};
Synopsis
Constructors
CapacitySizeProperty() |
Properties
Type | Specifies the endpoint capacity type. |
Value | Defines the capacity size, either as a number of instances or a capacity percentage. |
Constructors
CapacitySizeProperty()
public CapacitySizeProperty()
Properties
Type
Specifies the endpoint capacity type.
public string Type { get; set; }
Property Value
System.String
Remarks
Value
Defines the capacity size, either as a number of instances or a capacity percentage.
public double Value { get; set; }
Property Value
System.Double