#[non_exhaustive]pub struct CustomRoutingAcceleratorAttributes { /* private fields */ }Expand description
Attributes of a custom routing accelerator.
Implementations
sourceimpl CustomRoutingAcceleratorAttributes
impl CustomRoutingAcceleratorAttributes
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 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:
DOC-EXAMPLE-BUCKET//AWSLogs/aws_account_id
sourceimpl CustomRoutingAcceleratorAttributes
impl CustomRoutingAcceleratorAttributes
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CustomRoutingAcceleratorAttributes.
Trait Implementations
sourceimpl Clone for CustomRoutingAcceleratorAttributes
impl Clone for CustomRoutingAcceleratorAttributes
sourcefn clone(&self) -> CustomRoutingAcceleratorAttributes
fn clone(&self) -> CustomRoutingAcceleratorAttributes
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more