Interface BuildProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
BuildProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:15.675Z") @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();
 
  • Method Details

    • getContent

      @Stability(Experimental) @NotNull Content getContent()
      (experimental) The game build file storage.
    • getBuildName

      @Stability(Experimental) @Nullable default String getBuildName()
      (experimental) Name of this build.

      Default: No name

    • getBuildVersion

      @Stability(Experimental) @Nullable default String getBuildVersion()
      (experimental) Version of this build.

      Default: No version

    • getOperatingSystem

      @Stability(Experimental) @Nullable default OperatingSystem getOperatingSystem()
      (experimental) The operating system that the game server binaries are built to run on.

      Default: No version

    • getRole

      @Stability(Experimental) @Nullable default IRole 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

      @Stability(Experimental) @Nullable default String getServerSdkVersion()
      (experimental) A server SDK version you used when integrating your game server build with Amazon GameLift.

      Default: - 4.0.2

      See Also:
    • builder

      @Stability(Experimental) static BuildProps.Builder builder()
      Returns:
      a BuildProps.Builder of BuildProps