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 `primary_container` 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 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:
        The name of the model (must be unique). If omitted, this provider will assign a random, unique name.
      • primaryContainer

        public java.util.Optional<com.pulumi.core.Output<ModelPrimaryContainerArgs>> primaryContainer()
        Returns:
        The 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.
      • 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 `default_tags` 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. VpcConfig is used in hosting services and in batch transform.