Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::GameLift::Types::LogConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb

Overview

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:

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#log_destinationString

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.

Returns:

  • (String)

8644
8645
8646
8647
8648
8649
8650
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 8644

class LogConfiguration < Struct.new(
  :log_destination,
  :s3_bucket_name,
  :log_group_arn)
  SENSITIVE = []
  include Aws::Structure
end

#log_group_arnString

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

Returns:

  • (String)

8644
8645
8646
8647
8648
8649
8650
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 8644

class LogConfiguration < Struct.new(
  :log_destination,
  :s3_bucket_name,
  :log_group_arn)
  SENSITIVE = []
  include Aws::Structure
end

#s3_bucket_nameString

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

Returns:

  • (String)

8644
8645
8646
8647
8648
8649
8650
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 8644

class LogConfiguration < Struct.new(
  :log_destination,
  :s3_bucket_name,
  :log_group_arn)
  SENSITIVE = []
  include Aws::Structure
end