Class: Aws::SageMaker::Types::CreateModelInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::CreateModelInput
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sagemaker/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#containers ⇒ Array<Types::ContainerDefinition>
Specifies the containers in the inference pipeline.
-
#enable_network_isolation ⇒ Boolean
Isolates the model container.
-
#execution_role_arn ⇒ String
The Amazon Resource Name (ARN) of the IAM role that SageMaker can assume to access model artifacts and docker image for deployment on ML compute instances or for batch transform jobs.
-
#inference_execution_config ⇒ Types::InferenceExecutionConfig
Specifies details of how containers in a multi-container endpoint are called.
-
#model_name ⇒ String
The name of the new model.
-
#primary_container ⇒ Types::ContainerDefinition
The location of the primary docker image containing inference code, associated artifacts, and custom environment map that the inference code uses when the model is deployed for predictions.
-
#tags ⇒ Array<Types::Tag>
An array of key-value pairs.
-
#vpc_config ⇒ Types::VpcConfig
A [VpcConfig] object that specifies the VPC that you want your model to connect to.
Instance Attribute Details
#containers ⇒ Array<Types::ContainerDefinition>
Specifies the containers in the inference pipeline.
8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 8719 class CreateModelInput < Struct.new( :model_name, :primary_container, :containers, :inference_execution_config, :execution_role_arn, :tags, :vpc_config, :enable_network_isolation) SENSITIVE = [] include Aws::Structure end |
#enable_network_isolation ⇒ Boolean
Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 8719 class CreateModelInput < Struct.new( :model_name, :primary_container, :containers, :inference_execution_config, :execution_role_arn, :tags, :vpc_config, :enable_network_isolation) SENSITIVE = [] include Aws::Structure end |
#execution_role_arn ⇒ String
The Amazon Resource Name (ARN) of the IAM role that SageMaker can assume to access model artifacts and docker image for deployment on ML compute instances or for batch transform jobs. Deploying on ML compute instances is part of model hosting. For more information, see [SageMaker Roles].
<note markdown=“1”> To be able to pass this role to SageMaker, the caller of this API must have the ‘iam:PassRole` permission.
</note>
[1]: docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html
8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 8719 class CreateModelInput < Struct.new( :model_name, :primary_container, :containers, :inference_execution_config, :execution_role_arn, :tags, :vpc_config, :enable_network_isolation) SENSITIVE = [] include Aws::Structure end |
#inference_execution_config ⇒ Types::InferenceExecutionConfig
Specifies details of how containers in a multi-container endpoint are called.
8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 8719 class CreateModelInput < Struct.new( :model_name, :primary_container, :containers, :inference_execution_config, :execution_role_arn, :tags, :vpc_config, :enable_network_isolation) SENSITIVE = [] include Aws::Structure end |
#model_name ⇒ String
The name of the new model.
8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 8719 class CreateModelInput < Struct.new( :model_name, :primary_container, :containers, :inference_execution_config, :execution_role_arn, :tags, :vpc_config, :enable_network_isolation) SENSITIVE = [] include Aws::Structure end |
#primary_container ⇒ Types::ContainerDefinition
The location of the primary docker image containing inference code, associated artifacts, and custom environment map that the inference code uses when the model is deployed for predictions.
8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 8719 class CreateModelInput < Struct.new( :model_name, :primary_container, :containers, :inference_execution_config, :execution_role_arn, :tags, :vpc_config, :enable_network_isolation) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see [Tagging Amazon Web Services Resources].
8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 8719 class CreateModelInput < Struct.new( :model_name, :primary_container, :containers, :inference_execution_config, :execution_role_arn, :tags, :vpc_config, :enable_network_isolation) SENSITIVE = [] include Aws::Structure end |
#vpc_config ⇒ Types::VpcConfig
A [VpcConfig] object that specifies the VPC that you want your model to connect to. Control access to and from your model container by configuring the VPC. ‘VpcConfig` is used in hosting services and in batch transform. For more information, see [Protect Endpoints by Using an Amazon Virtual Private Cloud] and [Protect Data in Batch Transform Jobs by Using an Amazon Virtual Private Cloud].
[1]: docs.aws.amazon.com/sagemaker/latest/APIReference/API_VpcConfig.html [2]: docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html [3]: docs.aws.amazon.com/sagemaker/latest/dg/batch-vpc.html
8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 8719 class CreateModelInput < Struct.new( :model_name, :primary_container, :containers, :inference_execution_config, :execution_role_arn, :tags, :vpc_config, :enable_network_isolation) SENSITIVE = [] include Aws::Structure end |