View a markdown version of this page

Actions, resources, and condition keys for Amazon Lookout for Metrics - Service Authorization Reference

Actions, resources, and condition keys for Amazon Lookout for Metrics

Amazon Lookout for Metrics (service prefix: lookoutmetrics) provides the following service-specific operations, resources, actions, and condition keys for use in IAM permission policies.

References:

Actions defined by Amazon Lookout for Metrics

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

ActivateAnomalyDetector

Grants permission to activate an anomaly detector

AnomalyDetector*

aws:ResourceTag/${TagKey}

Write

BackTestAnomalyDetector

Grants permission to run a backtest with an anomaly detector

AnomalyDetector*

aws:ResourceTag/${TagKey}

Write

CreateAlert

Grants permission to create an alert for an anomaly detector

Alert*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

AnomalyDetector*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

CreateAnomalyDetector

Grants permission to create an anomaly detector

AnomalyDetector*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

CreateMetricSet

Grants permission to create a dataset

AnomalyDetector*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

MetricSet*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

DeactivateAnomalyDetector

Grants permission to deactivate an anomaly detector

AnomalyDetector*

aws:ResourceTag/${TagKey}

Write

DeleteAlert

Grants permission to delete an alert

Alert*

aws:ResourceTag/${TagKey}

Write

DeleteAnomalyDetector

Grants permission to delete an anomaly detector

AnomalyDetector*

aws:ResourceTag/${TagKey}

Write

DescribeAlert

Grants permission to get details about an alert

Alert*

aws:ResourceTag/${TagKey}

Read

DescribeAnomalyDetectionExecutions

Grants permission to get information about an anomaly detection job

AnomalyDetector*

aws:ResourceTag/${TagKey}

Read

DescribeAnomalyDetector

Grants permission to get details about an anomaly detector

AnomalyDetector*

aws:ResourceTag/${TagKey}

Read

DescribeMetricSet

Grants permission to get details about a dataset

MetricSet*

aws:ResourceTag/${TagKey}

Read

DetectMetricSetConfig

Grants permission to detect metric set config from data source

AnomalyDetector*

aws:ResourceTag/${TagKey}

Write

GetAnomalyGroup

Grants permission to get details about a group of affected metrics

AnomalyDetector*

aws:ResourceTag/${TagKey}

Read

GetDataQualityMetrics

Grants permission to get data quality metrics for an anomaly detector

AnomalyDetector*

aws:ResourceTag/${TagKey}

Read

GetFeedback

Grants permission to get feedback on affected metrics for an anomaly group

AnomalyDetector*

aws:ResourceTag/${TagKey}

Read

GetSampleData

Grants permission to get a selection of sample records from an Amazon S3 datasource

Read

ListAlerts

Grants permission to get a list of alerts for a detector

AnomalyDetector

aws:ResourceTag/${TagKey}

List

ListAnomalyDetectors

Grants permission to get a list of anomaly detectors

List

ListAnomalyGroupRelatedMetrics

Grants permission to get a list of related measures in an anomaly group

AnomalyDetector*

aws:ResourceTag/${TagKey}

List

ListAnomalyGroupSummaries

Grants permission to get a list of anomaly groups

AnomalyDetector*

aws:ResourceTag/${TagKey}

List

ListAnomalyGroupTimeSeries

Grants permission to get a list of affected metrics for a measure in an anomaly group

AnomalyDetector*

aws:ResourceTag/${TagKey}

List

ListMetricSets

Grants permission to get a list of datasets

AnomalyDetector

aws:ResourceTag/${TagKey}

List

ListTagsForResource

Grants permission to get a list of tags for a detector, dataset, or alert

Alert

aws:ResourceTag/${TagKey}

Read

AnomalyDetector

aws:ResourceTag/${TagKey}

MetricSet

aws:ResourceTag/${TagKey}

PutFeedback

Grants permission to add feedback for an affected metric in an anomaly group

AnomalyDetector*

aws:ResourceTag/${TagKey}

Write

TagResource

Grants permission to add tags to a detector, dataset, or alert

Alert

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

AnomalyDetector

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

MetricSet

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

Grants permission to remove tags from a detector, dataset, or alert

Alert

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

AnomalyDetector

aws:ResourceTag/${TagKey}

aws:TagKeys

MetricSet

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateAlert

Grants permission to update an alert for an anomaly detector

Alert*

aws:ResourceTag/${TagKey}

Write

UpdateAnomalyDetector

Grants permission to update an anomaly detector

AnomalyDetector*

aws:ResourceTag/${TagKey}

Write

UpdateMetricSet

Grants permission to update a dataset

MetricSet*

aws:ResourceTag/${TagKey}

Write

Resource types defined by Amazon Lookout for Metrics

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

Alert

arn:${Partition}:lookoutmetrics:${Region}:${Account}:Alert:${AlertName}

aws:ResourceTag/${TagKey}

AnomalyDetector

arn:${Partition}:lookoutmetrics:${Region}:${Account}:AnomalyDetector:${AnomalyDetectorName}

aws:ResourceTag/${TagKey}

MetricSet

arn:${Partition}:lookoutmetrics:${Region}:${Account}:MetricSet/${AnomalyDetectorName}/${MetricSetName}

aws:ResourceTag/${TagKey}

Condition keys for Amazon Lookout for Metrics

Amazon Lookout for Metrics 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 tags that are passed in the request

String

aws:ResourceTag/${TagKey}

Filters access by the tags associated with the resource

String

aws:TagKeys

Filters access by the tag keys that are passed in the request

ArrayOfString