Interface CfnLaunchTemplate.CapacityReservationTargetProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLaunchTemplate.CapacityReservationTargetProperty.Jsii$Proxy
- Enclosing class:
- CfnLaunchTemplate
@Stability(Stable)
public static interface CfnLaunchTemplate.CapacityReservationTargetProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ec2.*;
CapacityReservationTargetProperty capacityReservationTargetProperty = CapacityReservationTargetProperty.builder()
.capacityReservationId("capacityReservationId")
.capacityReservationResourceGroupArn("capacityReservationResourceGroupArn")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLaunchTemplate.CapacityReservationTargetPropertystatic final classAn implementation forCfnLaunchTemplate.CapacityReservationTargetProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCapacityReservationId
The ID of the Capacity Reservation in which to run the instance. -
getCapacityReservationResourceGroupArn
The ARN of the Capacity Reservation resource group in which to run the instance. -
builder
-