sagemaker:CreateModelPackage is a Write access-level action in the sagemaker service. Grants permission to create a ModelPackage
ARNs that sagemaker:CreateModelPackage can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants sagemaker:CreateModelPackage.
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
To use sagemaker:CreateModelPackage you may also need to grant:
A minimal policy that allows sagemaker:CreateModelPackage. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowSagemakerCreateModelPackage",
"Effect": "Allow",
"Action": "sagemaker:CreateModelPackage",
"Resource": "*"
}
]
}