#[non_exhaustive]pub struct AcceleratorAttributes { /* private fields */ }Expand description
Attributes of an accelerator.
Implementations
sourceimpl AcceleratorAttributes
impl AcceleratorAttributes
sourcepub fn flow_logs_enabled(&self) -> Option<bool>
pub fn flow_logs_enabled(&self) -> Option<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.
sourcepub fn flow_logs_s3_bucket(&self) -> Option<&str>
pub fn flow_logs_s3_bucket(&self) -> Option<&str>
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.
sourcepub fn flow_logs_s3_prefix(&self) -> Option<&str>
pub fn flow_logs_s3_prefix(&self) -> Option<&str>
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
sourceimpl AcceleratorAttributes
impl AcceleratorAttributes
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AcceleratorAttributes.
Trait Implementations
sourceimpl Clone for AcceleratorAttributes
impl Clone for AcceleratorAttributes
sourcefn clone(&self) -> AcceleratorAttributes
fn clone(&self) -> AcceleratorAttributes
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more