interface CapacityReservationTargetProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnLaunchTemplatePropsMixin.CapacityReservationTargetProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnLaunchTemplatePropsMixin_CapacityReservationTargetProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnLaunchTemplatePropsMixin.CapacityReservationTargetProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnLaunchTemplatePropsMixin.CapacityReservationTargetProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnLaunchTemplatePropsMixin » CapacityReservationTargetProperty |
Specifies a target Capacity Reservation.
CapacityReservationTarget is a property of the Amazon EC2 LaunchTemplate LaunchTemplateData property type.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const capacityReservationTargetProperty: ec2_mixins.CfnLaunchTemplatePropsMixin.CapacityReservationTargetProperty = {
capacityReservationId: 'capacityReservationId',
capacityReservationResourceGroupArn: 'capacityReservationResourceGroupArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| capacity | string | The ID of the Capacity Reservation in which to run the instance. |
| capacity | string | The ARN of the Capacity Reservation resource group in which to run the instance. |
capacityReservationId?
Type:
string
(optional)
The ID of the Capacity Reservation in which to run the instance.
capacityReservationResourceGroupArn?
Type:
string
(optional)
The ARN of the Capacity Reservation resource group in which to run the instance.

.NET
Go
Java
Python
TypeScript