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 key that is present in the request the user makes to the SageMaker service
Filters access by the list of all the tag key names associated with the resource in the request
Filters access by a metadata key and value pair
Filters access by the model approval status with the model-package in the request
Filters access by stage field in the model life cycle object associated with the model-package resource in the request
Filters access by stageStatus field in the model life cycle object associated with the model-package resource in the request
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
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": "*"
}
]
}