Class CfnCapacityReservation.CapacityAllocationProperty
Information about instance capacity usage for a Capacity Reservation.
Inheritance
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CapacityAllocationProperty : Object, CfnCapacityReservation.ICapacityAllocationProperty
Syntax (vb)
Public Class CapacityAllocationProperty
Inherits Object
Implements CfnCapacityReservation.ICapacityAllocationProperty
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.EC2;
var capacityAllocationProperty = new CapacityAllocationProperty {
AllocationType = "allocationType",
Count = 123
};
Synopsis
Constructors
Capacity |
Properties
Allocation |
The usage type. |
Count | The amount of instance capacity associated with the usage. |
Constructors
CapacityAllocationProperty()
public CapacityAllocationProperty()
Properties
AllocationType
The usage type.
public string AllocationType { get; set; }
Property Value
System.
Remarks
used
indicates that the instance capacity is in use by instances that are running in the Capacity Reservation.
Count
The amount of instance capacity associated with the usage.
public Nullable<double> Count { get; set; }
Property Value
System.
Remarks
For example a value of 4
indicates that instance capacity for 4 instances is currently in use.