geo:GetGeofence

Read

geo:GetGeofence is a Read access-level action in the geo service. Grants permission to retrieve the geofence details from a geofence-collection

Resource types

ARNs that geo:GetGeofence can be scoped to in an IAM policy.

arn:${Partition}:geo:${Region}:${Account}:geofence-collection/${GeofenceCollectionName}
geofence-collection

Condition keys

Keys you can use in the Condition block of a policy that grants geo:GetGeofence.

aws:ResourceTag/${TagKey} String

Filters access by the presence of tag key-value pairs in the request

geo:GeofenceIds ArrayOfString

Filters access by the presence of geofence ids in the request

Example IAM policy

A minimal policy that allows geo:GetGeofence. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowGeoGetGeofence",
      "Effect": "Allow",
      "Action": "geo:GetGeofence",
      "Resource": "*"
    }
  ]
}

Related actions in geo

View all geo actions →