LogConfiguration - Amazon GameLift

LogConfiguration

A method for collecting container logs for the fleet. Amazon GameLift saves all standard output for each container in logs, including game session logs. You can select from the following methods:

Contents

Note

In the following list, the required parameters are described first.

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.

  • NONE -- Don't collect container logs.

Type: String

Valid Values: NONE | CLOUDWATCH | S3

Required: No

LogGroupArn

If log destination is CLOUDWATCH, logs are sent to the specified log group in Amazon CloudWatch.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 512.

Pattern: [a-zA-Z0-9:/\-\*]+

Required: No

S3BucketName

If log destination is S3, logs are sent to the specified Amazon S3 bucket name.

Type: String

Length Constraints: Minimum length of 1.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: