Show / Hide Table of Contents

Class CfnCapacityReservationPropsMixin.CapacityAllocationProperty

Information about instance capacity usage for a Capacity Reservation.

Inheritance
object
CfnCapacityReservationPropsMixin.CapacityAllocationProperty
Implements
CfnCapacityReservationPropsMixin.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.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

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.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

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.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

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

CfnCapacityReservationPropsMixin.ICapacityAllocationProperty
Back to top Generated by DocFX