Show / Hide Table of Contents

Interface CfnEC2Fleet.IFleetLaunchTemplateSpecificationRequestProperty

Specifies the launch template to be used by the EC2 Fleet for configuring Amazon EC2 instances.

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

You must specify the following:

    FleetLaunchTemplateSpecificationRequest is a property of the FleetLaunchTemplateConfigRequest property type.

    For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template in the Amazon EC2 User Guide .

    For examples of launch templates, see Examples .

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-fleetlaunchtemplatespecificationrequest.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 fleetLaunchTemplateSpecificationRequestProperty = new FleetLaunchTemplateSpecificationRequestProperty {
                     Version = "version",
    
                     // the properties below are optional
                     LaunchTemplateId = "launchTemplateId",
                     LaunchTemplateName = "launchTemplateName"
                 };

    Synopsis

    Properties

    LaunchTemplateId

    The ID of the launch template.

    LaunchTemplateName

    The name of the launch template.

    Version

    The launch template version number, $Latest , or $Default . You must specify a value, otherwise the request fails.

    Properties

    LaunchTemplateId

    The ID of the launch template.

    string? LaunchTemplateId { get; }
    Property Value

    string

    Remarks

    You must specify the LaunchTemplateId or the LaunchTemplateName , but not both.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-fleetlaunchtemplatespecificationrequest.html#cfn-ec2-ec2fleet-fleetlaunchtemplatespecificationrequest-launchtemplateid

    LaunchTemplateName

    The name of the launch template.

    string? LaunchTemplateName { get; }
    Property Value

    string

    Remarks

    You must specify the LaunchTemplateName or the LaunchTemplateId , but not both.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-fleetlaunchtemplatespecificationrequest.html#cfn-ec2-ec2fleet-fleetlaunchtemplatespecificationrequest-launchtemplatename

    Version

    The launch template version number, $Latest , or $Default . You must specify a value, otherwise the request fails.

    string Version { get; }
    Property Value

    string

    Remarks

    If the value is $Latest , Amazon EC2 uses the latest version of the launch template.

    If the value is $Default , Amazon EC2 uses the default version of the launch template.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-fleetlaunchtemplatespecificationrequest.html#cfn-ec2-ec2fleet-fleetlaunchtemplatespecificationrequest-version

    Back to top Generated by DocFX