Class CfnGameServerGroup.LaunchTemplateProperty
This data type is used with the GameLift FleetIQ and game server groups..
Inheritance
Implements
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LaunchTemplateProperty : Object, CfnGameServerGroup.ILaunchTemplateProperty
Syntax (vb)
Public Class LaunchTemplateProperty
Inherits Object
Implements CfnGameServerGroup.ILaunchTemplateProperty
Remarks
An Amazon EC2 launch template that contains configuration settings and game server code to be deployed to all instances in a game server group. The launch template is specified when creating a new game server group with GameServerGroup
.
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.GameLift;
var launchTemplateProperty = new LaunchTemplateProperty {
LaunchTemplateId = "launchTemplateId",
LaunchTemplateName = "launchTemplateName",
Version = "version"
};
Synopsis
Constructors
LaunchTemplateProperty() |
Properties
LaunchTemplateId | A unique identifier for an existing Amazon EC2 launch template. |
LaunchTemplateName | A readable identifier for an existing Amazon EC2 launch template. |
Version | The version of the Amazon EC2 launch template to use. |
Constructors
LaunchTemplateProperty()
public LaunchTemplateProperty()
Properties
LaunchTemplateId
A unique identifier for an existing Amazon EC2 launch template.
public string LaunchTemplateId { get; set; }
Property Value
System.String
Remarks
LaunchTemplateName
A readable identifier for an existing Amazon EC2 launch template.
public string LaunchTemplateName { get; set; }
Property Value
System.String
Remarks
Version
The version of the Amazon EC2 launch template to use.
public string Version { get; set; }
Property Value
System.String
Remarks
If no version is specified, the default version will be used. With Amazon EC2, you can specify a default version for a launch template. If none is set, the default is the first version created.