sagemaker:CreateArtifact

Write

sagemaker:CreateArtifact is a Write access-level action in the sagemaker service. Grants permission to create an artifact

Resource types

ARNs that sagemaker:CreateArtifact can be scoped to in an IAM policy.

arn:${Partition}:sagemaker:${Region}:${Account}:artifact/${HashOfArtifactSource} required
artifact

Condition keys

Keys you can use in the Condition block of a policy that grants sagemaker:CreateArtifact.

aws:RequestTag/${TagKey} String

Filters access by a key that is present in the request the user makes to the SageMaker service

aws:TagKeys ArrayOfString

Filters access by the list of all the tag key names associated with the resource in the request

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair

sagemaker:ResourceTag/${TagKey} String

Filters access by a tag key and value pair

Example IAM policy

A minimal policy that allows sagemaker:CreateArtifact. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSagemakerCreateArtifact",
      "Effect": "Allow",
      "Action": "sagemaker:CreateArtifact",
      "Resource": "*"
    }
  ]
}

Related actions in sagemaker

View all sagemaker actions →