ModelReference

class aws_cdk.interfaces.aws_sagemaker.ModelReference(*, model_id, model_name)

Bases: object

A reference to a Model resource.

Parameters:
  • model_id (str) – The Id of the Model resource.

  • model_name (str) – The ModelName of the Model resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_sagemaker as interfaces_sagemaker

model_reference = interfaces_sagemaker.ModelReference(
    model_id="modelId",
    model_name="modelName"
)

Attributes

model_id

The Id of the Model resource.

model_name

The ModelName of the Model resource.