Skip to content

LogConfiguration

Source code in docs_src/capo_gamelift/types/log_configuration.py
class LogConfiguration(TypedDict, closed=True):
    log_destination: NotRequired["capo_gamelift.types.log_destination.LogDestination"]
    """<p>The type of log collection to use for a fleet.</p> <ul> <li> <p> <code>CLOUDWATCH</code> -- (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. </p> </li> <li> <p> <code>S3</code> -- Store logs in an Amazon S3 bucket that you define. This bucket must reside in the fleet's home Amazon Web Services Region.</p> </li> <li> <p> <code>NONE</code> -- Don't collect container logs.</p> </li> </ul>"""
    s3_bucket_name: NotRequired["capo_gamelift.types.non_empty_string.NonEmptyString"]
    """<p>If log destination is <code>S3</code>, logs are sent to the specified Amazon S3 bucket name.</p>"""
    log_group_arn: NotRequired[
        "capo_gamelift.types.log_group_arn_string_model.LogGroupArnStringModel"
    ]
    """<p>If log destination is <code>CLOUDWATCH</code>, logs are sent to the specified log group in Amazon CloudWatch.</p>"""

log_destination instance-attribute

log_destination: NotRequired[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.

log_group_arn instance-attribute

log_group_arn: NotRequired[LogGroupArnStringModel]

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

s3_bucket_name instance-attribute

s3_bucket_name: NotRequired[NonEmptyString]

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