Show / Hide Table of Contents

Interface CfnLaunchTemplate.ICapacityReservationTargetProperty

Specifies a target Capacity Reservation.

Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public interface ICapacityReservationTargetProperty
Syntax (vb)
Public Interface ICapacityReservationTargetProperty
Remarks

CapacityReservationTarget is a property of the Amazon EC2 LaunchTemplate LaunchTemplateData property type.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-capacityreservationtarget.html

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;

CapacityReservationTargetProperty 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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-capacityreservationtarget.html#cfn-ec2-launchtemplate-capacityreservationtarget-capacityreservationid

CapacityReservationResourceGroupArn

The ARN of the Capacity Reservation resource group in which to run the instance.

virtual string CapacityReservationResourceGroupArn { get; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-capacityreservationtarget.html#cfn-ec2-launchtemplate-capacityreservationtarget-capacityreservationresourcegrouparn

Back to top Generated by DocFX