interface CapacityReservationTargetProperty
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.AutoScaling.CfnAutoScalingGroup.CapacityReservationTargetProperty | 
  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsautoscaling#CfnAutoScalingGroup_CapacityReservationTargetProperty | 
  Java | software.amazon.awscdk.services.autoscaling.CfnAutoScalingGroup.CapacityReservationTargetProperty | 
  Python | aws_cdk.aws_autoscaling.CfnAutoScalingGroup.CapacityReservationTargetProperty | 
  TypeScript  | aws-cdk-lib » aws_autoscaling » CfnAutoScalingGroup » CapacityReservationTargetProperty | 
The target for the Capacity Reservation.
Specify Capacity Reservations IDs or Capacity Reservation resource group ARNs.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_autoscaling as autoscaling } from 'aws-cdk-lib';
const capacityReservationTargetProperty: autoscaling.CfnAutoScalingGroup.CapacityReservationTargetProperty = {
  capacityReservationIds: ['capacityReservationIds'],
  capacityReservationResourceGroupArns: ['capacityReservationResourceGroupArns'],
};
Properties
| Name | Type | Description | 
|---|---|---|
| capacity | string[] | The Capacity Reservation IDs to launch instances into. | 
| capacity | string[] | The resource group ARNs of the Capacity Reservation to launch instances into. | 
capacityReservationIds?
Type:
string[]
(optional)
The Capacity Reservation IDs to launch instances into.
capacityReservationResourceGroupArns?
Type:
string[]
(optional)
The resource group ARNs of the Capacity Reservation to launch instances into.

 .NET
 Go
 Java
 Python
 TypeScript