Class: Aws::GlobalAccelerator::Types::AcceleratorAttributes
- Inherits:
-
Struct
- Object
- Struct
- Aws::GlobalAccelerator::Types::AcceleratorAttributes
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-globalaccelerator/types.rb
Overview
Attributes of an accelerator.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#flow_logs_enabled ⇒ Boolean
Indicates whether flow logs are enabled.
-
#flow_logs_s3_bucket ⇒ String
The name of the Amazon S3 bucket for the flow logs.
-
#flow_logs_s3_prefix ⇒ String
The prefix for the location in the Amazon S3 bucket for the flow logs.
Instance Attribute Details
#flow_logs_enabled ⇒ Boolean
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*.
[1]: docs.aws.amazon.com/global-accelerator/latest/dg/monitoring-global-accelerator.flow-logs.html
159 160 161 162 163 164 165 |
# File 'lib/aws-sdk-globalaccelerator/types.rb', line 159 class AcceleratorAttributes < Struct.new( :flow_logs_enabled, :flow_logs_s3_bucket, :flow_logs_s3_prefix) SENSITIVE = [] include Aws::Structure end |
#flow_logs_s3_bucket ⇒ String
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.
159 160 161 162 163 164 165 |
# File 'lib/aws-sdk-globalaccelerator/types.rb', line 159 class AcceleratorAttributes < Struct.new( :flow_logs_enabled, :flow_logs_s3_bucket, :flow_logs_s3_prefix) SENSITIVE = [] include Aws::Structure end |
#flow_logs_s3_prefix ⇒ String
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
159 160 161 162 163 164 165 |
# File 'lib/aws-sdk-globalaccelerator/types.rb', line 159 class AcceleratorAttributes < Struct.new( :flow_logs_enabled, :flow_logs_s3_bucket, :flow_logs_s3_prefix) SENSITIVE = [] include Aws::Structure end |