CfnArtifactProps Struct
Properties for defining a CfnArtifact.
Example
ts
// 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
The name of the artifact.
Must be unique to your account in an AWS Region.
The artifact type.
metadataPropertiesIResolvable | CfnArtifact.MetadataPropertiesPropertymetadata_propertiestyping.Union[IResolvable, MetadataPropertiesProperty]metadataPropertiesIResolvableMetadataPropertiesIResolvableMetadataPropertiesinterface{}#propertiesIResolvable | { [key: string]: string }propertiestyping.Union[IResolvable, typing.Mapping[str, str]]propertiesIResolvablePropertiesIResolvablePropertiesinterface{}#A list of properties to add to the artifact.
sourceIResolvable | CfnArtifact.ArtifactSourcePropertysourcetyping.Union[IResolvable, ArtifactSourceProperty]sourceIResolvableSourceIResolvableSourceinterface{}required#