View a markdown version of this page

Actions, resources, and condition keys for Amazon CloudWatch Internet Monitor - Service Authorization Reference

Actions, resources, and condition keys for Amazon CloudWatch Internet Monitor

Amazon CloudWatch Internet Monitor (service prefix: internetmonitor) provides the following service-specific operations, resources, actions, and condition keys for use in IAM permission policies.

References:

API operations defined by Amazon CloudWatch Internet Monitor

The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.

Operation IAM action Condition key Possible value(s) Access level

CreateMonitor

internetmonitor:CreateMonitor

Write

internetmonitor:TagResource

Tagging, Write

DeleteMonitor

internetmonitor:DeleteMonitor

Write

GetHealthEvent

internetmonitor:GetHealthEvent

Read

GetInternetEvent

internetmonitor:GetInternetEvent

Read

GetMonitor

internetmonitor:GetMonitor

Read

GetQueryResults

internetmonitor:GetQueryResults

Read

GetQueryStatus

internetmonitor:GetQueryStatus

Read

ListHealthEvents

internetmonitor:ListHealthEvents

List

ListInternetEvents

internetmonitor:ListInternetEvents

List

ListMonitors

internetmonitor:ListMonitors

List

ListTagsForResource

internetmonitor:ListTagsForResource

Read

StartQuery

internetmonitor:StartQuery

Read

StopQuery

internetmonitor:StopQuery

Read

TagResource

internetmonitor:TagResource

Tagging, Write

UntagResource

internetmonitor:UntagResource

Tagging, Write

UpdateMonitor

internetmonitor:UpdateMonitor

Write

Actions defined by Amazon CloudWatch Internet Monitor

You can specify the following actions in the Action element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.

Actions Description Resource types (*required) Condition keys Access level

CreateMonitor

Grants permission to create a monitor

Monitor*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

DeleteMonitor

Grants permission to delete a monitor

Monitor*

aws:ResourceTag/${TagKey}

Write

GetHealthEvent

Grants permission to get information about a health event for a specified monitor

Monitor*

aws:ResourceTag/${TagKey}

Read

GetInternetEvent

Grants permission to get information about a specified internet event

InternetEvent*

Read

GetMonitor

Grants permission to get information about a monitor

Monitor*

aws:ResourceTag/${TagKey}

Read

GetQueryResults

Grants permission to get results for a data query for a monitor

Monitor*

aws:ResourceTag/${TagKey}

Read

GetQueryStatus

Grants permission to get status for a data query for a monitor

Monitor*

aws:ResourceTag/${TagKey}

Read

ListHealthEvents

Grants permission to list all health events for a monitor

Monitor*

aws:ResourceTag/${TagKey}

List

ListInternetEvents

Grants permission to list all internet events

List

ListMonitors

Grants permission to list all monitors in an account and their statuses

List

ListTagsForResource

Grants permission to list the tags for a resource

Monitor*

aws:ResourceTag/${TagKey}

Read

StartQuery

Grants permission to start a data query for a monitor

Monitor*

aws:ResourceTag/${TagKey}

Read

StopQuery

Grants permission to stop a data query for a monitor

Monitor*

aws:ResourceTag/${TagKey}

Read

TagResource

Grants permission to add tags to a resource

Monitor*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

UntagResource

Grants permission to remove tags from a resource

Monitor*

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

UpdateMonitor

Grants permission to update a monitor

Monitor*

aws:ResourceTag/${TagKey}

Write

Permission-only actions for Amazon CloudWatch Internet Monitor

The following actions are defined by Amazon CloudWatch Internet Monitor but are not directly invocable through any API operation. They can only be used in IAM policy statements to grant or deny permissions.

Actions Description Resource types (*required) Condition keys Access level

Link

Grants permission to share Internet Monitor resources with a monitoring account

Write

Resource types defined by Amazon CloudWatch Internet Monitor

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements.

Resource types ARN Condition keys

HealthEvent

arn:${Partition}:internetmonitor:${Region}:${Account}:monitor/${MonitorName}/health-event/${EventId}

aws:ResourceTag/${TagKey}

InternetEvent

arn:${Partition}:internetmonitor::${Account}:internet-event/${InternetEventId}

Monitor

arn:${Partition}:internetmonitor:${Region}:${Account}:monitor/${MonitorName}

aws:ResourceTag/${TagKey}

Condition keys for Amazon CloudWatch Internet Monitor

Amazon CloudWatch Internet Monitor defines the following condition keys that can be used in the Condition element of an IAM policy.

Condition keys Description Type

aws:RequestTag/${TagKey}

Filters access by tag key-value pairs in the request

String

aws:ResourceTag/${TagKey}

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

String

aws:TagKeys

Filters access by tag keys in the request

ArrayOfString