#[non_exhaustive]pub struct OnlineStoreSecurityConfig {
pub kms_key_id: Option<String>,
}
Expand description
The security configuration for OnlineStore
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.kms_key_id: Option<String>
The Amazon Web Services Key Management Service (KMS) key ARN that SageMaker Feature Store uses to encrypt the Amazon S3 objects at rest using Amazon S3 server-side encryption.
The caller (either user or IAM role) of CreateFeatureGroup
must have below permissions to the OnlineStore
KmsKeyId
:
-
"kms:Encrypt"
-
"kms:Decrypt"
-
"kms:DescribeKey"
-
"kms:CreateGrant"
-
"kms:RetireGrant"
-
"kms:ReEncryptFrom"
-
"kms:ReEncryptTo"
-
"kms:GenerateDataKey"
-
"kms:ListAliases"
-
"kms:ListGrants"
-
"kms:RevokeGrant"
The caller (either user or IAM role) to all DataPlane operations (PutRecord
, GetRecord
, DeleteRecord
) must have the following permissions to the KmsKeyId
:
-
"kms:Decrypt"
Implementations§
source§impl OnlineStoreSecurityConfig
impl OnlineStoreSecurityConfig
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The Amazon Web Services Key Management Service (KMS) key ARN that SageMaker Feature Store uses to encrypt the Amazon S3 objects at rest using Amazon S3 server-side encryption.
The caller (either user or IAM role) of CreateFeatureGroup
must have below permissions to the OnlineStore
KmsKeyId
:
-
"kms:Encrypt"
-
"kms:Decrypt"
-
"kms:DescribeKey"
-
"kms:CreateGrant"
-
"kms:RetireGrant"
-
"kms:ReEncryptFrom"
-
"kms:ReEncryptTo"
-
"kms:GenerateDataKey"
-
"kms:ListAliases"
-
"kms:ListGrants"
-
"kms:RevokeGrant"
The caller (either user or IAM role) to all DataPlane operations (PutRecord
, GetRecord
, DeleteRecord
) must have the following permissions to the KmsKeyId
:
-
"kms:Decrypt"
source§impl OnlineStoreSecurityConfig
impl OnlineStoreSecurityConfig
sourcepub fn builder() -> OnlineStoreSecurityConfigBuilder
pub fn builder() -> OnlineStoreSecurityConfigBuilder
Creates a new builder-style object to manufacture OnlineStoreSecurityConfig
.
Trait Implementations§
source§impl Clone for OnlineStoreSecurityConfig
impl Clone for OnlineStoreSecurityConfig
source§fn clone(&self) -> OnlineStoreSecurityConfig
fn clone(&self) -> OnlineStoreSecurityConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OnlineStoreSecurityConfig
impl Debug for OnlineStoreSecurityConfig
impl StructuralPartialEq for OnlineStoreSecurityConfig
Auto Trait Implementations§
impl Freeze for OnlineStoreSecurityConfig
impl RefUnwindSafe for OnlineStoreSecurityConfig
impl Send for OnlineStoreSecurityConfig
impl Sync for OnlineStoreSecurityConfig
impl Unpin for OnlineStoreSecurityConfig
impl UnwindSafe for OnlineStoreSecurityConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more