interface CapacityReservationTargetProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnLaunchTemplatePropsMixin.CapacityReservationTargetProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnLaunchTemplatePropsMixin_CapacityReservationTargetProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnLaunchTemplatePropsMixin.CapacityReservationTargetProperty |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnLaunchTemplatePropsMixin.CapacityReservationTargetProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » 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 { aws_ec2 as ec2 } from '@aws-cdk/cfn-property-mixins';
const capacityReservationTargetProperty: ec2.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