We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 17, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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.
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:
- Artifact
Type string - The artifact type.
- Source
Pulumi.
Aws Native. Sage Maker. Inputs. Artifact Source - 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 Pulumi.Aws Native. Sage Maker. Inputs. Artifact Metadata Properties - Metadata properties of the tracking entity, trial, or trial component.
- Properties Dictionary<string, string>
- A list of properties to add to the artifact.
-
List<Pulumi.
Aws Native. Inputs. Tag> - A list of tags to apply to the artifact.
- Artifact
Type string - The artifact type.
- Source
Artifact
Source Args - 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 ArtifactMetadata Properties Args - Metadata properties of the tracking entity, trial, or trial component.
- Properties map[string]string
- A list of properties to add to the artifact.
-
Tag
Args - 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.
- list(object)
- A list of tags to apply to the artifact.
- artifact
Type String - The artifact type.
- source
Artifact
Source - 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 ArtifactMetadata Properties - Metadata properties of the tracking entity, trial, or trial component.
- properties Map<String,String>
- A list of properties to add to the artifact.
- List<Tag>
- A list of tags to apply to the artifact.
- artifact
Type string - The artifact type.
- source
Artifact
Source - 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 ArtifactMetadata Properties - Metadata properties of the tracking entity, trial, or trial component.
- properties {[key: string]: string}
- A list of properties to add to the artifact.
- Tag[]
- A list of tags to apply to the artifact.
- artifact_
type str - The artifact type.
- source
Artifact
Source Args - 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 ArtifactMetadata Properties Args - Metadata properties of the tracking entity, trial, or trial component.
- properties Mapping[str, str]
- A list of properties to add to the artifact.
-
Sequence[Tag
Args] - A list of tags to apply to the artifact.
- artifact
Type String - The artifact type.
- source Property Map
- 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 Property Map - Metadata properties of the tracking entity, trial, or trial component.
- properties Map<String>
- A list of properties to add to the artifact.
- 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.
- Creation
Time string - When the artifact was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringTime - 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 stringTime - 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_ stringtime - 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 StringTime - 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 stringTime - 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_ strtime - 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 StringTime - When the artifact was last modified.
Supporting Types
ArtifactMetadataProperties, ArtifactMetadataPropertiesArgs
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
ArtifactSource, ArtifactSourceArgs
- Source
Uri string - The URI of the source.
- Source
Types List<Pulumi.Aws Native. Sage Maker. Inputs. Artifact Source Type> - A list of source types.
- Source
Uri string - The URI of the source.
- Source
Types []ArtifactSource Type - A list of source types.
- source_
uri string - The URI of the source.
- source_
types list(object) - A list of source types.
- source
Uri String - The URI of the source.
- source
Types List<ArtifactSource Type> - A list of source types.
- source
Uri string - The URI of the source.
- source
Types ArtifactSource Type[] - A list of source types.
- source_
uri str - The URI of the source.
- source_
types Sequence[ArtifactSource Type] - A list of source types.
- source
Uri String - The URI of the source.
- source
Types List<Property Map> - A list of source types.
ArtifactSourceType, ArtifactSourceTypeArgs
- Source
Id Pulumi.Type Aws Native. Sage Maker. Artifact Source Type Source Id Type - The type of ID.
- Value string
- The ID.
- Source
Id ArtifactType Source Type Source Id Type - The type of ID.
- Value string
- The ID.
- source_
id_ "MD5Hash" | "S3ETag" | "S3Version" | "Custom"type - The type of ID.
- value string
- The ID.
- source
Id ArtifactType Source Type Source Id Type - The type of ID.
- value String
- The ID.
- source
Id ArtifactType Source Type Source Id Type - The type of ID.
- value string
- The ID.
- source_
id_ Artifacttype Source Type Source Id Type - The type of ID.
- value str
- The ID.
- source
Id "MD5Hash" | "S3ETag" | "S3Version" | "Custom"Type - The type of ID.
- value String
- The ID.
ArtifactSourceTypeSourceIdType, ArtifactSourceTypeSourceIdTypeArgs
- Md5Hash
MD5Hash- S3e
Tag S3ETag- S3Version
S3Version- Custom
Custom
- Artifact
Source Type Source Id Type Md5Hash MD5Hash- Artifact
Source Type Source Id Type S3e Tag S3ETag- Artifact
Source Type Source Id Type S3Version S3Version- Artifact
Source Type Source Id Type Custom Custom
- "MD5Hash"
MD5Hash- "S3ETag"
S3ETag- "S3Version"
S3Version- "Custom"
Custom
- Md5Hash
MD5Hash- S3e
Tag S3ETag- S3Version
S3Version- Custom
Custom
- Md5Hash
MD5Hash- S3e
Tag S3ETag- S3Version
S3Version- Custom
Custom
- MD5_HASH
MD5Hash- S3E_TAG
S3ETag- S3_VERSION
S3Version- CUSTOM
Custom
- "MD5Hash"
MD5Hash- "S3ETag"
S3ETag- "S3Version"
S3Version- "Custom"
Custom
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 17, 2026 by Pulumi