pub struct PutEncryptionConfigRequest {
pub key_id: Option<String>,
pub type_: String,
}
Fields§
§key_id: Option<String>
An AWS KMS customer master key (CMK) in one of the following formats:
-
Alias - The name of the key. For example,
alias/MyKey
. -
Key ID - The KMS key ID of the key. For example,
ae4aa6d49-a4d8-9df9-a475-4ff6d7898456
. AWS X-Ray does not support asymmetric CMKs. -
ARN - The full Amazon Resource Name of the key ID or alias. For example,
arn:aws:kms:us-east-2:123456789012:key/ae4aa6d49-a4d8-9df9-a475-4ff6d7898456
. Use this format to specify a key in a different account.
Omit this key if you set Type
to NONE
.
type_: String
The type of encryption. Set to KMS
to use your own key for encryption. Set to NONE
for default encryption.
Trait Implementations§
Source§impl Clone for PutEncryptionConfigRequest
impl Clone for PutEncryptionConfigRequest
Source§fn clone(&self) -> PutEncryptionConfigRequest
fn clone(&self) -> PutEncryptionConfigRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PutEncryptionConfigRequest
impl Debug for PutEncryptionConfigRequest
Source§impl Default for PutEncryptionConfigRequest
impl Default for PutEncryptionConfigRequest
Source§fn default() -> PutEncryptionConfigRequest
fn default() -> PutEncryptionConfigRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for PutEncryptionConfigRequest
Auto Trait Implementations§
impl Freeze for PutEncryptionConfigRequest
impl RefUnwindSafe for PutEncryptionConfigRequest
impl Send for PutEncryptionConfigRequest
impl Sync for PutEncryptionConfigRequest
impl Unpin for PutEncryptionConfigRequest
impl UnwindSafe for PutEncryptionConfigRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more