sagemaker-geospatial:TagResource

Tagging

sagemaker-geospatial:TagResource is a Tagging access-level action in the sagemaker-geospatial service. Grants permission to tag an SageMaker Geospatial resource

Resource types

ARNs that sagemaker-geospatial:TagResource can be scoped to in an IAM policy.

arn:${Partition}:sagemaker-geospatial:${Region}:${Account}:earth-observation-job/${JobID}
EarthObservationJob
arn:${Partition}:sagemaker-geospatial:${Region}:${Account}:raster-data-collection/${CollectionID}
RasterDataCollection
arn:${Partition}:sagemaker-geospatial:${Region}:${Account}:vector-enrichment-job/${JobID}
VectorEnrichmentJob

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

A minimal policy that allows sagemaker-geospatial:TagResource. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in sagemaker-geospatial

View all sagemaker-geospatial actions →