Struct rusoto_mediaconvert::S3EncryptionSettings
source · [−]pub struct S3EncryptionSettings {
pub encryption_type: Option<String>,
pub kms_key_arn: Option<String>,
}
Expand description
Settings for how your job outputs are encrypted as they are uploaded to Amazon S3.
Fields
encryption_type: Option<String>
Specify how you want your data keys managed. AWS uses data keys to encrypt your content. AWS also encrypts the data keys themselves, using a customer master key (CMK), and then stores the encrypted data keys alongside your encrypted content. Use this setting to specify which AWS service manages the CMK. For simplest set up, choose Amazon S3 (SERVERSIDEENCRYPTIONS3). If you want your master key to be managed by AWS Key Management Service (KMS), choose AWS KMS (SERVERSIDEENCRYPTIONKMS). By default, when you choose AWS KMS, KMS uses the AWS managed customer master key (CMK) associated with Amazon S3 to encrypt your data keys. You can optionally choose to specify a different, customer managed CMK. Do so by specifying the Amazon Resource Name (ARN) of the key for the setting KMS ARN (kmsKeyArn).
kms_key_arn: Option<String>
Optionally, specify the customer master key (CMK) that you want to use to encrypt the data key that AWS uses to encrypt your output content. Enter the Amazon Resource Name (ARN) of the CMK. To use this setting, you must also set Server-side encryption (S3ServerSideEncryptionType) to AWS KMS (SERVERSIDEENCRYPTION_KMS). If you set Server-side encryption to AWS KMS but don't specify a CMK here, AWS uses the AWS managed CMK associated with Amazon S3.
Trait Implementations
sourceimpl Clone for S3EncryptionSettings
impl Clone for S3EncryptionSettings
sourcefn clone(&self) -> S3EncryptionSettings
fn clone(&self) -> S3EncryptionSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for S3EncryptionSettings
impl Debug for S3EncryptionSettings
sourceimpl Default for S3EncryptionSettings
impl Default for S3EncryptionSettings
sourcefn default() -> S3EncryptionSettings
fn default() -> S3EncryptionSettings
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for S3EncryptionSettings
impl<'de> Deserialize<'de> for S3EncryptionSettings
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<S3EncryptionSettings> for S3EncryptionSettings
impl PartialEq<S3EncryptionSettings> for S3EncryptionSettings
sourcefn eq(&self, other: &S3EncryptionSettings) -> bool
fn eq(&self, other: &S3EncryptionSettings) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &S3EncryptionSettings) -> bool
fn ne(&self, other: &S3EncryptionSettings) -> bool
This method tests for !=
.
sourceimpl Serialize for S3EncryptionSettings
impl Serialize for S3EncryptionSettings
impl StructuralPartialEq for S3EncryptionSettings
Auto Trait Implementations
impl RefUnwindSafe for S3EncryptionSettings
impl Send for S3EncryptionSettings
impl Sync for S3EncryptionSettings
impl Unpin for S3EncryptionSettings
impl UnwindSafe for S3EncryptionSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more