Interface CfnBuildProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBuildProps.Jsii$Proxy
CfnBuild
.
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.*; CfnBuildProps cfnBuildProps = CfnBuildProps.builder() .name("name") .operatingSystem("operatingSystem") .serverSdkVersion("serverSdkVersion") .storageLocation(StorageLocationProperty.builder() .bucket("bucket") .key("key") .roleArn("roleArn") // the properties below are optional .objectVersion("objectVersion") .build()) .version("version") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBuildProps
static final class
An implementation forCfnBuildProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnBuildProps.Builder
builder()
default String
getName()
A descriptive label that is associated with a build.default String
The operating system that your game server binaries run on.default String
A server SDK version you used when integrating your game server build with Amazon GameLift.default Object
Information indicating where your game build files are stored.default String
Version information that is associated with this build.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
A descriptive label that is associated with a build.Build names do not need to be unique.
- See Also:
-
getOperatingSystem
The operating system that your game server binaries run on.This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later.
Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the Amazon Linux 2 FAQs . For game servers that are hosted on AL2 and use Amazon GameLift server SDK 4.x., first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See Migrate to Amazon GameLift server SDK version 5.
- See Also:
-
getServerSdkVersion
A server SDK version you used when integrating your game server build with Amazon GameLift.For more information see Integrate games with custom game servers . By default Amazon GameLift sets this value to
4.0.2
.- See Also:
-
getStorageLocation
Information indicating where your game build files are stored.Use this parameter only when creating a build with files stored in an Amazon S3 bucket that you own. The storage location must specify an Amazon S3 bucket name and key. The location must also specify a role ARN that you set up to allow Amazon GameLift to access your Amazon S3 bucket. The S3 bucket and your new build must be in the same Region.
If a
StorageLocation
is specified, the size of your file can be found in your Amazon S3 bucket. Amazon GameLift will report aSizeOnDisk
of 0.- See Also:
-
getVersion
Version information that is associated with this build.Version strings do not need to be unique.
- See Also:
-
builder
- Returns:
- a
CfnBuildProps.Builder
ofCfnBuildProps
-