pub struct LoggingS3Additional {
pub access_key: Option<String>,
pub acl: Option<String>,
pub bucket_name: Option<String>,
pub domain: Option<String>,
pub iam_role: Option<String>,
pub path: Option<String>,
pub public_key: Option<String>,
pub redundancy: Option<String>,
pub secret_key: Option<String>,
pub server_side_encryption_kms_key_id: Option<String>,
pub server_side_encryption: Option<String>,
pub file_max_bytes: Option<i32>,
}
Fields§
§access_key: Option<String>
The access key for your S3 account. Not required if iam_role
is provided.
acl: Option<String>
The access control list (ACL) specific request header. See the AWS documentation for Access Control List (ACL) Specific Request Headers for more information.
bucket_name: Option<String>
The bucket name for S3 account.
domain: Option<String>
The domain of the Amazon S3 endpoint.
iam_role: Option<String>
The Amazon Resource Name (ARN) for the IAM role granting Fastly access to S3. Not required if access_key
and secret_key
are provided.
path: Option<String>
The path to upload logs to.
public_key: Option<String>
A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
redundancy: Option<String>
The S3 redundancy level.
secret_key: Option<String>
The secret key for your S3 account. Not required if iam_role
is provided.
server_side_encryption_kms_key_id: Option<String>
Optional server-side KMS Key Id. Must be set if server_side_encryption
is set to aws:kms
or AES256
.
server_side_encryption: Option<String>
Set this to AES256
or aws:kms
to enable S3 Server Side Encryption.
file_max_bytes: Option<i32>
The maximum number of bytes for each uploaded file. A value of 0 can be used to indicate there is no limit on the size of uploaded files, otherwise the minimum value is 1048576 bytes (1 MiB.)
Implementations§
Source§impl LoggingS3Additional
impl LoggingS3Additional
pub fn new() -> LoggingS3Additional
Trait Implementations§
Source§impl Clone for LoggingS3Additional
impl Clone for LoggingS3Additional
Source§fn clone(&self) -> LoggingS3Additional
fn clone(&self) -> LoggingS3Additional
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more