Skip to content

AccessLog

Source code in docs_src/capo_elastic_load_balancing/types/access_log.py
class AccessLog(TypedDict, closed=True):
    enabled: "capo_elastic_load_balancing.types.access_log_enabled.AccessLogEnabled"
    """<p>Specifies whether access logs are enabled for the load balancer.</p>"""
    s3_bucket_name: NotRequired[
        "capo_elastic_load_balancing.types.s3_bucket_name.S3BucketName"
    ]
    """<p>The name of the Amazon S3 bucket where the access logs are stored.</p>"""
    emit_interval: NotRequired[
        "capo_elastic_load_balancing.types.access_log_interval.AccessLogInterval"
    ]
    """<p>The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.</p> <p>Default: 60 minutes</p>"""
    s3_bucket_prefix: NotRequired[
        "capo_elastic_load_balancing.types.access_log_prefix.AccessLogPrefix"
    ]
    """<p>The logical hierarchy you created for your Amazon S3 bucket, for example <code>my-bucket-prefix/prod</code>. If the prefix is not provided, the log is placed at the root level of the bucket.</p>"""

emit_interval instance-attribute

emit_interval: NotRequired[AccessLogInterval]

The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.

Default: 60 minutes

enabled instance-attribute

Specifies whether access logs are enabled for the load balancer.

s3_bucket_name instance-attribute

s3_bucket_name: NotRequired[S3BucketName]

The name of the Amazon S3 bucket where the access logs are stored.

s3_bucket_prefix instance-attribute

s3_bucket_prefix: NotRequired[AccessLogPrefix]

The logical hierarchy you created for your Amazon S3 bucket, for example my-bucket-prefix/prod. If the prefix is not provided, the log is placed at the root level of the bucket.