interface CfnBuildProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.GameLift.CfnBuildProps |
Java | software.amazon.awscdk.services.gamelift.CfnBuildProps |
Python | aws_cdk.aws_gamelift.CfnBuildProps |
TypeScript | @aws-cdk/aws-gamelift » CfnBuildProps |
Properties for defining a CfnBuild
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as gamelift from '@aws-cdk/aws-gamelift';
const cfnBuildProps: gamelift.CfnBuildProps = {
name: 'name',
operatingSystem: 'operatingSystem',
serverSdkVersion: 'serverSdkVersion',
storageLocation: {
bucket: 'bucket',
key: 'key',
roleArn: 'roleArn',
// the properties below are optional
objectVersion: 'objectVersion',
},
version: 'version',
};
Properties
Name | Type | Description |
---|---|---|
name? | string | A descriptive label that is associated with a build. |
operating | string | The operating system that your game server binaries run on. |
server | string | The Amazon GameLift Server SDK version used to develop your game server. |
storage | IResolvable | Storage | Information indicating where your game build files are stored. |
version? | string | Version information that is associated with this build. |
name?
Type:
string
(optional)
A descriptive label that is associated with a build.
Build names do not need to be unique.
operatingSystem?
Type:
string
(optional)
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.
If you have active fleets using the Windows Server 2012 operating system, you can continue to create new builds using this OS until October 10, 2023, when Microsoft ends its support. All others must use Windows Server 2016 when creating new Windows-based builds.
serverSdkVersion?
Type:
string
(optional)
The Amazon GameLift Server SDK version used to develop your game server.
storageLocation?
Type:
IResolvable
|
Storage
(optional)
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 a SizeOnDisk
of 0.
version?
Type:
string
(optional)
Version information that is associated with this build.
Version strings do not need to be unique.