Class CfnLaunchTemplate.CapacityReservationTargetProperty
Specifies a target Capacity Reservation.
Inheritance
System.Object
CfnLaunchTemplate.CapacityReservationTargetProperty
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CapacityReservationTargetProperty : Object, CfnLaunchTemplate.ICapacityReservationTargetProperty
Syntax (vb)
Public Class CapacityReservationTargetProperty
Inherits Object
Implements CfnLaunchTemplate.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
Constructors
CapacityReservationTargetProperty() |
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. |
Constructors
CapacityReservationTargetProperty()
public CapacityReservationTargetProperty()
Properties
CapacityReservationId
The ID of the Capacity Reservation in which to run the instance.
public string CapacityReservationId { get; set; }
Property Value
System.String
Remarks
CapacityReservationResourceGroupArn
The ARN of the Capacity Reservation resource group in which to run the instance.
public string CapacityReservationResourceGroupArn { get; set; }
Property Value
System.String