You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::GameLift::Types::S3Location

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing S3Location as input to an Aws::Client method, you can use a vanilla Hash:

{
  bucket: "NonEmptyString",
  key: "NonEmptyString",
  role_arn: "NonEmptyString",
  object_version: "NonEmptyString",
}

The location in S3 where build or script files are stored for access by Amazon GameLift. This location is specified in CreateBuild, CreateScript, and UpdateScript requests.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

An S3 bucket identifier. This is the name of the S3 bucket.

GameLift currently does not support uploading from S3 buckets with names that contain a dot (.).

Returns:

  • (String)

    An S3 bucket identifier.

#keyString

The name of the zip file that contains the build files or script files.

Returns:

  • (String)

    The name of the zip file that contains the build files or script files.

#object_versionString

The version of the file, if object versioning is turned on for the bucket. Amazon GameLift uses this information when retrieving files from an S3 bucket that you own. Use this parameter to specify a specific version of the file. If not set, the latest version of the file is retrieved.

Returns:

  • (String)

    The version of the file, if object versioning is turned on for the bucket.

#role_arnString

The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access the S3 bucket.

Returns:

  • (String)

    The Amazon Resource Name ([ARN][1]) for an IAM role that allows Amazon GameLift to access the S3 bucket.