interface CapacityReservationReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.EC2.CapacityReservationReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsec2#CapacityReservationReference |
Java | software.amazon.awscdk.interfaces.ec2.CapacityReservationReference |
Python | aws_cdk.interfaces.aws_ec2.CapacityReservationReference |
TypeScript | aws-cdk-lib » interfaces » aws_ec2 » CapacityReservationReference |
A reference to a CapacityReservation resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as interfaces_ec2 } from 'aws-cdk-lib/interfaces';
const capacityReservationReference: interfaces_ec2.CapacityReservationReference = {
capacityReservationArn: 'capacityReservationArn',
capacityReservationId: 'capacityReservationId',
};
Properties
| Name | Type | Description |
|---|---|---|
| capacity | string | The ARN of the CapacityReservation resource. |
| capacity | string | The Id of the CapacityReservation resource. |
capacityReservationArn
Type:
string
The ARN of the CapacityReservation resource.
capacityReservationId
Type:
string
The Id of the CapacityReservation resource.

.NET
Go
Java
Python
TypeScript