interface CapacityReservationReference
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.CapacityReservationReference |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CapacityReservationReference |
![]() | software.amazon.awscdk.services.ec2.CapacityReservationReference |
![]() | aws_cdk.aws_ec2.CapacityReservationReference |
![]() | aws-cdk-lib » 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 ec2 } from 'aws-cdk-lib';
const capacityReservationReference: 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.