CapacityReservationReference

class aws_cdk.aws_ec2.CapacityReservationReference(*, capacity_reservation_arn, capacity_reservation_id)

Bases: object

A reference to a CapacityReservation resource.

Parameters:
  • capacity_reservation_arn (str) – The ARN of the CapacityReservation resource.

  • capacity_reservation_id (str) – The Id of the CapacityReservation resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

capacity_reservation_reference = ec2.CapacityReservationReference(
    capacity_reservation_arn="capacityReservationArn",
    capacity_reservation_id="capacityReservationId"
)

Attributes

capacity_reservation_arn

The ARN of the CapacityReservation resource.

capacity_reservation_id

The Id of the CapacityReservation resource.