@Stability(value=Stable)
public static interface CfnGameServerGroup.LaunchTemplateProperty
extends software.amazon.jsii.JsiiSerializable
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 .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.gamelift.*;
LaunchTemplateProperty launchTemplateProperty = LaunchTemplateProperty.builder()
.launchTemplateId("launchTemplateId")
.launchTemplateName("launchTemplateName")
.version("version")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnGameServerGroup.LaunchTemplateProperty.Builder
A builder for
CfnGameServerGroup.LaunchTemplateProperty |
static class |
CfnGameServerGroup.LaunchTemplateProperty.Jsii$Proxy
An implementation for
CfnGameServerGroup.LaunchTemplateProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnGameServerGroup.LaunchTemplateProperty.Builder |
builder() |
default String |
getLaunchTemplateId()
A unique identifier for an existing Amazon EC2 launch template.
|
default String |
getLaunchTemplateName()
A readable identifier for an existing Amazon EC2 launch template.
|
default String |
getVersion()
The version of the Amazon EC2 launch template to use.
|
@Stability(value=Stable) @Nullable default String getLaunchTemplateId()
@Stability(value=Stable) @Nullable default String getLaunchTemplateName()
@Stability(value=Stable) @Nullable default String getVersion()
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.
@Stability(value=Stable) static CfnGameServerGroup.LaunchTemplateProperty.Builder builder()
Copyright © 2022. All rights reserved.