Interface BuildProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BuildProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:49.788Z")
@Stability(Experimental)
public interface BuildProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for a new build.
Example:
Bucket bucket;
Build build = Build.Builder.create(this, "Build")
.content(Content.fromBucket(bucket, "sample-asset-key"))
.build();
CfnOutput.Builder.create(this, "BuildArn").value(build.getBuildArn()).build();
CfnOutput.Builder.create(this, "BuildId").value(build.getBuildId()).build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forBuildPropsstatic final classAn implementation forBuildProps -
Method Summary
Modifier and TypeMethodDescriptionstatic BuildProps.Builderbuilder()default String(experimental) Name of this build.default String(experimental) Version of this build.(experimental) The game build file storage.default OperatingSystem(experimental) The operating system that the game server binaries are built to run on.default IRolegetRole()(experimental) The IAM role assumed by GameLift to access server build in S3.default String(experimental) A server SDK version you used when integrating your game server build with Amazon GameLift.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContent
(experimental) The game build file storage. -
getBuildName
(experimental) Name of this build.Default: No name
-
getBuildVersion
(experimental) Version of this build.Default: No version
-
getOperatingSystem
(experimental) The operating system that the game server binaries are built to run on.Default: No version
-
getRole
(experimental) The IAM role assumed by GameLift to access server build in S3.If providing a custom role, it needs to trust the GameLift service principal (gamelift.amazonaws.com) and be granted sufficient permissions to have Read access to a specific key content into a specific S3 bucket. Below an example of required permission: { "Version": "2012-10-17", "Statement": [{ "Effect": "Allow", "Action": [ "s3:GetObject", "s3:GetObjectVersion" ], "Resource": "arn:aws:s3:::bucket-name/object-name" }] }
Default: - a role will be created with default permissions.
- See Also:
-
getServerSdkVersion
(experimental) A server SDK version you used when integrating your game server build with Amazon GameLift.Default: - 4.0.2
- See Also:
-
builder
- Returns:
- a
BuildProps.BuilderofBuildProps
-