Actions, resources, and condition keys for Amazon IoT TwinMaker
Amazon IoT TwinMaker (service prefix: iottwinmaker) 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 Amazon IoT TwinMaker
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 |
|---|---|---|---|---|
|
BatchPutPropertyValues |
Write |
|||
|
CancelMetadataTransferJob |
Write |
|||
|
CreateComponentType |
Write |
|||
Tagging, Write |
||||
|
CreateEntity |
Write |
|||
Tagging, Write |
||||
|
CreateMetadataTransferJob |
Write |
|||
|
CreateScene |
Write |
|||
Tagging, Write |
||||
|
CreateSyncJob |
Write |
|||
Tagging, Write |
||||
iam:PassedToService |
iottwinmaker.amazonaws.com |
Write |
||
|
CreateWorkspace |
Write |
|||
Tagging, Write |
||||
iam:PassedToService |
iottwinmaker.amazonaws.com |
Write |
||
|
DeleteComponentType |
Write |
|||
|
DeleteEntity |
Write |
|||
|
DeleteScene |
Write |
|||
|
DeleteSyncJob |
Write |
|||
|
DeleteWorkspace |
Write |
|||
|
ExecuteQuery |
Read |
|||
|
GetComponentType |
Read |
|||
|
GetEntity |
Read |
|||
|
GetMetadataTransferJob |
Read |
|||
|
GetPricingPlan |
Read |
|||
|
GetPropertyValue |
Read |
|||
|
GetPropertyValueHistory |
Read |
|||
|
GetScene |
Read |
|||
|
GetSyncJob |
Read |
|||
|
GetWorkspace |
Read |
|||
|
ListComponentTypes |
List |
|||
|
ListComponents |
List |
|||
|
ListEntities |
List |
|||
|
ListMetadataTransferJobs |
List |
|||
|
ListProperties |
List |
|||
|
ListScenes |
List |
|||
|
ListSyncJobs |
List |
|||
|
ListSyncResources |
List |
|||
|
ListTagsForResource |
List |
|||
|
ListWorkspaces |
List |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateComponentType |
Write |
|||
|
UpdateEntity |
Write |
|||
|
UpdatePricingPlan |
Write |
|||
|
UpdateScene |
Write |
|||
|
UpdateWorkspace |
Write |
Actions defined by Amazon IoT TwinMaker
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 Amazon. 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 set values for multiple time series properties |
Write |
|||
Grants permission to cancel a metadata transfer job |
Write |
|||
Grants permission to create a componentType |
Write |
|||
Grants permission to create an entity |
Write |
|||
Grants permission to create a metadata transfer job |
Write |
|||
Grants permission to create a scene |
Write |
|||
Grants permission to create a sync job |
Write |
|||
Grants permission to create a workspace |
Write |
|||
Grants permission to delete a componentType |
Write |
|||
Grants permission to delete an entity |
Write |
|||
Grants permission to delete a scene |
Write |
|||
Grants permission to delete a sync job |
Write |
|||
Grants permission to delete a workspace |
Write |
|||
Grants permission to execute query |
Read |
|||
Grants permission to get a componentType |
Read |
|||
Grants permission to get an entity |
Read |
|||
Grants permission to get a metadata transfer job |
Read |
|||
Grants permission to get pricing plan |
Read |
|||
Grants permission to retrieve the property values |
Read |
|||
Grants permission to retrieve the time series value history |
Read |
|||
Grants permission to get a scene |
Read |
|||
Grants permission to get a sync job |
Read |
|||
Grants permission to get a workspace |
Read |
|||
Grants permission to list all componentTypes in a workspace |
List |
|||
Grants permission to list components attached to an entity |
List |
|||
Grants permission to list all entities in a workspace |
List |
|||
Grants permission to list all metadata transfer jobs |
List |
|||
Grants permission to list properties of an entity component |
List |
|||
Grants permission to list all scenes in a workspace |
List |
|||
Grants permission to list all sync jobs in a workspace |
List |
|||
Grants permission to list all sync resources for a sync job |
List |
|||
Grants permission to list all tags for a resource |
List |
|||
Grants permission to list all workspaces |
List |
|||
Grants permission to tag a resource |
Tagging, Write |
|||
Grants permission to untag a resource |
Tagging, Write |
|||
Grants permission to update a componentType |
Write |
|||
Grants permission to update an entity |
Write |
|||
Grants permission to update pricing plan |
Write |
|||
Grants permission to update a scene |
Write |
|||
Grants permission to update a workspace |
Write |
Resource types defined by Amazon IoT TwinMaker
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 |
|---|---|---|
arn:${Partition}:iottwinmaker:${Region}:${Account}:workspace/${WorkspaceId}/component-type/${ComponentTypeId} |
||
arn:${Partition}:iottwinmaker:${Region}:${Account}:workspace/${WorkspaceId}/entity/${EntityId} |
||
arn:${Partition}:iottwinmaker:${Region}:${Account}:metadata-transfer-job/${MetadataTransferJobId} |
||
arn:${Partition}:iottwinmaker:${Region}:${Account}:workspace/${WorkspaceId}/scene/${SceneId} |
||
arn:${Partition}:iottwinmaker:${Region}:${Account}:workspace/${WorkspaceId}/sync-job/${SyncJobId} |
||
arn:${Partition}:iottwinmaker:${Region}:${Account}:workspace/${WorkspaceId} |
Condition keys for Amazon IoT TwinMaker
Amazon IoT TwinMaker defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by the tag key-value pairs in the request |
String |
|
Filters access by the tags attached to the resource |
String |
|
Filters access by the tag keys in the request |
ArrayOfString |
|
Filters access by destination type of metadata transfer job |
String |
|
Filters access by workspace linked to services |
ArrayOfString |
|
Filters access by source type of metadata transfer job |
String |