Struct aws_sdk_sagemaker::model::edge_output_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EdgeOutputConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn s3_output_location(self, input: impl Into<String>) -> Self
pub fn s3_output_location(self, input: impl Into<String>) -> Self
The Amazon Simple Storage (S3) bucker URI.
sourcepub fn set_s3_output_location(self, input: Option<String>) -> Self
pub fn set_s3_output_location(self, input: Option<String>) -> Self
The Amazon Simple Storage (S3) bucker URI.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume after compilation job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume after compilation job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account.
sourcepub fn preset_deployment_type(self, input: EdgePresetDeploymentType) -> Self
pub fn preset_deployment_type(self, input: EdgePresetDeploymentType) -> Self
The deployment type SageMaker Edge Manager will create. Currently only supports Amazon Web Services IoT Greengrass Version 2 components.
sourcepub fn set_preset_deployment_type(
self,
input: Option<EdgePresetDeploymentType>
) -> Self
pub fn set_preset_deployment_type(
self,
input: Option<EdgePresetDeploymentType>
) -> Self
The deployment type SageMaker Edge Manager will create. Currently only supports Amazon Web Services IoT Greengrass Version 2 components.
sourcepub fn preset_deployment_config(self, input: impl Into<String>) -> Self
pub fn preset_deployment_config(self, input: impl Into<String>) -> Self
The configuration used to create deployment artifacts. Specify configuration options with a JSON string. The available configuration options for each type are:
-
ComponentName
(optional) - Name of the GreenGrass V2 component. If not specified, the default name generated consists of "SagemakerEdgeManager" and the name of your SageMaker Edge Manager packaging job. -
ComponentDescription
(optional) - Description of the component. -
ComponentVersion
(optional) - The version of the component.Amazon Web Services IoT Greengrass uses semantic versions for components. Semantic versions follow a major.minor.patch number system. For example, version 1.0.0 represents the first major release for a component. For more information, see the semantic version specification.
-
PlatformOS
(optional) - The name of the operating system for the platform. Supported platforms include Windows and Linux. -
PlatformArchitecture
(optional) - The processor architecture for the platform.Supported architectures Windows include: Windows32_x86, Windows64_x64.
Supported architectures for Linux include: Linux x86_64, Linux ARMV8.
sourcepub fn set_preset_deployment_config(self, input: Option<String>) -> Self
pub fn set_preset_deployment_config(self, input: Option<String>) -> Self
The configuration used to create deployment artifacts. Specify configuration options with a JSON string. The available configuration options for each type are:
-
ComponentName
(optional) - Name of the GreenGrass V2 component. If not specified, the default name generated consists of "SagemakerEdgeManager" and the name of your SageMaker Edge Manager packaging job. -
ComponentDescription
(optional) - Description of the component. -
ComponentVersion
(optional) - The version of the component.Amazon Web Services IoT Greengrass uses semantic versions for components. Semantic versions follow a major.minor.patch number system. For example, version 1.0.0 represents the first major release for a component. For more information, see the semantic version specification.
-
PlatformOS
(optional) - The name of the operating system for the platform. Supported platforms include Windows and Linux. -
PlatformArchitecture
(optional) - The processor architecture for the platform.Supported architectures Windows include: Windows32_x86, Windows64_x64.
Supported architectures for Linux include: Linux x86_64, Linux ARMV8.
sourcepub fn build(self) -> EdgeOutputConfig
pub fn build(self) -> EdgeOutputConfig
Consumes the builder and constructs a EdgeOutputConfig
.