Interface IBuildProps
(experimental) Properties for a new build.
Namespace: Amazon.CDK.AWS.GameLift.Alpha
Assembly: Amazon.CDK.AWS.GameLift.Alpha.dll
Syntax (csharp)
public interface IBuildProps
Syntax (vb)
Public Interface IBuildProps
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Bucket bucket;
var build = new Build(this, "Build", new BuildProps {
Content = Content.FromBucket(bucket, "sample-asset-key")
});
new CfnOutput(this, "BuildArn", new CfnOutputProps { Value = build.BuildArn });
new CfnOutput(this, "BuildId", new CfnOutputProps { Value = build.BuildId });
Synopsis
Properties
BuildName | (experimental) Name of this build. |
BuildVersion | (experimental) Version of this build. |
Content | (experimental) The game build file storage. |
OperatingSystem | (experimental) The operating system that the game server binaries are built to run on. |
Role | (experimental) The IAM role assumed by GameLift to access server build in S3. |
ServerSdkVersion | (experimental) A server SDK version you used when integrating your game server build with Amazon GameLift. |
Properties
BuildName
(experimental) Name of this build.
virtual string BuildName { get; }
Property Value
System.String
Remarks
Default: No name
Stability: Experimental
BuildVersion
(experimental) Version of this build.
virtual string BuildVersion { get; }
Property Value
System.String
Remarks
Default: No version
Stability: Experimental
Content
(experimental) The game build file storage.
Content Content { get; }
Property Value
Remarks
Stability: Experimental
OperatingSystem
(experimental) The operating system that the game server binaries are built to run on.
virtual Nullable<OperatingSystem> OperatingSystem { get; }
Property Value
System.Nullable<OperatingSystem>
Remarks
Default: No version
Stability: Experimental
Role
(experimental) The IAM role assumed by GameLift to access server build in S3.
virtual IRole Role { get; }
Property Value
Remarks
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.
Stability: Experimental
ServerSdkVersion
(experimental) A server SDK version you used when integrating your game server build with Amazon GameLift.
virtual string ServerSdkVersion { get; }
Property Value
System.String
Remarks
Default: - 4.0.2
Stability: Experimental
See: https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-custom-intro.html