CfnCapacityReservationProps

class aws_cdk.aws_ec2.CfnCapacityReservationProps(*, availability_zone, instance_count, instance_platform, instance_type, ebs_optimized=None, end_date=None, end_date_type=None, ephemeral_storage=None, instance_match_criteria=None, tag_specifications=None, tenancy=None)

Bases: object

__init__(*, availability_zone, instance_count, instance_platform, instance_type, ebs_optimized=None, end_date=None, end_date_type=None, ephemeral_storage=None, instance_match_criteria=None, tag_specifications=None, tenancy=None)

Properties for defining a AWS::EC2::CapacityReservation.

Parameters
  • availability_zone (str) – AWS::EC2::CapacityReservation.AvailabilityZone.

  • instance_count (Union[int, float]) – AWS::EC2::CapacityReservation.InstanceCount.

  • instance_platform (str) – AWS::EC2::CapacityReservation.InstancePlatform.

  • instance_type (str) – AWS::EC2::CapacityReservation.InstanceType.

  • ebs_optimized (Union[bool, None, IResolvable]) – AWS::EC2::CapacityReservation.EbsOptimized.

  • end_date (Optional[str]) – AWS::EC2::CapacityReservation.EndDate.

  • end_date_type (Optional[str]) – AWS::EC2::CapacityReservation.EndDateType.

  • ephemeral_storage (Union[bool, None, IResolvable]) – AWS::EC2::CapacityReservation.EphemeralStorage.

  • instance_match_criteria (Optional[str]) – AWS::EC2::CapacityReservation.InstanceMatchCriteria.

  • tag_specifications (Union[IResolvable, None, List[Union[IResolvable, TagSpecificationProperty]]]) – AWS::EC2::CapacityReservation.TagSpecifications.

  • tenancy (Optional[str]) – AWS::EC2::CapacityReservation.Tenancy.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html

Attributes

availability_zone

AWS::EC2::CapacityReservation.AvailabilityZone.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-availabilityzone

Return type

str

ebs_optimized

AWS::EC2::CapacityReservation.EbsOptimized.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-ebsoptimized

Return type

Union[bool, None, IResolvable]

end_date

AWS::EC2::CapacityReservation.EndDate.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-enddate

Return type

Optional[str]

end_date_type

AWS::EC2::CapacityReservation.EndDateType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-enddatetype

Return type

Optional[str]

ephemeral_storage

AWS::EC2::CapacityReservation.EphemeralStorage.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-ephemeralstorage

Return type

Union[bool, None, IResolvable]

instance_count

AWS::EC2::CapacityReservation.InstanceCount.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-instancecount

Return type

Union[int, float]

instance_match_criteria

AWS::EC2::CapacityReservation.InstanceMatchCriteria.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-instancematchcriteria

Return type

Optional[str]

instance_platform

AWS::EC2::CapacityReservation.InstancePlatform.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-instanceplatform

Return type

str

instance_type

AWS::EC2::CapacityReservation.InstanceType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-instancetype

Return type

str

tag_specifications

AWS::EC2::CapacityReservation.TagSpecifications.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-tagspecifications

Return type

Union[IResolvable, None, List[Union[IResolvable, TagSpecificationProperty]]]

tenancy

AWS::EC2::CapacityReservation.Tenancy.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-tenancy

Return type

Optional[str]