Skip to content

/AWS1/CL_GMLAWSCREDENTIALS

Amazon Web Services account security credentials that allow interactions with Amazon GameLift resources. The credentials are temporary and valid for a limited time span. You can request fresh credentials at any time.

Amazon Web Services security credentials consist of three parts: an access key ID, a secret access key, and a session token. You must use all three parts together to authenticate your access requests.

You need Amazon Web Services credentials for the following tasks:

  • To upload a game server build directly to Amazon GameLift S3 storage using CreateBuild. To get access for this task, call RequestUploadCredentials.

  • To remotely connect to an active Amazon GameLift fleet instances. To get remote access, call GetComputeAccess.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_ACCESSKEYID TYPE /AWS1/GMLNONEMPTYSTRING /AWS1/GMLNONEMPTYSTRING

The access key ID that identifies the temporary security credentials.

IV_SECRETACCESSKEY TYPE /AWS1/GMLNONEMPTYSTRING /AWS1/GMLNONEMPTYSTRING

The secret access key that can be used to sign requests.

IV_SESSIONTOKEN TYPE /AWS1/GMLNONEMPTYSTRING /AWS1/GMLNONEMPTYSTRING

The token that users must pass to the service API to use the temporary credentials.


Queryable Attributes

AccessKeyId

The access key ID that identifies the temporary security credentials.

Accessible with the following methods

Method Description
GET_ACCESSKEYID() Getter for ACCESSKEYID, with configurable default
ASK_ACCESSKEYID() Getter for ACCESSKEYID w/ exceptions if field has no value
HAS_ACCESSKEYID() Determine if ACCESSKEYID has a value

SecretAccessKey

The secret access key that can be used to sign requests.

Accessible with the following methods

Method Description
GET_SECRETACCESSKEY() Getter for SECRETACCESSKEY, with configurable default
ASK_SECRETACCESSKEY() Getter for SECRETACCESSKEY w/ exceptions if field has no val
HAS_SECRETACCESSKEY() Determine if SECRETACCESSKEY has a value

SessionToken

The token that users must pass to the service API to use the temporary credentials.

Accessible with the following methods

Method Description
GET_SESSIONTOKEN() Getter for SESSIONTOKEN, with configurable default
ASK_SESSIONTOKEN() Getter for SESSIONTOKEN w/ exceptions if field has no value
HAS_SESSIONTOKEN() Determine if SESSIONTOKEN has a value