libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.GlobalAccelerator.Types.AcceleratorAttributes

Description

 
Synopsis

Documentation

data AcceleratorAttributes Source #

Attributes of an accelerator.

See: newAcceleratorAttributes smart constructor.

Constructors

AcceleratorAttributes' 

Fields

  • 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 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

  • 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 AWS 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 AWS Global Accelerator permission to write to the bucket.

Instances

Instances details
Eq AcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.AcceleratorAttributes

Read AcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.AcceleratorAttributes

Show 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 #

NFData AcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.AcceleratorAttributes

Methods

rnf :: AcceleratorAttributes -> () #

Hashable AcceleratorAttributes Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.AcceleratorAttributes

FromJSON 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" "libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator" 'False) (C1 ('MetaCons "AcceleratorAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "flowLogsS3Prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "flowLogsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "flowLogsS3Bucket") '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: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.