java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:17.612Z") @Stability(Stable) public class CfnBuild extends CfnResource implements IInspectable
The AWS::GameLift::Build resource creates a game server build that is installed and run on instances in an Amazon GameLift fleet.

This resource points to an Amazon S3 location that contains a zip file with all of the components of the game server build.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.gamelift.*;
 CfnBuild cfnBuild = CfnBuild.Builder.create(this, "MyCfnBuild")
         .name("name")
         .operatingSystem("operatingSystem")
         .serverSdkVersion("serverSdkVersion")
         .storageLocation(StorageLocationProperty.builder()
                 .bucket("bucket")
                 .key("key")
                 .roleArn("roleArn")
                 // the properties below are optional
                 .objectVersion("objectVersion")
                 .build())
         .version("version")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnBuild

      protected CfnBuild(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnBuild

      protected CfnBuild(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnBuild

      @Stability(Stable) public CfnBuild(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnBuildProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnBuild

      @Stability(Stable) public CfnBuild(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrBuildId

      @Stability(Stable) @NotNull public String getAttrBuildId()
      A unique identifier for the build.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getName

      @Stability(Stable) @Nullable public String getName()
      A descriptive label that is associated with a build.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      A descriptive label that is associated with a build.
    • getOperatingSystem

      @Stability(Stable) @Nullable public String getOperatingSystem()
      The operating system that your game server binaries run on.
    • setOperatingSystem

      @Stability(Stable) public void setOperatingSystem(@Nullable String value)
      The operating system that your game server binaries run on.
    • getServerSdkVersion

      @Stability(Stable) @Nullable public String getServerSdkVersion()
      A server SDK version you used when integrating your game server build with Amazon GameLift.
    • setServerSdkVersion

      @Stability(Stable) public void setServerSdkVersion(@Nullable String value)
      A server SDK version you used when integrating your game server build with Amazon GameLift.
    • getStorageLocation

      @Stability(Stable) @Nullable public Object getStorageLocation()
      Information indicating where your game build files are stored.
    • setStorageLocation

      @Stability(Stable) public void setStorageLocation(@Nullable IResolvable value)
      Information indicating where your game build files are stored.
    • setStorageLocation

      @Stability(Stable) public void setStorageLocation(@Nullable CfnBuild.StorageLocationProperty value)
      Information indicating where your game build files are stored.
    • getVersion

      @Stability(Stable) @Nullable public String getVersion()
      Version information that is associated with this build.
    • setVersion

      @Stability(Stable) public void setVersion(@Nullable String value)
      Version information that is associated with this build.