sagemaker:AccessModelPackage is a Read access-level action in the sagemaker service. Grants permission to access model package that can be used in Amazon SageMaker training or hosting services
ARNs that sagemaker:AccessModelPackage can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants sagemaker:AccessModelPackage.
Filters access by a tag key and value pair
Filters access by a current metadata key and value pair associated with the model-package resource
Filters access by the current value of the Stage field in the model life cycle object associated with the model-package resource
Filters access by the current value of the StageStatus field in the model life cycle object associated with the model-package resource
Filters access by a tag key and value pair
A minimal policy that allows sagemaker:AccessModelPackage. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowSagemakerAccessModelPackage",
"Effect": "Allow",
"Action": "sagemaker:AccessModelPackage",
"Resource": "*"
}
]
}