sagemaker:DescribeHubContent

Read

sagemaker:DescribeHubContent is a Read access-level action in the sagemaker service. Grants permission to describe hub content

Resource types

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

arn:${Partition}:sagemaker:${Region}:${Account}:hub/${HubName}
hub
arn:${Partition}:sagemaker:${Region}:${Account}:hub-content/${HubName}/${HubContentType}/${HubContentName}
hub-content

Condition keys

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

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

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

Related actions in sagemaker

View all sagemaker actions →