Class CfnModelPackage
- All Implemented Interfaces:
IConstruct
,IDependable
,IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
AWS::SageMaker::ModelPackage
.
A versioned model that can be deployed for SageMaker inference.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.sagemaker.*; Object modelInput; CfnModelPackage cfnModelPackage = CfnModelPackage.Builder.create(this, "MyCfnModelPackage") .additionalInferenceSpecificationDefinition(AdditionalInferenceSpecificationDefinitionProperty.builder() .containers(List.of(ModelPackageContainerDefinitionProperty.builder() .image("image") // the properties below are optional .containerHostname("containerHostname") .environment(Map.of( "environmentKey", "environment")) .framework("framework") .frameworkVersion("frameworkVersion") .imageDigest("imageDigest") .modelDataUrl("modelDataUrl") .modelInput(modelInput) .nearestModelName("nearestModelName") .productId("productId") .build())) .name("name") // the properties below are optional .description("description") .supportedContentTypes(List.of("supportedContentTypes")) .supportedRealtimeInferenceInstanceTypes(List.of("supportedRealtimeInferenceInstanceTypes")) .supportedResponseMimeTypes(List.of("supportedResponseMimeTypes")) .supportedTransformInstanceTypes(List.of("supportedTransformInstanceTypes")) .build()) .additionalInferenceSpecifications(List.of(AdditionalInferenceSpecificationDefinitionProperty.builder() .containers(List.of(ModelPackageContainerDefinitionProperty.builder() .image("image") // the properties below are optional .containerHostname("containerHostname") .environment(Map.of( "environmentKey", "environment")) .framework("framework") .frameworkVersion("frameworkVersion") .imageDigest("imageDigest") .modelDataUrl("modelDataUrl") .modelInput(modelInput) .nearestModelName("nearestModelName") .productId("productId") .build())) .name("name") // the properties below are optional .description("description") .supportedContentTypes(List.of("supportedContentTypes")) .supportedRealtimeInferenceInstanceTypes(List.of("supportedRealtimeInferenceInstanceTypes")) .supportedResponseMimeTypes(List.of("supportedResponseMimeTypes")) .supportedTransformInstanceTypes(List.of("supportedTransformInstanceTypes")) .build())) .additionalInferenceSpecificationsToAdd(List.of(AdditionalInferenceSpecificationDefinitionProperty.builder() .containers(List.of(ModelPackageContainerDefinitionProperty.builder() .image("image") // the properties below are optional .containerHostname("containerHostname") .environment(Map.of( "environmentKey", "environment")) .framework("framework") .frameworkVersion("frameworkVersion") .imageDigest("imageDigest") .modelDataUrl("modelDataUrl") .modelInput(modelInput) .nearestModelName("nearestModelName") .productId("productId") .build())) .name("name") // the properties below are optional .description("description") .supportedContentTypes(List.of("supportedContentTypes")) .supportedRealtimeInferenceInstanceTypes(List.of("supportedRealtimeInferenceInstanceTypes")) .supportedResponseMimeTypes(List.of("supportedResponseMimeTypes")) .supportedTransformInstanceTypes(List.of("supportedTransformInstanceTypes")) .build())) .approvalDescription("approvalDescription") .certifyForMarketplace(false) .clientToken("clientToken") .createdBy(UserContextProperty.builder() .domainId("domainId") .userProfileArn("userProfileArn") .userProfileName("userProfileName") .build()) .customerMetadataProperties(Map.of( "customerMetadataPropertiesKey", "customerMetadataProperties")) .domain("domain") .driftCheckBaselines(DriftCheckBaselinesProperty.builder() .bias(DriftCheckBiasProperty.builder() .configFile(FileSourceProperty.builder() .s3Uri("s3Uri") // the properties below are optional .contentDigest("contentDigest") .contentType("contentType") .build()) .postTrainingConstraints(MetricsSourceProperty.builder() .contentType("contentType") .s3Uri("s3Uri") // the properties below are optional .contentDigest("contentDigest") .build()) .preTrainingConstraints(MetricsSourceProperty.builder() .contentType("contentType") .s3Uri("s3Uri") // the properties below are optional .contentDigest("contentDigest") .build()) .build()) .explainability(DriftCheckExplainabilityProperty.builder() .configFile(FileSourceProperty.builder() .s3Uri("s3Uri") // the properties below are optional .contentDigest("contentDigest") .contentType("contentType") .build()) .constraints(MetricsSourceProperty.builder() .contentType("contentType") .s3Uri("s3Uri") // the properties below are optional .contentDigest("contentDigest") .build()) .build()) .modelDataQuality(DriftCheckModelDataQualityProperty.builder() .constraints(MetricsSourceProperty.builder() .contentType("contentType") .s3Uri("s3Uri") // the properties below are optional .contentDigest("contentDigest") .build()) .statistics(MetricsSourceProperty.builder() .contentType("contentType") .s3Uri("s3Uri") // the properties below are optional .contentDigest("contentDigest") .build()) .build()) .modelQuality(DriftCheckModelQualityProperty.builder() .constraints(MetricsSourceProperty.builder() .contentType("contentType") .s3Uri("s3Uri") // the properties below are optional .contentDigest("contentDigest") .build()) .statistics(MetricsSourceProperty.builder() .contentType("contentType") .s3Uri("s3Uri") // the properties below are optional .contentDigest("contentDigest") .build()) .build()) .build()) .environment(Map.of( "environmentKey", "environment")) .inferenceSpecification(InferenceSpecificationProperty.builder() .containers(List.of(ModelPackageContainerDefinitionProperty.builder() .image("image") // the properties below are optional .containerHostname("containerHostname") .environment(Map.of( "environmentKey", "environment")) .framework("framework") .frameworkVersion("frameworkVersion") .imageDigest("imageDigest") .modelDataUrl("modelDataUrl") .modelInput(modelInput) .nearestModelName("nearestModelName") .productId("productId") .build())) .supportedContentTypes(List.of("supportedContentTypes")) .supportedResponseMimeTypes(List.of("supportedResponseMimeTypes")) // the properties below are optional .supportedRealtimeInferenceInstanceTypes(List.of("supportedRealtimeInferenceInstanceTypes")) .supportedTransformInstanceTypes(List.of("supportedTransformInstanceTypes")) .build()) .lastModifiedBy(UserContextProperty.builder() .domainId("domainId") .userProfileArn("userProfileArn") .userProfileName("userProfileName") .build()) .lastModifiedTime("lastModifiedTime") .metadataProperties(MetadataPropertiesProperty.builder() .commitId("commitId") .generatedBy("generatedBy") .projectId("projectId") .repository("repository") .build()) .modelApprovalStatus("modelApprovalStatus") .modelMetrics(ModelMetricsProperty.builder() .bias(BiasProperty.builder() .postTrainingReport(MetricsSourceProperty.builder() .contentType("contentType") .s3Uri("s3Uri") // the properties below are optional .contentDigest("contentDigest") .build()) .preTrainingReport(MetricsSourceProperty.builder() .contentType("contentType") .s3Uri("s3Uri") // the properties below are optional .contentDigest("contentDigest") .build()) .report(MetricsSourceProperty.builder() .contentType("contentType") .s3Uri("s3Uri") // the properties below are optional .contentDigest("contentDigest") .build()) .build()) .explainability(ExplainabilityProperty.builder() .report(MetricsSourceProperty.builder() .contentType("contentType") .s3Uri("s3Uri") // the properties below are optional .contentDigest("contentDigest") .build()) .build()) .modelDataQuality(ModelDataQualityProperty.builder() .constraints(MetricsSourceProperty.builder() .contentType("contentType") .s3Uri("s3Uri") // the properties below are optional .contentDigest("contentDigest") .build()) .statistics(MetricsSourceProperty.builder() .contentType("contentType") .s3Uri("s3Uri") // the properties below are optional .contentDigest("contentDigest") .build()) .build()) .modelQuality(ModelQualityProperty.builder() .constraints(MetricsSourceProperty.builder() .contentType("contentType") .s3Uri("s3Uri") // the properties below are optional .contentDigest("contentDigest") .build()) .statistics(MetricsSourceProperty.builder() .contentType("contentType") .s3Uri("s3Uri") // the properties below are optional .contentDigest("contentDigest") .build()) .build()) .build()) .modelPackageDescription("modelPackageDescription") .modelPackageGroupName("modelPackageGroupName") .modelPackageName("modelPackageName") .modelPackageStatusDetails(ModelPackageStatusDetailsProperty.builder() .validationStatuses(List.of(ModelPackageStatusItemProperty.builder() .name("name") .status("status") // the properties below are optional .failureReason("failureReason") .build())) // the properties below are optional .imageScanStatuses(List.of(ModelPackageStatusItemProperty.builder() .name("name") .status("status") // the properties below are optional .failureReason("failureReason") .build())) .build()) .modelPackageStatusItem(ModelPackageStatusItemProperty.builder() .name("name") .status("status") // the properties below are optional .failureReason("failureReason") .build()) .modelPackageVersion(123) .samplePayloadUrl("samplePayloadUrl") .sourceAlgorithmSpecification(SourceAlgorithmSpecificationProperty.builder() .sourceAlgorithms(List.of(SourceAlgorithmProperty.builder() .algorithmName("algorithmName") // the properties below are optional .modelDataUrl("modelDataUrl") .build())) .build()) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .task("task") .validationSpecification(ValidationSpecificationProperty.builder() .validationProfiles(List.of(ValidationProfileProperty.builder() .profileName("profileName") .transformJobDefinition(TransformJobDefinitionProperty.builder() .transformInput(TransformInputProperty.builder() .dataSource(DataSourceProperty.builder() .s3DataSource(S3DataSourceProperty.builder() .s3DataType("s3DataType") .s3Uri("s3Uri") .build()) .build()) // the properties below are optional .compressionType("compressionType") .contentType("contentType") .splitType("splitType") .build()) .transformOutput(TransformOutputProperty.builder() .s3OutputPath("s3OutputPath") // the properties below are optional .accept("accept") .assembleWith("assembleWith") .kmsKeyId("kmsKeyId") .build()) .transformResources(TransformResourcesProperty.builder() .instanceCount(123) .instanceType("instanceType") // the properties below are optional .volumeKmsKeyId("volumeKmsKeyId") .build()) // the properties below are optional .batchStrategy("batchStrategy") .environment(Map.of( "environmentKey", "environment")) .maxConcurrentTransforms(123) .maxPayloadInMb(123) .build()) .build())) .validationRole("validationRole") .build()) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
A structure of additional Inference Specification.static interface
Contains bias metrics for a model.static final class
A fluent builder forCfnModelPackage
.static interface
Describes the location of the channel data.static interface
Represents the drift check baselines that can be used when the model monitor is set using the model package.static interface
Represents the drift check bias baselines that can be used when the model monitor is set using the model package.static interface
Represents the drift check explainability baselines that can be used when the model monitor is set using the model package.static interface
Represents the drift check data quality baselines that can be used when the model monitor is set using the model package.static interface
Represents the drift check model quality baselines that can be used when the model monitor is set using the model package.static interface
Contains explainability metrics for a model.static interface
Contains details regarding the file source.static interface
Defines how to perform inference generation after a training job is run.static interface
Metadata properties of the tracking entity, trial, or trial component.static interface
Details about the metrics source.static interface
Data quality constraints and statistics for a model.static interface
Input object for the model.static interface
Contains metrics captured from a model.static interface
Describes the Docker container for the model package.static interface
Specifies the validation and image scan statuses of the model package.static interface
Represents the overall status of a model package.static interface
Model quality statistics and constraints.static interface
Describes the S3 data source.static interface
Specifies an algorithm that was used to create the model package.static interface
A list of algorithms that were used to create a model package.static interface
Describes the input source of a transform job and the way the transform job consumes it.static interface
Defines the input needed to run a transform job using the inference specification specified in the algorithm.static interface
Describes the results of a transform job.static interface
Describes the resources, including ML instance types and ML instance count, to use for transform job.static interface
Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.static interface
Contains data, such as the inputs and targeted instance types that are used in the process of validating the model package.static interface
Specifies batch transform jobs that SageMaker runs to validate your model package.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnModelPackage
(Construct scope, String id) Create a newAWS::SageMaker::ModelPackage
.CfnModelPackage
(Construct scope, String id, CfnModelPackageProps props) Create a newAWS::SageMaker::ModelPackage
.protected
CfnModelPackage
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnModelPackage
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionA structure of additional Inference Specification.An array of additional Inference Specification objects.An array of additional Inference Specification objects to be added to the existing array.A description provided when the model approval is set.The time that the model package was created.The Amazon Resource Name (ARN) of the model package.The status of the model package.Whether the model package is to be certified to be listed on AWS Marketplace.A unique token that guarantees that the call to this API is idempotent.Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.The metadata properties for the model package.The machine learning domain of your model package and its components.Represents the drift check baselines that can be used when the model monitor is set using the model package.The environment variables to set in the Docker container.Defines how to perform inference generation after a training job is run.Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.The last time the model package was modified.Metadata properties of the tracking entity, trial, or trial component.The approval status of the model.Metrics for the model.The description of the model package.The model group to which the model belongs.The name of the model.Specifies the validation and image scan statuses of the model package.Represents the overall status of a model package.The version number of a versioned model.The Amazon Simple Storage Service path where the sample payload are stored.A list of algorithms that were used to create a model package.getTags()
A list of the tags associated with the model package.getTask()
The machine learning task your model package accomplishes.Specifies batch transform jobs that SageMaker runs to validate your model package.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
A structure of additional Inference Specification.void
setAdditionalInferenceSpecificationDefinition
(CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty value) A structure of additional Inference Specification.void
An array of additional Inference Specification objects.void
An array of additional Inference Specification objects.void
An array of additional Inference Specification objects to be added to the existing array.void
An array of additional Inference Specification objects to be added to the existing array.void
setApprovalDescription
(String value) A description provided when the model approval is set.void
setCertifyForMarketplace
(Boolean value) Whether the model package is to be certified to be listed on AWS Marketplace.void
Whether the model package is to be certified to be listed on AWS Marketplace.void
setClientToken
(String value) A unique token that guarantees that the call to this API is idempotent.void
setCreatedBy
(IResolvable value) Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.void
Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.void
setCustomerMetadataProperties
(Map<String, String> value) The metadata properties for the model package.void
The metadata properties for the model package.void
The machine learning domain of your model package and its components.void
Represents the drift check baselines that can be used when the model monitor is set using the model package.void
Represents the drift check baselines that can be used when the model monitor is set using the model package.void
setEnvironment
(Map<String, String> value) The environment variables to set in the Docker container.void
setEnvironment
(IResolvable value) The environment variables to set in the Docker container.void
Defines how to perform inference generation after a training job is run.void
Defines how to perform inference generation after a training job is run.void
setLastModifiedBy
(IResolvable value) Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.void
Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.void
setLastModifiedTime
(String value) The last time the model package was modified.void
setMetadataProperties
(IResolvable value) Metadata properties of the tracking entity, trial, or trial component.void
Metadata properties of the tracking entity, trial, or trial component.void
setModelApprovalStatus
(String value) The approval status of the model.void
setModelMetrics
(IResolvable value) Metrics for the model.void
Metrics for the model.void
setModelPackageDescription
(String value) The description of the model package.void
setModelPackageGroupName
(String value) The model group to which the model belongs.void
setModelPackageName
(String value) The name of the model.void
Specifies the validation and image scan statuses of the model package.void
Specifies the validation and image scan statuses of the model package.void
Represents the overall status of a model package.void
Represents the overall status of a model package.void
setModelPackageVersion
(Number value) The version number of a versioned model.void
setSamplePayloadUrl
(String value) The Amazon Simple Storage Service path where the sample payload are stored.void
A list of algorithms that were used to create a model package.void
A list of algorithms that were used to create a model package.void
The machine learning task your model package accomplishes.void
Specifies batch transform jobs that SageMaker runs to validate your model package.void
Specifies batch transform jobs that SageMaker runs to validate your model package.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnModelPackage
protected CfnModelPackage(software.amazon.jsii.JsiiObjectRef objRef) -
CfnModelPackage
protected CfnModelPackage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnModelPackage
@Stability(Stable) public CfnModelPackage(@NotNull Construct scope, @NotNull String id, @Nullable CfnModelPackageProps props) Create a newAWS::SageMaker::ModelPackage
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
CfnModelPackage
Create a newAWS::SageMaker::ModelPackage
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrCreationTime
The time that the model package was created. -
getAttrModelPackageArn
The Amazon Resource Name (ARN) of the model package. -
getAttrModelPackageStatus
The status of the model package. This can be one of the following values.PENDING
- The model package creation is pending.IN_PROGRESS
- The model package is in the process of being created.COMPLETED
- The model package was successfully created.FAILED
- The model package creation failed.DELETING
- The model package is in the process of being deleted.
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
A list of the tags associated with the model package.For more information, see Tagging AWS resources in the AWS General Reference Guide .
-
getAdditionalInferenceSpecificationDefinition
A structure of additional Inference Specification.Additional Inference Specification specifies details about inference jobs that can be run with models based on this model package
-
setAdditionalInferenceSpecificationDefinition
@Stability(Stable) public void setAdditionalInferenceSpecificationDefinition(@Nullable IResolvable value) A structure of additional Inference Specification.Additional Inference Specification specifies details about inference jobs that can be run with models based on this model package
-
setAdditionalInferenceSpecificationDefinition
@Stability(Stable) public void setAdditionalInferenceSpecificationDefinition(@Nullable CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty value) A structure of additional Inference Specification.Additional Inference Specification specifies details about inference jobs that can be run with models based on this model package
-
getAdditionalInferenceSpecifications
An array of additional Inference Specification objects. -
setAdditionalInferenceSpecifications
An array of additional Inference Specification objects. -
setAdditionalInferenceSpecifications
An array of additional Inference Specification objects. -
getAdditionalInferenceSpecificationsToAdd
An array of additional Inference Specification objects to be added to the existing array.The total number of additional Inference Specification objects cannot exceed 15. Each additional Inference Specification object specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.
-
setAdditionalInferenceSpecificationsToAdd
@Stability(Stable) public void setAdditionalInferenceSpecificationsToAdd(@Nullable IResolvable value) An array of additional Inference Specification objects to be added to the existing array.The total number of additional Inference Specification objects cannot exceed 15. Each additional Inference Specification object specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.
-
setAdditionalInferenceSpecificationsToAdd
@Stability(Stable) public void setAdditionalInferenceSpecificationsToAdd(@Nullable List<Object> value) An array of additional Inference Specification objects to be added to the existing array.The total number of additional Inference Specification objects cannot exceed 15. Each additional Inference Specification object specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.
-
getApprovalDescription
A description provided when the model approval is set. -
setApprovalDescription
A description provided when the model approval is set. -
getCertifyForMarketplace
Whether the model package is to be certified to be listed on AWS Marketplace.For information about listing model packages on AWS Marketplace, see List Your Algorithm or Model Package on AWS Marketplace .
-
setCertifyForMarketplace
Whether the model package is to be certified to be listed on AWS Marketplace.For information about listing model packages on AWS Marketplace, see List Your Algorithm or Model Package on AWS Marketplace .
-
setCertifyForMarketplace
Whether the model package is to be certified to be listed on AWS Marketplace.For information about listing model packages on AWS Marketplace, see List Your Algorithm or Model Package on AWS Marketplace .
-
getClientToken
A unique token that guarantees that the call to this API is idempotent. -
setClientToken
A unique token that guarantees that the call to this API is idempotent. -
getCreatedBy
Information about the user who created or modified an experiment, trial, trial component, lineage group, or project. -
setCreatedBy
Information about the user who created or modified an experiment, trial, trial component, lineage group, or project. -
setCreatedBy
Information about the user who created or modified an experiment, trial, trial component, lineage group, or project. -
getCustomerMetadataProperties
The metadata properties for the model package. -
setCustomerMetadataProperties
The metadata properties for the model package. -
setCustomerMetadataProperties
The metadata properties for the model package. -
getDomain
The machine learning domain of your model package and its components.Common machine learning domains include computer vision and natural language processing.
-
setDomain
The machine learning domain of your model package and its components.Common machine learning domains include computer vision and natural language processing.
-
getDriftCheckBaselines
Represents the drift check baselines that can be used when the model monitor is set using the model package. -
setDriftCheckBaselines
Represents the drift check baselines that can be used when the model monitor is set using the model package. -
setDriftCheckBaselines
@Stability(Stable) public void setDriftCheckBaselines(@Nullable CfnModelPackage.DriftCheckBaselinesProperty value) Represents the drift check baselines that can be used when the model monitor is set using the model package. -
getEnvironment
The environment variables to set in the Docker container.Each key and value in the
Environment
string to string map can have length of up to 1024. We support up to 16 entries in the map. -
setEnvironment
The environment variables to set in the Docker container.Each key and value in the
Environment
string to string map can have length of up to 1024. We support up to 16 entries in the map. -
setEnvironment
The environment variables to set in the Docker container.Each key and value in the
Environment
string to string map can have length of up to 1024. We support up to 16 entries in the map. -
getInferenceSpecification
Defines how to perform inference generation after a training job is run. -
setInferenceSpecification
Defines how to perform inference generation after a training job is run. -
setInferenceSpecification
@Stability(Stable) public void setInferenceSpecification(@Nullable CfnModelPackage.InferenceSpecificationProperty value) Defines how to perform inference generation after a training job is run. -
getLastModifiedBy
Information about the user who created or modified an experiment, trial, trial component, lineage group, or project. -
setLastModifiedBy
Information about the user who created or modified an experiment, trial, trial component, lineage group, or project. -
setLastModifiedBy
@Stability(Stable) public void setLastModifiedBy(@Nullable CfnModelPackage.UserContextProperty value) Information about the user who created or modified an experiment, trial, trial component, lineage group, or project. -
getLastModifiedTime
The last time the model package was modified. -
setLastModifiedTime
The last time the model package was modified. -
getMetadataProperties
Metadata properties of the tracking entity, trial, or trial component. -
setMetadataProperties
Metadata properties of the tracking entity, trial, or trial component. -
setMetadataProperties
@Stability(Stable) public void setMetadataProperties(@Nullable CfnModelPackage.MetadataPropertiesProperty value) Metadata properties of the tracking entity, trial, or trial component. -
getModelApprovalStatus
The approval status of the model. This can be one of the following values.APPROVED
- The model is approvedREJECTED
- The model is rejected.PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.
-
setModelApprovalStatus
The approval status of the model. This can be one of the following values.APPROVED
- The model is approvedREJECTED
- The model is rejected.PENDING_MANUAL_APPROVAL
- The model is waiting for manual approval.
-
getModelMetrics
Metrics for the model. -
setModelMetrics
Metrics for the model. -
setModelMetrics
@Stability(Stable) public void setModelMetrics(@Nullable CfnModelPackage.ModelMetricsProperty value) Metrics for the model. -
getModelPackageDescription
The description of the model package. -
setModelPackageDescription
The description of the model package. -
getModelPackageGroupName
The model group to which the model belongs. -
setModelPackageGroupName
The model group to which the model belongs. -
getModelPackageName
The name of the model. -
setModelPackageName
The name of the model. -
getModelPackageStatusDetails
Specifies the validation and image scan statuses of the model package. -
setModelPackageStatusDetails
Specifies the validation and image scan statuses of the model package. -
setModelPackageStatusDetails
@Stability(Stable) public void setModelPackageStatusDetails(@Nullable CfnModelPackage.ModelPackageStatusDetailsProperty value) Specifies the validation and image scan statuses of the model package. -
getModelPackageStatusItem
Represents the overall status of a model package. -
setModelPackageStatusItem
Represents the overall status of a model package. -
setModelPackageStatusItem
@Stability(Stable) public void setModelPackageStatusItem(@Nullable CfnModelPackage.ModelPackageStatusItemProperty value) Represents the overall status of a model package. -
getModelPackageVersion
The version number of a versioned model. -
setModelPackageVersion
The version number of a versioned model. -
getSamplePayloadUrl
The Amazon Simple Storage Service path where the sample payload are stored.This path must point to a single gzip compressed tar archive (.tar.gz suffix).
-
setSamplePayloadUrl
The Amazon Simple Storage Service path where the sample payload are stored.This path must point to a single gzip compressed tar archive (.tar.gz suffix).
-
getSourceAlgorithmSpecification
A list of algorithms that were used to create a model package. -
setSourceAlgorithmSpecification
A list of algorithms that were used to create a model package. -
setSourceAlgorithmSpecification
@Stability(Stable) public void setSourceAlgorithmSpecification(@Nullable CfnModelPackage.SourceAlgorithmSpecificationProperty value) A list of algorithms that were used to create a model package. -
getTask
The machine learning task your model package accomplishes.Common machine learning tasks include object detection and image classification.
-
setTask
The machine learning task your model package accomplishes.Common machine learning tasks include object detection and image classification.
-
getValidationSpecification
Specifies batch transform jobs that SageMaker runs to validate your model package. -
setValidationSpecification
Specifies batch transform jobs that SageMaker runs to validate your model package. -
setValidationSpecification
@Stability(Stable) public void setValidationSpecification(@Nullable CfnModelPackage.ValidationSpecificationProperty value) Specifies batch transform jobs that SageMaker runs to validate your model package.
-