Skip to content

AcceleratorAttributes

Source code in docs_src/capo_global_accelerator/types/accelerator_attributes.py
class AcceleratorAttributes(TypedDict, closed=True):
    flow_logs_enabled: NotRequired[
        "capo_global_accelerator.types.generic_boolean.GenericBoolean"
    ]
    """<p>Indicates whether flow logs are enabled. The default value is false. If the value is true, <code>FlowLogsS3Bucket</code> and <code>FlowLogsS3Prefix</code> must be specified.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/monitoring-global-accelerator.flow-logs.html">Flow logs</a> in the <i>Global Accelerator Developer Guide</i>.</p>"""
    flow_logs_s3_bucket: NotRequired[
        "capo_global_accelerator.types.generic_string.GenericString"
    ]
    """<p>The name of the Amazon S3 bucket for the flow logs. Attribute is required if <code>FlowLogsEnabled</code> is <code>true</code>. The bucket must exist and have a bucket policy that grants Global Accelerator permission to write to the bucket.</p>"""
    flow_logs_s3_prefix: NotRequired[
        "capo_global_accelerator.types.generic_string.GenericString"
    ]
    """<p>The prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if <code>FlowLogsEnabled</code> is <code>true</code>.</p> <p>If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:</p> <p>s3-bucket_name//AWSLogs/aws_account_id</p>"""

flow_logs_enabled instance-attribute

flow_logs_enabled: NotRequired[GenericBoolean]

Indicates whether flow logs are enabled. The default value is false. If the value is true, FlowLogsS3Bucket and FlowLogsS3Prefix must be specified.

For more information, see Flow logs in the Global Accelerator Developer Guide.

flow_logs_s3_bucket instance-attribute

flow_logs_s3_bucket: NotRequired[GenericString]

The name of the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true. The bucket must exist and have a bucket policy that grants Global Accelerator permission to write to the bucket.

flow_logs_s3_prefix instance-attribute

flow_logs_s3_prefix: NotRequired[GenericString]

The prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true.

If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:

s3-bucket_name//AWSLogs/aws_account_id