amazonka-globalaccelerator-2.0: Amazon Global Accelerator SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.GlobalAccelerator.Types.AcceleratorAttributes

Description

 
Synopsis

Documentation

data AcceleratorAttributes Source #

Attributes of an accelerator.

See: newAcceleratorAttributes smart constructor.

Constructors

AcceleratorAttributes' 

Fields

  • flowLogsEnabled :: Maybe Bool

    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.

  • flowLogsS3Bucket :: Maybe Text

    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.

  • flowLogsS3Prefix :: Maybe Text

    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

Instances

Instances details
FromJSON AcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.AcceleratorAttributes

Generic AcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.AcceleratorAttributes

Associated Types

type Rep AcceleratorAttributes :: Type -> Type #

Read AcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.AcceleratorAttributes

Show AcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.AcceleratorAttributes

NFData AcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.AcceleratorAttributes

Methods

rnf :: AcceleratorAttributes -> () #

Eq AcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.AcceleratorAttributes

Hashable AcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.AcceleratorAttributes

type Rep AcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.AcceleratorAttributes

type Rep AcceleratorAttributes = D1 ('MetaData "AcceleratorAttributes" "Amazonka.GlobalAccelerator.Types.AcceleratorAttributes" "amazonka-globalaccelerator-2.0-5CEURNOKFgU1mORtBGQfFs" 'False) (C1 ('MetaCons "AcceleratorAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "flowLogsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "flowLogsS3Bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "flowLogsS3Prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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