Interface CfnLaunchTemplate.ICapacityReservationTargetProperty
Specifies a target Capacity Reservation.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICapacityReservationTargetProperty
Syntax (vb)
Public Interface ICapacityReservationTargetProperty
Remarks
CapacityReservationTarget
is a property of the Amazon EC2 LaunchTemplate LaunchTemplateData property type.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var capacityReservationTargetProperty = new CapacityReservationTargetProperty {
CapacityReservationId = "capacityReservationId",
CapacityReservationResourceGroupArn = "capacityReservationResourceGroupArn"
};
Synopsis
Properties
CapacityReservationId | The ID of the Capacity Reservation in which to run the instance. |
CapacityReservationResourceGroupArn | The ARN of the Capacity Reservation resource group in which to run the instance. |
Properties
CapacityReservationId
The ID of the Capacity Reservation in which to run the instance.
virtual string CapacityReservationId { get; }
Property Value
System.String
Remarks
CapacityReservationResourceGroupArn
The ARN of the Capacity Reservation resource group in which to run the instance.
virtual string CapacityReservationResourceGroupArn { get; }
Property Value
System.String