Show / Hide Table of Contents

Class CfnEC2Fleet.FleetLaunchTemplateSpecificationRequestProperty

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

Inheritance
object
CfnEC2Fleet.FleetLaunchTemplateSpecificationRequestProperty
Implements
CfnEC2Fleet.IFleetLaunchTemplateSpecificationRequestProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnEC2Fleet.FleetLaunchTemplateSpecificationRequestProperty : CfnEC2Fleet.IFleetLaunchTemplateSpecificationRequestProperty
Syntax (vb)
Public Class CfnEC2Fleet.FleetLaunchTemplateSpecificationRequestProperty Implements 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

    Constructors

    FleetLaunchTemplateSpecificationRequestProperty()

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

    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.

    Constructors

    FleetLaunchTemplateSpecificationRequestProperty()

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

    public FleetLaunchTemplateSpecificationRequestProperty()
    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"
                   };

      Properties

      LaunchTemplateId

      The ID of the launch template.

      public string? LaunchTemplateId { get; set; }
      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.

      public string? LaunchTemplateName { get; set; }
      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.

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

      Implements

      CfnEC2Fleet.IFleetLaunchTemplateSpecificationRequestProperty
      Back to top Generated by DocFX