amplifyuibuilder:DeleteTheme

Write

amplifyuibuilder:DeleteTheme is a Write access-level action in the amplifyuibuilder service. Grants permission to delete a theme

Resource types

ARNs that amplifyuibuilder:DeleteTheme can be scoped to in an IAM policy.

arn:${Partition}:amplifyuibuilder:${Region}:${Account}:app/${AppId}/environment/${EnvironmentName}/themes/${Id}
ThemeResource

Condition keys

Keys you can use in the Condition block of a policy that grants amplifyuibuilder:DeleteTheme.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

amplifyuibuilder:ThemeResourceAppId String

Filters access by the app ID

amplifyuibuilder:ThemeResourceEnvironmentName String

Filters access by the backend environment name

amplifyuibuilder:ThemeResourceId String

Filters access by the theme ID

Dependent actions

To use amplifyuibuilder:DeleteTheme you may also need to grant:

Example IAM policy

A minimal policy that allows amplifyuibuilder:DeleteTheme. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowAmplifyuibuilderDeleteTheme",
      "Effect": "Allow",
      "Action": "amplifyuibuilder:DeleteTheme",
      "Resource": "*"
    }
  ]
}

Related actions in amplifyuibuilder

View all amplifyuibuilder actions →