ModelState constructor
- Input<
String?> ? arn, - Input<
List< ? containers,ModelContainer> ?> - Input<
bool?> ? enableNetworkIsolation, - Input<
String?> ? executionRoleArn, - Input<
ModelInferenceExecutionConfig?> ? inferenceExecutionConfig, - Input<
String?> ? name, - Input<
ModelPrimaryContainer?> ? primaryContainer, - Input<
String?> ? region, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?> - Input<
ModelVpcConfig?> ? vpcConfig,
Creates a new ModelState.
arn ARN assigned by AWS to this model.
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.
tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
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.
Implementation
const ModelState({
this.arn,
this.containers,
this.enableNetworkIsolation,
this.executionRoleArn,
this.inferenceExecutionConfig,
this.name,
this.primaryContainer,
this.region,
this.tags,
this.tagsAll,
this.vpcConfig,
});