Show / Hide Table of Contents

Class CfnLaunchTemplate.CapacityReservationTargetProperty

Specifies a target Capacity Reservation.

Inheritance
System.Object
CfnLaunchTemplate.CapacityReservationTargetProperty
Implements
CfnLaunchTemplate.ICapacityReservationTargetProperty
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.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.

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

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

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.

public string CapacityReservationResourceGroupArn { get; set; }
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

Implements

CfnLaunchTemplate.ICapacityReservationTargetProperty
Back to top Generated by DocFX