Actions, resources, and condition keys for AWS Amplify UI Builder
AWS Amplify UI Builder (service prefix: amplifyuibuilder) 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 Amplify UI Builder
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 |
|---|---|---|---|---|
|
CreateComponent |
Write |
|||
Tagging, Write |
||||
|
CreateForm |
Write |
|||
Tagging, Write |
||||
|
CreateTheme |
Write |
|||
Tagging, Write |
||||
|
DeleteComponent |
Write |
|||
|
DeleteForm |
Write |
|||
|
DeleteTheme |
Write |
|||
|
ExchangeCodeForToken |
Write |
|||
|
ExportComponents |
Read |
|||
|
ExportForms |
Read |
|||
|
ExportThemes |
Read |
|||
|
GetCodegenJob |
Read |
|||
|
GetComponent |
Read |
|||
|
GetForm |
Read |
|||
|
GetMetadata |
Read |
|||
|
GetTheme |
Read |
|||
|
ListCodegenJobs |
List |
|||
|
ListComponents |
List |
|||
|
ListForms |
List |
|||
|
ListTagsForResource |
List |
|||
|
ListThemes |
List |
|||
|
PutMetadataFlag |
Write |
|||
|
RefreshToken |
Write |
|||
|
StartCodegenJob |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateComponent |
Write |
|||
|
UpdateForm |
Write |
|||
|
UpdateTheme |
Write |
Actions defined by AWS Amplify UI Builder
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.
Resource types defined by AWS Amplify UI Builder
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}:amplifyuibuilder:${Region}:${Account}:app/${AppId}/environment/${EnvironmentName}/codegen-jobs/${Id} |
amplifyuibuilder:CodegenJobResourceAppId amplifyuibuilder:CodegenJobResourceEnvironmentName |
|
arn:${Partition}:amplifyuibuilder:${Region}:${Account}:app/${AppId}/environment/${EnvironmentName}/components/${Id} |
amplifyuibuilder:ComponentResourceAppId amplifyuibuilder:ComponentResourceEnvironmentName |
|
arn:${Partition}:amplifyuibuilder:${Region}:${Account}:app/${AppId}/environment/${EnvironmentName}/forms/${Id} |
amplifyuibuilder:FormResourceAppId amplifyuibuilder:FormResourceEnvironmentName |
|
arn:${Partition}:amplifyuibuilder:${Region}:${Account}:app/${AppId}/environment/${EnvironmentName}/themes/${Id} |
amplifyuibuilder:ThemeResourceAppId amplifyuibuilder:ThemeResourceEnvironmentName |
Condition keys for AWS Amplify UI Builder
AWS Amplify UI Builder 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 app ID |
String |
|
Filters access by the backend environment name |
String |
|
Filters access by the codegen job ID |
String |
|
Filters access by the app ID |
String |
|
Filters access by the backend environment name |
String |
|
Filters access by the component ID |
String |
|
Filters access by the app ID |
String |
|
Filters access by the backend environment name |
String |
|
Filters access by the form ID |
String |
|
Filters access by the app ID |
String |
|
Filters access by the backend environment name |
String |
|
Filters access by the theme ID |
String |
|
Filters access by the tags that are passed in the request |
String |
|
Filters access by the tags associated with the resource |
String |
|
Filters access by the tag keys that are passed in the request |
ArrayOfString |