Show / Hide Table of Contents

Class CfnCapacityReservation.CapacityAllocationProperty

Information about instance capacity usage for a Capacity Reservation.

Inheritance
object
CfnCapacityReservation.CapacityAllocationProperty
Implements
CfnCapacityReservation.ICapacityAllocationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservation-capacityallocation.html

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservation-capacityallocation.html

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

string

Remarks

used indicates that the instance capacity is in use by instances that are running in the Capacity Reservation.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservation-capacityallocation.html#cfn-ec2-capacityreservation-capacityallocation-allocationtype

Count

The amount of instance capacity associated with the usage.

public double? Count { get; set; }
Property Value

double?

Remarks

For example a value of 4 indicates that instance capacity for 4 instances is currently in use.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservation-capacityallocation.html#cfn-ec2-capacityreservation-capacityallocation-count

Implements

CfnCapacityReservation.ICapacityAllocationProperty
Back to top Generated by DocFX