View a markdown version of this page

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

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

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

References:

Actions defined by Amazon Lookout for Vision

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

CreateDataset

Grants permission to create a dataset manifest

Write

CreateModel

Grants permission to create a new anomaly detection model

model*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

CreateProject

Grants permission to create a new project

project*

Write

DeleteDataset

Grants permission to delete a dataset

Write

DeleteModel

Grants permission to delete a model and all associated assets

model*

aws:ResourceTag/${TagKey}

Write

DeleteProject

Grants permission to permanently remove a project

project*

Write

DescribeDataset

Grants permission to show detailed information about dataset manifest

Read

DescribeModel

Grants permission to show detailed information about a model

model*

aws:ResourceTag/${TagKey}

Read

DescribeModelPackagingJob

Grants permission to show detailed information about a model packaging job

Read

DescribeProject

Grants permission to show detailed information about a project

project*

Read

DetectAnomalies

Grants permission to invoke detection of anomalies

model*

aws:ResourceTag/${TagKey}

Write

ListDatasetEntries

Grants permission to list the contents of dataset manifest

Read

ListModelPackagingJobs

Grants permission to list all model packaging jobs associated with a project

List

ListModels

Grants permission to list all models associated with a project

List

ListProjects

Grants permission to list all projects

List

ListTagsForResource

Grants permission to list tags for a resource

model

aws:ResourceTag/${TagKey}

Read

StartModel

Grants permission to start anomaly detection model

model*

aws:ResourceTag/${TagKey}

Write

StartModelPackagingJob

Grants permission to start a model packaging job

model*

aws:ResourceTag/${TagKey}

Write

StopModel

Grants permission to stop anomaly detection model

model*

aws:ResourceTag/${TagKey}

Write

TagResource

Grants permission to tag a resource with given key value pairs

model

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

UntagResource

Grants permission to remove the tag with the given key from a resource

model

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

UpdateDatasetEntries

Grants permission to update a training or test dataset manifest

Write

Permission-only actions for Amazon Lookout for Vision

The following actions are defined by Amazon Lookout for Vision 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

DescribeTrialDetection

Grants permission to provides state information about a running anomaly detection job

Read

ListTrialDetections

Grants permission to list all anomaly detection jobs

List

StartTrialDetection

Grants permission to start bulk detection of anomalies for a set of images stored in an S3 bucket

Write

Resource types defined by Amazon Lookout for Vision

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

model

arn:${Partition}:lookoutvision:${Region}:${Account}:model/${ProjectName}/${ModelVersion}

aws:ResourceTag/${TagKey}

project

arn:${Partition}:lookoutvision:${Region}:${Account}:project/${ProjectName}

Condition keys for Amazon Lookout for Vision

Amazon Lookout for Vision 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