Class CfnCapacityReservationPropsMixin.CapacityAllocationProperty
Information about instance capacity usage for a Capacity Reservation.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnCapacityReservationPropsMixin.CapacityAllocationProperty : CfnCapacityReservationPropsMixin.ICapacityAllocationProperty
Syntax (vb)
Public Class CfnCapacityReservationPropsMixin.CapacityAllocationProperty Implements CfnCapacityReservationPropsMixin.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.Mixins.Preview.AWS.EC2.Mixins;
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.Mixins.Preview.AWS.EC2.Mixins;
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.