Actions, resources, and condition keys for AWS IoT Greengrass V2
AWS IoT Greengrass V2 (service prefix: greengrass) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by AWS IoT Greengrass V2
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 |
|---|---|---|---|---|
|
AssociateServiceRoleToAccount |
Permissions management, Write |
|||
iam:PassedToService |
greengrass.amazonaws.com |
Write |
||
|
BatchAssociateClientDeviceWithCoreDevice |
Write |
|||
|
BatchDisassociateClientDeviceFromCoreDevice |
Write |
|||
|
CancelDeployment |
Write |
|||
|
CreateComponentVersion |
Write |
|||
Tagging, Write |
||||
|
CreateDeployment |
Write |
|||
Tagging, Write |
||||
|
DeleteComponent |
Write |
|||
|
DeleteCoreDevice |
Write |
|||
|
DeleteDeployment |
Write |
|||
|
DescribeComponent |
Read |
|||
|
DisassociateServiceRoleFromAccount |
Write |
|||
|
GetComponent |
Read |
|||
|
GetComponentVersionArtifact |
Read |
|||
|
GetConnectivityInfo |
Read |
|||
|
GetCoreDevice |
Read |
|||
|
GetDeployment |
Read |
|||
|
GetServiceRoleForAccount |
Read |
|||
|
ListClientDevicesAssociatedWithCoreDevice |
List |
|||
|
ListComponentVersions |
List |
|||
|
ListComponents |
List |
|||
|
ListCoreDevices |
List |
|||
|
ListDeployments |
List |
|||
|
ListEffectiveDeployments |
List |
|||
|
ListInstalledComponents |
List |
|||
|
ListTagsForResource |
Read |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateConnectivityInfo |
Write |
Actions defined by AWS IoT Greengrass V2
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 |
|---|---|---|---|---|
Grants permission to associate a role with your account. AWS IoT Greengrass uses this role to access your Lambda functions and AWS IoT resources |
Permissions management, Write |
|||
Grants permission to associate a list of client devices with a core device |
Write |
|||
Grants permission to disassociate a list of client devices from a core device |
Write |
|||
Grants permission to cancel a deployment |
Write |
|||
Grants permission to create a component |
Write |
|||
Grants permission to create a deployment |