Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AcceleratorAttributes = AcceleratorAttributes' {}
- newAcceleratorAttributes :: AcceleratorAttributes
- acceleratorAttributes_flowLogsS3Prefix :: Lens' AcceleratorAttributes (Maybe Text)
- acceleratorAttributes_flowLogsEnabled :: Lens' AcceleratorAttributes (Maybe Bool)
- acceleratorAttributes_flowLogsS3Bucket :: Lens' AcceleratorAttributes (Maybe Text)
Documentation
data AcceleratorAttributes Source #
Attributes of an accelerator.
See: newAcceleratorAttributes
smart constructor.
AcceleratorAttributes' | |
|
Instances
newAcceleratorAttributes :: AcceleratorAttributes Source #
Create a value of AcceleratorAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:flowLogsS3Prefix:AcceleratorAttributes'
, acceleratorAttributes_flowLogsS3Prefix
- The prefix for the location in the Amazon S3 bucket for the flow logs.
Attribute is required if FlowLogsEnabled
is true
.
If you don’t specify a prefix, the flow logs are stored in the root of the bucket. 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
$sel:flowLogsEnabled:AcceleratorAttributes'
, acceleratorAttributes_flowLogsEnabled
- 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 AWS Global Accelerator Developer Guide.
$sel:flowLogsS3Bucket:AcceleratorAttributes'
, acceleratorAttributes_flowLogsS3Bucket
- 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 AWS Global Accelerator permission to write
to the bucket.
acceleratorAttributes_flowLogsS3Prefix :: Lens' AcceleratorAttributes (Maybe Text) Source #
The prefix for the location in the Amazon S3 bucket for the flow logs.
Attribute is required if FlowLogsEnabled
is true
.
If you don’t specify a prefix, the flow logs are stored in the root of the bucket. 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
acceleratorAttributes_flowLogsEnabled :: Lens' AcceleratorAttributes (Maybe Bool) Source #
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 AWS Global Accelerator Developer Guide.
acceleratorAttributes_flowLogsS3Bucket :: Lens' AcceleratorAttributes (Maybe Text) Source #
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 AWS Global Accelerator permission to write
to the bucket.