interface CfnArtifactProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnArtifactProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnArtifactProps |
Java | software.amazon.awscdk.services.sagemaker.CfnArtifactProps |
Python | aws_cdk.aws_sagemaker.CfnArtifactProps |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnArtifactProps |
Properties for defining a CfnArtifact.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-artifact.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const cfnArtifactProps: sagemaker.CfnArtifactProps = {
artifactType: 'artifactType',
source: {
sourceUri: 'sourceUri',
// the properties below are optional
sourceTypes: [{
sourceIdType: 'sourceIdType',
value: 'value',
}],
},
// the properties below are optional
artifactName: 'artifactName',
metadataProperties: {
commitId: 'commitId',
generatedBy: 'generatedBy',
projectId: 'projectId',
repository: 'repository',
},
properties: {
propertiesKey: 'properties',
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| artifact | string | The artifact type. |
| source | IResolvable | Artifact | |
| artifact | string | The name of the artifact. |
| metadata | IResolvable | Metadata | |
| properties? | IResolvable | { [string]: string } | A list of properties to add to the artifact. |
| tags? | Cfn[] | A list of tags to apply to the artifact. |
artifactType
Type:
string
The artifact type.
source
Type:
IResolvable | Artifact
artifactName?
Type:
string
(optional)
The name of the artifact.
Must be unique to your account in an AWS Region.
metadataProperties?
Type:
IResolvable | Metadata
(optional)
properties?
Type:
IResolvable | { [string]: string }
(optional)
A list of properties to add to the artifact.
tags?
Type:
Cfn[]
(optional)
A list of tags to apply to the artifact.

.NET
Go
Java
Python
TypeScript