pub struct UpdateAcceleratorAttributesRequest {
pub accelerator_arn: String,
pub flow_logs_enabled: Option<bool>,
pub flow_logs_s3_bucket: Option<String>,
pub flow_logs_s3_prefix: Option<String>,
}
Fields§
§accelerator_arn: String
The Amazon Resource Name (ARN) of the accelerator that you want to update.
flow_logs_enabled: Option<bool>
Update 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>
Update 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
Trait Implementations§
Source§impl Clone for UpdateAcceleratorAttributesRequest
impl Clone for UpdateAcceleratorAttributesRequest
Source§fn clone(&self) -> UpdateAcceleratorAttributesRequest
fn clone(&self) -> UpdateAcceleratorAttributesRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for UpdateAcceleratorAttributesRequest
impl Default for UpdateAcceleratorAttributesRequest
Source§fn default() -> UpdateAcceleratorAttributesRequest
fn default() -> UpdateAcceleratorAttributesRequest
Source§impl PartialEq for UpdateAcceleratorAttributesRequest
impl PartialEq for UpdateAcceleratorAttributesRequest
Source§fn eq(&self, other: &UpdateAcceleratorAttributesRequest) -> bool
fn eq(&self, other: &UpdateAcceleratorAttributesRequest) -> bool
self
and other
values to be equal, and is used by ==
.