Modifier and Type | Method and Description |
---|---|
CfnBuild |
build() |
static CfnBuild.Builder |
create(Construct scope,
java.lang.String id) |
CfnBuild.Builder |
name(java.lang.String name)
A descriptive label that is associated with a build.
|
CfnBuild.Builder |
operatingSystem(java.lang.String operatingSystem)
The operating system that the game server binaries are built to run on.
|
CfnBuild.Builder |
storageLocation(CfnBuild.S3LocationProperty storageLocation)
Information indicating where your game build files are stored.
|
CfnBuild.Builder |
storageLocation(IResolvable storageLocation)
Information indicating where your game build files are stored.
|
CfnBuild.Builder |
version(java.lang.String version)
Version information that is associated with this build.
|
public static CfnBuild.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnBuild.S3LocationProperty.Builder
.public CfnBuild.Builder name(java.lang.String name)
Build names do not need to be unique.
name
- A descriptive label that is associated with a build. This parameter is required.this
public CfnBuild.Builder operatingSystem(java.lang.String operatingSystem)
This value determines the type of fleet resources that you can use for this build. If your game build contains multiple executables, they all must run on the same operating system. If an operating system is not specified when creating a build, Amazon GameLift uses the default value (WINDOWS_2012). This value cannot be changed later.
operatingSystem
- The operating system that the game server binaries are built to run on. This parameter is required.this
public CfnBuild.Builder storageLocation(IResolvable storageLocation)
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 a SizeOnDisk
of 0.
storageLocation
- Information indicating where your game build files are stored. This parameter is required.this
public CfnBuild.Builder storageLocation(CfnBuild.S3LocationProperty storageLocation)
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 a SizeOnDisk
of 0.
storageLocation
- Information indicating where your game build files are stored. This parameter is required.this
public CfnBuild.Builder version(java.lang.String version)
Version strings do not need to be unique.
version
- Version information that is associated with this build. This parameter is required.this
public CfnBuild build()