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

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

Viewing docs for AWS Cloud Control v1.75.0
published on Monday, Aug 17, 2026 by Pulumi
aws-native logo aws-native logo

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

Viewing docs for AWS Cloud Control v1.75.0
published on Monday, Aug 17, 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.

    Using getArtifact

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getArtifact(args: GetArtifactArgs, opts?: InvokeOptions): Promise<GetArtifactResult>
    function getArtifactOutput(args: GetArtifactOutputArgs, opts?: InvokeOutputOptions): Output<GetArtifactResult>
    def get_artifact(arn: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetArtifactResult
    def get_artifact_output(arn: pulumi.Input[Optional[str]] = None,
                     opts: Optional[InvokeOutputOptions] = None) -> Output[GetArtifactResult]
    func LookupArtifact(ctx *Context, args *LookupArtifactArgs, opts ...InvokeOption) (*LookupArtifactResult, error)
    func LookupArtifactOutput(ctx *Context, args *LookupArtifactOutputArgs, opts ...InvokeOption) LookupArtifactResultOutput

    > Note: This function is named LookupArtifact in the Go SDK.

    public static class GetArtifact 
    {
        public static Task<GetArtifactResult> InvokeAsync(GetArtifactArgs args, InvokeOptions? opts = null)
        public static Output<GetArtifactResult> Invoke(GetArtifactInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetArtifactResult> Invoke(GetArtifactInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetArtifactResult> getArtifact(GetArtifactArgs args, InvokeOptions options)
    public static Output<GetArtifactResult> getArtifact(GetArtifactArgs args, InvokeOptions options)
    public static Output<GetArtifactResult> getArtifact(GetArtifactArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:sagemaker:getArtifact
      arguments:
        # arguments dictionary
    data "aws-native_sagemaker_get_artifact" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the artifact.
    Arn string
    The Amazon Resource Name (ARN) of the artifact.
    arn string
    The Amazon Resource Name (ARN) of the artifact.
    arn String
    The Amazon Resource Name (ARN) of the artifact.
    arn string
    The Amazon Resource Name (ARN) of the artifact.
    arn str
    The Amazon Resource Name (ARN) of the artifact.
    arn String
    The Amazon Resource Name (ARN) of the artifact.

    getArtifact Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the artifact.
    ArtifactName string
    The name of the artifact. Must be unique to your account in an AWS Region.
    CreationTime string
    When the artifact was created.
    LastModifiedTime string
    When the artifact was last modified.
    Properties Dictionary<string, string>
    A list of properties to add to the artifact.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    A list of tags to apply to the artifact.
    Arn string
    The Amazon Resource Name (ARN) of the artifact.
    ArtifactName string
    The name of the artifact. Must be unique to your account in an AWS Region.
    CreationTime string
    When the artifact was created.
    LastModifiedTime string
    When the artifact was last modified.
    Properties map[string]string
    A list of properties to add to the artifact.
    Tags Tag
    A list of tags to apply to the artifact.
    arn string
    The Amazon Resource Name (ARN) of the artifact.
    artifact_name string
    The name of the artifact. Must be unique to your account in an AWS Region.
    creation_time string
    When the artifact was created.
    last_modified_time string
    When the artifact was last modified.
    properties map(string)
    A list of properties to add to the artifact.
    tags list(object)
    A list of tags to apply to the artifact.
    arn String
    The Amazon Resource Name (ARN) of the artifact.
    artifactName String
    The name of the artifact. Must be unique to your account in an AWS Region.
    creationTime String
    When the artifact was created.
    lastModifiedTime String
    When the artifact was last modified.
    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.
    arn string
    The Amazon Resource Name (ARN) of the artifact.
    artifactName string
    The name of the artifact. Must be unique to your account in an AWS Region.
    creationTime string
    When the artifact was created.
    lastModifiedTime string
    When the artifact was last modified.
    properties {[key: string]: string}
    A list of properties to add to the artifact.
    tags Tag[]
    A list of tags to apply to the artifact.
    arn str
    The Amazon Resource Name (ARN) of the artifact.
    artifact_name str
    The name of the artifact. Must be unique to your account in an AWS Region.
    creation_time str
    When the artifact was created.
    last_modified_time str
    When the artifact was last modified.
    properties Mapping[str, str]
    A list of properties to add to the artifact.
    tags Sequence[root_Tag]
    A list of tags to apply to the artifact.
    arn String
    The Amazon Resource Name (ARN) of the artifact.
    artifactName String
    The name of the artifact. Must be unique to your account in an AWS Region.
    creationTime String
    When the artifact was created.
    lastModifiedTime String
    When the artifact was last modified.
    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.

    Supporting Types

    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 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

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

    Viewing docs for AWS Cloud Control v1.75.0
    published on Monday, Aug 17, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial