Show / Hide Table of Contents

Interface CfnCapacityReservationFleet.IInstanceTypeSpecificationProperty

Specifies information about an instance type to use in a Capacity Reservation Fleet.

Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnCapacityReservationFleet.IInstanceTypeSpecificationProperty
Syntax (vb)
Public Interface CfnCapacityReservationFleet.IInstanceTypeSpecificationProperty
Remarks

InstanceTypeSpecification is a property of the AWS::EC2::CapacityReservationFleet resource.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservationfleet-instancetypespecification.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 instanceTypeSpecificationProperty = new InstanceTypeSpecificationProperty {
                 AvailabilityZone = "availabilityZone",
                 AvailabilityZoneId = "availabilityZoneId",
                 EbsOptimized = false,
                 InstancePlatform = "instancePlatform",
                 InstanceType = "instanceType",
                 Priority = 123,
                 Weight = 123
             };

Synopsis

Properties

AvailabilityZone

The Availability Zone in which the Capacity Reservation Fleet reserves the capacity.

AvailabilityZoneId

The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity.

EbsOptimized

Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types.

InstancePlatform

The type of operating system for which the Capacity Reservation Fleet reserves capacity.

InstanceType

The instance type for which the Capacity Reservation Fleet reserves capacity.

Priority

The priority to assign to the instance type.

Weight

The number of capacity units provided by the specified instance type.

Properties

AvailabilityZone

The Availability Zone in which the Capacity Reservation Fleet reserves the capacity.

string? AvailabilityZone { get; }
Property Value

string

Remarks

A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservationfleet-instancetypespecification.html#cfn-ec2-capacityreservationfleet-instancetypespecification-availabilityzone

AvailabilityZoneId

The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity.

string? AvailabilityZoneId { get; }
Property Value

string

Remarks

A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservationfleet-instancetypespecification.html#cfn-ec2-capacityreservationfleet-instancetypespecification-availabilityzoneid

EbsOptimized

Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types.

object? EbsOptimized { get; }
Property Value

object

Remarks

This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using EBS-optimized instance types.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservationfleet-instancetypespecification.html#cfn-ec2-capacityreservationfleet-instancetypespecification-ebsoptimized

Type union: either bool or IResolvable

InstancePlatform

The type of operating system for which the Capacity Reservation Fleet reserves capacity.

string? InstancePlatform { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservationfleet-instancetypespecification.html#cfn-ec2-capacityreservationfleet-instancetypespecification-instanceplatform

InstanceType

The instance type for which the Capacity Reservation Fleet reserves capacity.

string? InstanceType { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservationfleet-instancetypespecification.html#cfn-ec2-capacityreservationfleet-instancetypespecification-instancetype

Priority

The priority to assign to the instance type.

double? Priority { get; }
Property Value

double?

Remarks

This value is used to determine which of the instance types specified for the Fleet should be prioritized for use. A lower value indicates a high priority. For more information, see Instance type priority in the Amazon EC2 User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservationfleet-instancetypespecification.html#cfn-ec2-capacityreservationfleet-instancetypespecification-priority

Weight

The number of capacity units provided by the specified instance type.

double? Weight { get; }
Property Value

double?

Remarks

This value, together with the total target capacity that you specify for the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see Total target capacity in the Amazon EC2 User Guide.

Valid Range: Minimum value of 0.001 . Maximum value of 99.999 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservationfleet-instancetypespecification.html#cfn-ec2-capacityreservationfleet-instancetypespecification-weight

Back to top Generated by DocFX