Show / Hide Table of Contents

Interface CfnLaunchTemplate.ICapacityReservationSpecificationProperty

Specifies an instance's Capacity Reservation targeting option. You can specify only one option at a time.

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

CapacityReservationSpecification is a property of AWS::EC2::LaunchTemplate LaunchTemplateData .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-capacityreservationspecification.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;

             var capacityReservationSpecificationProperty = new CapacityReservationSpecificationProperty {
                 CapacityReservationPreference = "capacityReservationPreference",
                 CapacityReservationTarget = new CapacityReservationTargetProperty {
                     CapacityReservationId = "capacityReservationId",
                     CapacityReservationResourceGroupArn = "capacityReservationResourceGroupArn"
                 }
             };

Synopsis

Properties

CapacityReservationPreference

Indicates the instance's Capacity Reservation preferences. Possible preferences include:.

CapacityReservationTarget

Information about the target Capacity Reservation or Capacity Reservation group.

Properties

CapacityReservationPreference

Indicates the instance's Capacity Reservation preferences. Possible preferences include:.

string? CapacityReservationPreference { get; }
Property Value

string

Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-capacityreservationspecification.html#cfn-ec2-launchtemplate-capacityreservationspecification-capacityreservationpreference

    CapacityReservationTarget

    Information about the target Capacity Reservation or Capacity Reservation group.

    object? CapacityReservationTarget { get; }
    Property Value

    object

    Remarks

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

    Type union: either IResolvable or CfnLaunchTemplate.ICapacityReservationTargetProperty

    Back to top Generated by DocFX