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
ModifierConstructorDescriptionprotected
Jsii$Proxy
(ModelProps.Builder builder) Constructor that initializes the object based on literal property values passed by theModelProps.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 TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Boolean
(experimental) Whether to allow the SageMaker Model to send all network traffic.final List<ContainerDefinition>
(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
getRole()
(experimental) The IAM role that the Amazon SageMaker service assumes.final List<ISecurityGroup>
(experimental) The security groups to associate to the Model.final IVpc
getVpc()
(experimental) The VPC to deploy model containers to.final SubnetSelection
(experimental) The VPC subnets to use when deploying model containers.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theModelProps.Builder
.
-
-
Method Details
-
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 interfaceModelProps
-
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 interfaceModelProps
-
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 interfaceModelProps
-
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 interfaceModelProps
- See Also:
-
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 interfaceModelProps
- See Also:
-
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 interfaceModelProps
-
getVpc
Description copied from interface:ModelProps
(experimental) The VPC to deploy model containers to.Default: - none
- Specified by:
getVpc
in interfaceModelProps
-
getVpcSubnets
Description copied from interface:ModelProps
(experimental) The VPC subnets to use when deploying model containers.Default: - none
- Specified by:
getVpcSubnets
in interfaceModelProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-