ModelArgs class

The set of arguments for Model. The set of arguments for Model.

Constructors

ModelArgs({Input<List<ModelContainer>?>? containers, Input<bool?>? enableNetworkIsolation, required Input<String> executionRoleArn, Input<ModelInferenceExecutionConfig?>? inferenceExecutionConfig, Input<String?>? name, Input<ModelPrimaryContainer?>? primaryContainer, Input<String?>? region, Input<Map<String, String>?>? tags, Input<ModelVpcConfig?>? vpcConfig})
Creates a new ModelArgs. containers Specifies containers in the inference pipeline. If not specified, the primaryContainer argument is required. Fields are documented below. enableNetworkIsolation Isolates the model container. No inbound or outbound network calls can be made to or from the model container. executionRoleArn A role that SageMaker AI can assume to access model artifacts and docker images for deployment. inferenceExecutionConfig Specifies details of how containers in a multi-container endpoint are called. See Inference Execution Config. name Name of the model (must be unique). If omitted, the provider will assign a random, unique name. primaryContainer Primary docker image containing inference code that is used when the model is deployed for predictions. If not specified, the container argument is required. Fields are documented below. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. tags A map of tags to assign to the resource. .If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. vpcConfig Specifies the VPC that you want your model to connect to. This configuration is used in hosting services and in batch transform. See VPC Config.
const
ModelArgs.fromMap(Map<String, dynamic> map)
factory

Properties

containers → Input<List<ModelContainer>?>?
Specifies containers in the inference pipeline. If not specified, the primaryContainer argument is required. Fields are documented below.
final
enableNetworkIsolation → Input<bool?>?
Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
final
executionRoleArn → Input<String>
A role that SageMaker AI can assume to access model artifacts and docker images for deployment.
final
hashCode → int
The hash code for this object.
no setterinherited
inferenceExecutionConfig → Input<ModelInferenceExecutionConfig?>?
Specifies details of how containers in a multi-container endpoint are called. See Inference Execution Config.
final
name → Input<String?>?
Name of the model (must be unique). If omitted, the provider will assign a random, unique name.
final
primaryContainer → Input<ModelPrimaryContainer?>?
Primary docker image containing inference code that is used when the model is deployed for predictions. If not specified, the container argument is required. Fields are documented below.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
A map of tags to assign to the resource. .If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
vpcConfig → Input<ModelVpcConfig?>?
Specifies the VPC that you want your model to connect to. This configuration is used in hosting services and in batch transform. See VPC Config.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited