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 ==
.