1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. sagemaker
  6. Artifact

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    Resource type definition for AWS::SageMaker::Artifact. An artifact is a lineage tracking entity that represents a URI addressable object or data, such as an S3 URI of a dataset or the ECR registry path of an image.

    Create Artifact Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Artifact(name: string, args: ArtifactArgs, opts?: CustomResourceOptions);
    @overload
    def Artifact(resource_name: str,
                 args: ArtifactArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Artifact(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 artifact_type: Optional[str] = None,
                 source: Optional[ArtifactSourceArgs] = None,
                 artifact_name: Optional[str] = None,
                 metadata_properties: Optional[ArtifactMetadataPropertiesArgs] = None,
                 properties: Optional[Mapping[str, str]] = None,
                 tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewArtifact(ctx *Context, name string, args ArtifactArgs, opts ...ResourceOption) (*Artifact, error)
    public Artifact(string name, ArtifactArgs args, CustomResourceOptions? opts = null)
    public Artifact(String name, ArtifactArgs args)
    public Artifact(String name, ArtifactArgs args, CustomResourceOptions options)
    
    type: aws-native:sagemaker:Artifact
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_sagemaker_artifact" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ArtifactArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ArtifactArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ArtifactArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ArtifactArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ArtifactArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Artifact Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Artifact resource accepts the following input properties:

    ArtifactType string
    The artifact type.
    Source Pulumi.AwsNative.SageMaker.Inputs.ArtifactSource
    The source of the artifact.
    ArtifactName string
    The name of the artifact. Must be unique to your account in an AWS Region.
    MetadataProperties Pulumi.AwsNative.SageMaker.Inputs.ArtifactMetadataProperties
    Metadata properties of the tracking entity, trial, or trial component.
    Properties Dictionary<string, string>
    A list of properties to add to the artifact.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    A list of tags to apply to the artifact.
    ArtifactType string
    The artifact type.
    Source ArtifactSourceArgs
    The source of the artifact.
    ArtifactName string
    The name of the artifact. Must be unique to your account in an AWS Region.
    MetadataProperties ArtifactMetadataPropertiesArgs
    Metadata properties of the tracking entity, trial, or trial component.
    Properties map[string]string
    A list of properties to add to the artifact.
    Tags TagArgs
    A list of tags to apply to the artifact.
    artifact_type string
    The artifact type.
    source object
    The source of the artifact.
    artifact_name string
    The name of the artifact. Must be unique to your account in an AWS Region.
    metadata_properties object
    Metadata properties of the tracking entity, trial, or trial component.
    properties map(string)
    A list of properties to add to the artifact.
    tags list(object)
    A list of tags to apply to the artifact.
    artifactType String
    The artifact type.
    source ArtifactSource
    The source of the artifact.
    artifactName String
    The name of the artifact. Must be unique to your account in an AWS Region.
    metadataProperties ArtifactMetadataProperties
    Metadata properties of the tracking entity, trial, or trial component.
    properties Map<String,String>
    A list of properties to add to the artifact.
    tags List<Tag>
    A list of tags to apply to the artifact.
    artifactType string
    The artifact type.
    source ArtifactSource
    The source of the artifact.
    artifactName string
    The name of the artifact. Must be unique to your account in an AWS Region.
    metadataProperties ArtifactMetadataProperties
    Metadata properties of the tracking entity, trial, or trial component.
    properties {[key: string]: string}
    A list of properties to add to the artifact.
    tags Tag[]
    A list of tags to apply to the artifact.
    artifact_type str
    The artifact type.
    source ArtifactSourceArgs
    The source of the artifact.
    artifact_name str
    The name of the artifact. Must be unique to your account in an AWS Region.
    metadata_properties ArtifactMetadataPropertiesArgs
    Metadata properties of the tracking entity, trial, or trial component.
    properties Mapping[str, str]
    A list of properties to add to the artifact.
    tags Sequence[TagArgs]
    A list of tags to apply to the artifact.
    artifactType String
    The artifact type.
    source Property Map
    The source of the artifact.
    artifactName String
    The name of the artifact. Must be unique to your account in an AWS Region.
    metadataProperties Property Map
    Metadata properties of the tracking entity, trial, or trial component.
    properties Map<String>
    A list of properties to add to the artifact.
    tags List<Property Map>
    A list of tags to apply to the artifact.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Artifact resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) of the artifact.
    CreationTime string
    When the artifact was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedTime string
    When the artifact was last modified.
    Arn string
    The Amazon Resource Name (ARN) of the artifact.
    CreationTime string
    When the artifact was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedTime string
    When the artifact was last modified.
    arn string
    The Amazon Resource Name (ARN) of the artifact.
    creation_time string
    When the artifact was created.
    id string
    The provider-assigned unique ID for this managed resource.
    last_modified_time string
    When the artifact was last modified.
    arn String
    The Amazon Resource Name (ARN) of the artifact.
    creationTime String
    When the artifact was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedTime String
    When the artifact was last modified.
    arn string
    The Amazon Resource Name (ARN) of the artifact.
    creationTime string
    When the artifact was created.
    id string
    The provider-assigned unique ID for this managed resource.
    lastModifiedTime string
    When the artifact was last modified.
    arn str
    The Amazon Resource Name (ARN) of the artifact.
    creation_time str
    When the artifact was created.
    id str
    The provider-assigned unique ID for this managed resource.
    last_modified_time str
    When the artifact was last modified.
    arn String
    The Amazon Resource Name (ARN) of the artifact.
    creationTime String
    When the artifact was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedTime String
    When the artifact was last modified.

    Look up Existing Artifact Resource

    Get an existing Artifact resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Artifact
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> Artifact
    func GetArtifact(ctx *Context, name string, id IDInput, state *ArtifactState, opts ...ResourceOption) (*Artifact, error)
    public static Artifact Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static Artifact get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingArtifact:    type: aws-native:sagemaker:Artifact    get:      id: ${id}
    import {
      to = aws-native_sagemaker_artifact.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state ArtifactState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    ArtifactMetadataProperties, ArtifactMetadataPropertiesArgs

    CommitId string
    The commit ID.
    GeneratedBy string
    The entity this entity was generated by.
    ProjectId string
    The project ID.
    Repository string
    The repository.
    CommitId string
    The commit ID.
    GeneratedBy string
    The entity this entity was generated by.
    ProjectId string
    The project ID.
    Repository string
    The repository.
    commit_id string
    The commit ID.
    generated_by string
    The entity this entity was generated by.
    project_id string
    The project ID.
    repository string
    The repository.
    commitId String
    The commit ID.
    generatedBy String
    The entity this entity was generated by.
    projectId String
    The project ID.
    repository String
    The repository.
    commitId string
    The commit ID.
    generatedBy string
    The entity this entity was generated by.
    projectId string
    The project ID.
    repository string
    The repository.
    commit_id str
    The commit ID.
    generated_by str
    The entity this entity was generated by.
    project_id str
    The project ID.
    repository str
    The repository.
    commitId String
    The commit ID.
    generatedBy String
    The entity this entity was generated by.
    projectId String
    The project ID.
    repository String
    The repository.

    ArtifactSource, ArtifactSourceArgs

    SourceUri string
    The URI of the source.
    SourceTypes List<Pulumi.AwsNative.SageMaker.Inputs.ArtifactSourceType>
    A list of source types.
    SourceUri string
    The URI of the source.
    SourceTypes []ArtifactSourceType
    A list of source types.
    source_uri string
    The URI of the source.
    source_types list(object)
    A list of source types.
    sourceUri String
    The URI of the source.
    sourceTypes List<ArtifactSourceType>
    A list of source types.
    sourceUri string
    The URI of the source.
    sourceTypes ArtifactSourceType[]
    A list of source types.
    source_uri str
    The URI of the source.
    source_types Sequence[ArtifactSourceType]
    A list of source types.
    sourceUri String
    The URI of the source.
    sourceTypes List<Property Map>
    A list of source types.

    ArtifactSourceType, ArtifactSourceTypeArgs

    ArtifactSourceTypeSourceIdType

    The type of ID.

    NameValue
    Md5HashMD5Hash
    S3eTagS3ETag
    S3VersionS3Version
    CustomCustom
    NameValue
    ArtifactSourceTypeSourceIdTypeMd5HashMD5Hash
    ArtifactSourceTypeSourceIdTypeS3eTagS3ETag
    ArtifactSourceTypeSourceIdTypeS3VersionS3Version
    ArtifactSourceTypeSourceIdTypeCustomCustom
    Value
    MD5Hash
    S3ETag
    S3Version
    Custom
    NameValue
    Md5HashMD5Hash
    S3eTagS3ETag
    S3VersionS3Version
    CustomCustom
    NameValue
    Md5HashMD5Hash
    S3eTagS3ETag
    S3VersionS3Version
    CustomCustom
    NameValue
    MD5_HASHMD5Hash
    S3E_TAGS3ETag
    S3_VERSIONS3Version
    CUSTOMCustom
    Value
    MD5Hash
    S3ETag
    S3Version
    Custom

    Tag, TagArgs

    A set of tags to apply to the resource.

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial