Class ModelArgs


  • public final class ModelArgs
    extends com.pulumi.resources.ResourceArgs
    • Field Detail

    • Method Detail

      • containers

        public java.util.Optional<com.pulumi.core.Output<java.util.List<ModelContainerArgs>>> containers()
        Returns:
        Specifies containers in the inference pipeline. If not specified, the `primaryContainer` argument is required. Fields are documented below.
      • enableNetworkIsolation

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableNetworkIsolation()
        Returns:
        Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
      • executionRoleArn

        public com.pulumi.core.Output<java.lang.String> executionRoleArn()
        Returns:
        A role that SageMaker AI can assume to access model artifacts and docker images for deployment.
      • inferenceExecutionConfig

        public java.util.Optional<com.pulumi.core.Output<ModelInferenceExecutionConfigArgs>> inferenceExecutionConfig()
        Returns:
        Specifies details of how containers in a multi-container endpoint are called. See Inference Execution Config.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Name of the model (must be unique). If omitted, the provider will assign a random, unique name.
      • primaryContainer

        public java.util.Optional<com.pulumi.core.Output<ModelPrimaryContainerArgs>> primaryContainer()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<ModelVpcConfigArgs>> vpcConfig()
        Returns:
        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.