Class ModelProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.sagemaker.alpha.ModelProps.Jsii$Proxy
All Implemented Interfaces:
ModelProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
ModelProps

@Stability(Experimental) @Internal public static final class ModelProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ModelProps
An implementation for ModelProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.sagemaker.alpha.ModelProps

    ModelProps.Builder, ModelProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the ModelProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Boolean
    (experimental) Whether to allow the SageMaker Model to send all network traffic.
    (experimental) Specifies the container definitions for this model, consisting of either a single primary container or an inference pipeline of multiple containers.
    final String
    (experimental) Name of the SageMaker Model.
    final Boolean
    (experimental) Whether to enable network isolation for the model container.
    final IRole
    (experimental) The IAM role that the Amazon SageMaker service assumes.
    (experimental) The security groups to associate to the Model.
    final IVpc
    (experimental) The VPC to deploy model containers to.
    (experimental) The VPC subnets to use when deploying model containers.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(ModelProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ModelProps.Builder.
  • Method Details

    • getAllowAllOutbound

      public final Boolean getAllowAllOutbound()
      Description copied from interface: ModelProps
      (experimental) Whether to allow the SageMaker Model to send all network traffic.

      If set to false, you must individually add traffic rules to allow the SageMaker Model to connect to network targets.

      Only used if 'vpc' is supplied.

      Default: true

      Specified by:
      getAllowAllOutbound in interface ModelProps
    • getContainers

      public final List<ContainerDefinition> getContainers()
      Description copied from interface: ModelProps
      (experimental) Specifies the container definitions for this model, consisting of either a single primary container or an inference pipeline of multiple containers.

      Default: - none

      Specified by:
      getContainers in interface ModelProps
    • getModelName

      public final String getModelName()
      Description copied from interface: ModelProps
      (experimental) Name of the SageMaker Model.

      Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the model's name.

      Specified by:
      getModelName in interface ModelProps
    • getNetworkIsolation

      public final Boolean getNetworkIsolation()
      Description copied from interface: ModelProps
      (experimental) Whether to enable network isolation for the model container.

      When enabled, no inbound or outbound network calls can be made to or from the model container.

      Default: false

      Specified by:
      getNetworkIsolation in interface ModelProps
      See Also:
    • getRole

      public final IRole getRole()
      Description copied from interface: ModelProps
      (experimental) The IAM role that the Amazon SageMaker service assumes.

      Default: - a new IAM role will be created with the `AmazonSageMakerFullAccess` policy attached.

      Specified by:
      getRole in interface ModelProps
      See Also:
    • getSecurityGroups

      public final List<ISecurityGroup> getSecurityGroups()
      Description copied from interface: ModelProps
      (experimental) The security groups to associate to the Model.

      If no security groups are provided and 'vpc' is configured, one security group will be created automatically.

      Default: - A security group will be automatically created if 'vpc' is supplied

      Specified by:
      getSecurityGroups in interface ModelProps
    • getVpc

      public final IVpc getVpc()
      Description copied from interface: ModelProps
      (experimental) The VPC to deploy model containers to.

      Default: - none

      Specified by:
      getVpc in interface ModelProps
    • getVpcSubnets

      public final SubnetSelection getVpcSubnets()
      Description copied from interface: ModelProps
      (experimental) The VPC subnets to use when deploying model containers.

      Default: - none

      Specified by:
      getVpcSubnets in interface ModelProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object