#[non_exhaustive]pub struct LabelingJobResourceConfig { /* private fields */ }
Expand description
Configure encryption on the storage volume attached to the ML compute instance used to run automated data labeling model training and inference.
Implementations§
source§impl LabelingJobResourceConfig
impl LabelingJobResourceConfig
sourcepub fn volume_kms_key_id(&self) -> Option<&str>
pub fn volume_kms_key_id(&self) -> Option<&str>
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training and inference jobs used for automated data labeling.
You can only specify a VolumeKmsKeyId
when you create a labeling job with automated data labeling enabled using the API operation CreateLabelingJob
. You cannot specify an Amazon Web Services KMS key to encrypt the storage volume used for automated data labeling model training and inference when you create a labeling job using the console. To learn more, see Output Data and Storage Volume Encryption.
The VolumeKmsKeyId
can be any 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 vpc_config(&self) -> Option<&VpcConfig>
pub fn vpc_config(&self) -> Option<&VpcConfig>
Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud and Protect Training Jobs by Using an Amazon Virtual Private Cloud.
source§impl LabelingJobResourceConfig
impl LabelingJobResourceConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LabelingJobResourceConfig
.
Trait Implementations§
source§impl Clone for LabelingJobResourceConfig
impl Clone for LabelingJobResourceConfig
source§fn clone(&self) -> LabelingJobResourceConfig
fn clone(&self) -> LabelingJobResourceConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LabelingJobResourceConfig
impl Debug for LabelingJobResourceConfig
source§impl PartialEq<LabelingJobResourceConfig> for LabelingJobResourceConfig
impl PartialEq<LabelingJobResourceConfig> for LabelingJobResourceConfig
source§fn eq(&self, other: &LabelingJobResourceConfig) -> bool
fn eq(&self, other: &LabelingJobResourceConfig) -> bool
self
and other
values to be equal, and is used
by ==
.