Struct aws_sdk_comprehend::types::DataSecurityConfig
source · #[non_exhaustive]pub struct DataSecurityConfig {
pub model_kms_key_id: Option<String>,
pub volume_kms_key_id: Option<String>,
pub data_lake_kms_key_id: Option<String>,
pub vpc_config: Option<VpcConfig>,
}Expand description
Data security configuration.
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.model_kms_key_id: Option<String>ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:
-
KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab" -
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
volume_kms_key_id: Option<String>ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
data_lake_kms_key_id: Option<String>ID for the KMS key that Amazon Comprehend uses to encrypt the data in the data lake.
vpc_config: Option<VpcConfig>Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job. For more information, see Amazon VPC.
Implementations§
source§impl DataSecurityConfig
impl DataSecurityConfig
sourcepub fn model_kms_key_id(&self) -> Option<&str>
pub fn model_kms_key_id(&self) -> Option<&str>
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:
-
KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab" -
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
sourcepub fn volume_kms_key_id(&self) -> Option<&str>
pub fn volume_kms_key_id(&self) -> Option<&str>
ID for the KMS key that Amazon Comprehend uses to encrypt the volume.
sourcepub fn data_lake_kms_key_id(&self) -> Option<&str>
pub fn data_lake_kms_key_id(&self) -> Option<&str>
ID for the KMS key that Amazon Comprehend uses to encrypt the data in the data lake.
sourcepub fn vpc_config(&self) -> Option<&VpcConfig>
pub fn vpc_config(&self) -> Option<&VpcConfig>
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job. For more information, see Amazon VPC.
source§impl DataSecurityConfig
impl DataSecurityConfig
sourcepub fn builder() -> DataSecurityConfigBuilder
pub fn builder() -> DataSecurityConfigBuilder
Creates a new builder-style object to manufacture DataSecurityConfig.
Trait Implementations§
source§impl Clone for DataSecurityConfig
impl Clone for DataSecurityConfig
source§fn clone(&self) -> DataSecurityConfig
fn clone(&self) -> DataSecurityConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DataSecurityConfig
impl Debug for DataSecurityConfig
source§impl PartialEq for DataSecurityConfig
impl PartialEq for DataSecurityConfig
source§fn eq(&self, other: &DataSecurityConfig) -> bool
fn eq(&self, other: &DataSecurityConfig) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DataSecurityConfig
Auto Trait Implementations§
impl Freeze for DataSecurityConfig
impl RefUnwindSafe for DataSecurityConfig
impl Send for DataSecurityConfig
impl Sync for DataSecurityConfig
impl Unpin for DataSecurityConfig
impl UnwindSafe for DataSecurityConfig
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> 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