Interface CfnAutoScalingGroup.CapacityReservationTargetProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAutoScalingGroup.CapacityReservationTargetProperty.Jsii$Proxy
- Enclosing class:
CfnAutoScalingGroup
@Stability(Stable)
public static interface CfnAutoScalingGroup.CapacityReservationTargetProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.autoscaling.*;
CapacityReservationTargetProperty capacityReservationTargetProperty = CapacityReservationTargetProperty.builder()
.capacityReservationIds(List.of("capacityReservationIds"))
.capacityReservationResourceGroupArns(List.of("capacityReservationResourceGroupArns"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAutoScalingGroup.CapacityReservationTargetPropertystatic final classAn implementation forCfnAutoScalingGroup.CapacityReservationTargetProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The Capacity Reservation IDs to launch instances into.The resource group ARNs of the Capacity Reservation to launch instances into.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCapacityReservationIds
The Capacity Reservation IDs to launch instances into.- See Also:
-
getCapacityReservationResourceGroupArns
The resource group ARNs of the Capacity Reservation to launch instances into.- See Also:
-
builder
-