public static interface CfnGameServerGroup.LaunchTemplateProperty
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 java.lang.String |
getLaunchTemplateId()
A unique identifier for an existing Amazon EC2 launch template.
|
default java.lang.String |
getLaunchTemplateName()
A readable identifier for an existing Amazon EC2 launch template.
|
default java.lang.String |
getVersion()
The version of the Amazon EC2 launch template to use.
|
default java.lang.String getLaunchTemplateId()
default java.lang.String getLaunchTemplateName()
default java.lang.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.
static CfnGameServerGroup.LaunchTemplateProperty.Builder builder()