View a markdown version of this page

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

Actions, resources, and condition keys for Amazon CloudWatch Network Synthetic Monitor

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

References:

API operations defined by Amazon CloudWatch Network Synthetic 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

networkmonitor:CreateMonitor

Write

networkmonitor:TagResource

Tagging, Write

CreateProbe

networkmonitor:CreateProbe

Write

networkmonitor:TagResource

Tagging, Write

DeleteMonitor

networkmonitor:DeleteMonitor

Write

DeleteProbe

networkmonitor:DeleteProbe

Write

GetMonitor

networkmonitor:GetMonitor

Read

GetProbe

networkmonitor:GetProbe

Read

ListMonitors

networkmonitor:ListMonitors

List

ListTagsForResource

networkmonitor:ListTagsForResource

Read

TagResource

networkmonitor:TagResource

Tagging, Write

UntagResource

networkmonitor:UntagResource

Tagging, Write

UpdateMonitor

networkmonitor:UpdateMonitor

Write

UpdateProbe

networkmonitor:UpdateProbe

Write

Actions defined by Amazon CloudWatch Network Synthetic 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

CreateProbe

Grants permission to create a probe

aws:RequestTag/${TagKey}

aws:TagKeys

Write

DeleteMonitor

Grants permission to delete a monitor

monitor*

aws:ResourceTag/${TagKey}

Write

DeleteProbe

Grants permission to delete a probe

probe*

aws:ResourceTag/${TagKey}

Write

GetMonitor

Grants permission to get information about a monitor

monitor*

aws:ResourceTag/${TagKey}

Read

GetProbe

Grants permission to get information about a probe

probe*

aws:ResourceTag/${TagKey}

Read

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

probe

aws:ResourceTag/${TagKey}

TagResource

Grants permission to add tags to a resource

monitor

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

probe

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

Grants permission to remove tags from a resource

monitor

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

probe

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateMonitor

Grants permission to update a monitor

monitor*

aws:ResourceTag/${TagKey}

Write

UpdateProbe

Grants permission to update a probe

probe*

aws:ResourceTag/${TagKey}

Write

Resource types defined by Amazon CloudWatch Network Synthetic 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

monitor

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

aws:ResourceTag/${TagKey}

probe

arn:${Partition}:networkmonitor:${Region}:${Account}:probe/${ProbeId}

aws:ResourceTag/${TagKey}

Condition keys for Amazon CloudWatch Network Synthetic Monitor

Amazon CloudWatch Network Synthetic 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 the tag key-value pairs in the request

String

aws:ResourceTag/${TagKey}

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

String

aws:TagKeys

Filters access by the tag keys in the request

ArrayOfString