Struct aws_sdk_globalaccelerator::model::CustomRoutingAcceleratorAttributes [−][src]
#[non_exhaustive]pub struct CustomRoutingAcceleratorAttributes {
pub flow_logs_enabled: Option<bool>,
pub flow_logs_s3_bucket: Option<String>,
pub flow_logs_s3_prefix: Option<String>,
}
Expand description
Attributes of a custom routing accelerator.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.flow_logs_enabled: 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 AWS Global Accelerator Developer Guide.
flow_logs_s3_bucket: Option<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 AWS Global Accelerator permission to write to the
bucket.
flow_logs_s3_prefix: Option<String>
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
Implementations
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.
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.
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
Creates a new builder-style object to manufacture CustomRoutingAcceleratorAttributes
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for CustomRoutingAcceleratorAttributes
impl Sync for CustomRoutingAcceleratorAttributes
impl Unpin for CustomRoutingAcceleratorAttributes
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more