Class CfnCapacityReservation.CapacityAllocationProperty
Information about instance capacity usage for a Capacity Reservation.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCapacityReservation.CapacityAllocationProperty : CfnCapacityReservation.ICapacityAllocationProperty
Syntax (vb)
Public Class CfnCapacityReservation.CapacityAllocationProperty 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
CapacityAllocationProperty() | Information about instance capacity usage for a Capacity Reservation. |
Properties
AllocationType | The usage type. |
Count | The amount of instance capacity associated with the usage. |
Constructors
CapacityAllocationProperty()
Information about instance capacity usage for a Capacity Reservation.
public CapacityAllocationProperty()
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
};
Properties
AllocationType
The usage type.
public string? AllocationType { get; set; }
Property Value
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 double? Count { get; set; }
Property Value
Remarks
For example a value of 4
indicates that instance capacity for 4 instances is currently in use.