/AWS1/CL_GMLLOGCONFIGURATION¶
A method for collecting container logs for the fleet. Amazon GameLift Servers saves all standard output for each container in logs, including game session logs. You can select from the following methods:
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_logdestination
TYPE /AWS1/GMLLOGDESTINATION
/AWS1/GMLLOGDESTINATION
¶
The type of log collection to use for a fleet.
CLOUDWATCH
-- (default value) Send logs to an Amazon CloudWatch log group that you define. Each container emits a log stream, which is organized in the log group.
S3
-- Store logs in an Amazon S3 bucket that you define. This bucket must reside in the fleet's home Amazon Web Services Region.
NONE
-- Don't collect container logs.
iv_s3bucketname
TYPE /AWS1/GMLNONEMPTYSTRING
/AWS1/GMLNONEMPTYSTRING
¶
If log destination is
S3
, logs are sent to the specified Amazon S3 bucket name.
iv_loggrouparn
TYPE /AWS1/GMLLOGGROUPARNSTRMODEL
/AWS1/GMLLOGGROUPARNSTRMODEL
¶
If log destination is
CLOUDWATCH
, logs are sent to the specified log group in Amazon CloudWatch.
Queryable Attributes¶
LogDestination¶
The type of log collection to use for a fleet.
CLOUDWATCH
-- (default value) Send logs to an Amazon CloudWatch log group that you define. Each container emits a log stream, which is organized in the log group.
S3
-- Store logs in an Amazon S3 bucket that you define. This bucket must reside in the fleet's home Amazon Web Services Region.
NONE
-- Don't collect container logs.
Accessible with the following methods¶
Method | Description |
---|---|
GET_LOGDESTINATION() |
Getter for LOGDESTINATION, with configurable default |
ASK_LOGDESTINATION() |
Getter for LOGDESTINATION w/ exceptions if field has no valu |
HAS_LOGDESTINATION() |
Determine if LOGDESTINATION has a value |
S3BucketName¶
If log destination is
S3
, logs are sent to the specified Amazon S3 bucket name.
Accessible with the following methods¶
Method | Description |
---|---|
GET_S3BUCKETNAME() |
Getter for S3BUCKETNAME, with configurable default |
ASK_S3BUCKETNAME() |
Getter for S3BUCKETNAME w/ exceptions if field has no value |
HAS_S3BUCKETNAME() |
Determine if S3BUCKETNAME has a value |
LogGroupArn¶
If log destination is
CLOUDWATCH
, logs are sent to the specified log group in Amazon CloudWatch.
Accessible with the following methods¶
Method | Description |
---|---|
GET_LOGGROUPARN() |
Getter for LOGGROUPARN, with configurable default |
ASK_LOGGROUPARN() |
Getter for LOGGROUPARN w/ exceptions if field has no value |
HAS_LOGGROUPARN() |
Determine if LOGGROUPARN has a value |