AWS::GameLift::ContainerFleet LogConfiguration
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:
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "LogDestination" :
String
, "S3BucketName" :String
}
YAML
LogDestination:
String
S3BucketName:String
Properties
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 Region. -
NONE
-- Don't collect container logs.
Required: No
Type: String
Allowed values:
NONE | CLOUDWATCH | S3
Update requires: No interruption
-
S3BucketName
-
If log destination is
S3
, logs are sent to the specified Amazon S3 bucket name.Required: No
Type: String
Minimum:
1
Maximum:
1024
Update requires: No interruption