Interface CfnLaunchTemplatePropsMixin.CapacityReservationTargetProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLaunchTemplatePropsMixin.CapacityReservationTargetProperty.Jsii$Proxy
- Enclosing class:
CfnLaunchTemplatePropsMixin
@Stability(Stable)
public static interface CfnLaunchTemplatePropsMixin.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.cfnpropertymixins.services.ec2.*;
CapacityReservationTargetProperty capacityReservationTargetProperty = CapacityReservationTargetProperty.builder()
.capacityReservationId("capacityReservationId")
.capacityReservationResourceGroupArn("capacityReservationResourceGroupArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnLaunchTemplatePropsMixin.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.- See Also:
-
getCapacityReservationResourceGroupArn
The ARN of the Capacity Reservation resource group in which to run the instance.- See Also:
-
builder
@Stability(Stable) static CfnLaunchTemplatePropsMixin.CapacityReservationTargetProperty.Builder builder()
-