Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data AcceleratorAttributes = AcceleratorAttributes' {}
- newAcceleratorAttributes :: AcceleratorAttributes
- acceleratorAttributes_flowLogsEnabled :: Lens' AcceleratorAttributes (Maybe Bool)
- acceleratorAttributes_flowLogsS3Bucket :: Lens' AcceleratorAttributes (Maybe Text)
- acceleratorAttributes_flowLogsS3Prefix :: 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: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 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 Global Accelerator permission to write to
the bucket.
$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 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 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 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 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