Class Build.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.alpha.Build.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Build>
- Enclosing class:
Build
@Stability(Experimental)
public static final class Build.Builder
extends Object
implements software.amazon.jsii.Builder<Build>
(experimental) A fluent builder for
Build
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
(experimental) Name of this build.buildVersion
(String buildVersion) (experimental) Version of this build.(experimental) The game build file storage.static Build.Builder
operatingSystem
(OperatingSystem operatingSystem) (experimental) The operating system that the game server binaries are built to run on.(experimental) The IAM role assumed by GameLift to access server build in S3.serverSdkVersion
(String serverSdkVersion) (experimental) A server SDK version you used when integrating your game server build with Amazon GameLift.
-
Method Details
-
create
@Stability(Experimental) public static Build.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
Build.Builder
.
-
content
(experimental) The game build file storage.- Parameters:
content
- The game build file storage. This parameter is required.- Returns:
this
-
buildName
(experimental) Name of this build.Default: No name
- Parameters:
buildName
- Name of this build. This parameter is required.- Returns:
this
-
buildVersion
(experimental) Version of this build.Default: No version
- Parameters:
buildVersion
- Version of this build. This parameter is required.- Returns:
this
-
operatingSystem
(experimental) The operating system that the game server binaries are built to run on.Default: No version
- Parameters:
operatingSystem
- The operating system that the game server binaries are built to run on. This parameter is required.- Returns:
this
-
role
(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.
- Parameters:
role
- The IAM role assumed by GameLift to access server build in S3. This parameter is required.- Returns:
this
- See Also:
-
serverSdkVersion
(experimental) A server SDK version you used when integrating your game server build with Amazon GameLift.Default: - 4.0.2
- Parameters:
serverSdkVersion
- A server SDK version you used when integrating your game server build with Amazon GameLift. This parameter is required.- Returns:
this
- See Also:
-
build
-