polly:DeleteLexicon

Write

polly:DeleteLexicon is a Write access-level action in the polly service. Grants permission to delete the specified pronunciation lexicon stored in an AWS Region

Resource types

ARNs that polly:DeleteLexicon can be scoped to in an IAM policy.

arn:${Partition}:polly:${Region}:${Account}:lexicon/${LexiconName}
lexicon

Condition keys

No condition keys are documented for this action.

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowPollyDeleteLexicon",
      "Effect": "Allow",
      "Action": "polly:DeleteLexicon",
      "Resource": "*"
    }
  ]
}

Related actions in polly

View all polly actions →