sagemaker:DeleteAssociation

Write

sagemaker:DeleteAssociation is a Write access-level action in the sagemaker service. Grants permission to delete the association from a lineage entity (artifact, context, action, experiment, experiment-trial-component) to another

Resource types

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

arn:${Partition}:sagemaker:${Region}:${Account}:action/${ActionName}
action
arn:${Partition}:sagemaker:${Region}:${Account}:artifact/${HashOfArtifactSource}
artifact
arn:${Partition}:sagemaker:${Region}:${Account}:context/${ContextName}
context
arn:${Partition}:sagemaker:${Region}:${Account}:experiment/${ExperimentName}
experiment
arn:${Partition}:sagemaker:${Region}:${Account}:experiment-trial-component/${TrialComponentName}
experiment-trial-component

Condition keys

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

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:DeleteAssociation. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in sagemaker

View all sagemaker actions →