Struct rusoto_s3::ServerSideEncryptionRule [−][src]
pub struct ServerSideEncryptionRule {
pub apply_server_side_encryption_by_default: Option<ServerSideEncryptionByDefault>,
pub bucket_key_enabled: Option<bool>,
}Expand description
Specifies the default server-side encryption configuration.
Fields
apply_server_side_encryption_by_default: Option<ServerSideEncryptionByDefault>Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.
bucket_key_enabled: Option<bool>Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Setting the BucketKeyEnabled element to true causes Amazon S3 to use an S3 Bucket Key. By default, S3 Bucket Key is not enabled.
For more information, see Amazon S3 Bucket Keys in the Amazon S3 User Guide.
Trait Implementations
Returns the “default value” for a type. Read more
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 RefUnwindSafe for ServerSideEncryptionRule
impl Send for ServerSideEncryptionRule
impl Sync for ServerSideEncryptionRule
impl Unpin for ServerSideEncryptionRule
impl UnwindSafe for ServerSideEncryptionRule
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