elasticbeanstalk:DeleteApplicationVersion

Write

elasticbeanstalk:DeleteApplicationVersion is a Write access-level action in the elasticbeanstalk service. Grants permission to delete an application version from an application

Resource types

ARNs that elasticbeanstalk:DeleteApplicationVersion can be scoped to in an IAM policy.

arn:${Partition}:elasticbeanstalk:${Region}:${Account}:applicationversion/${ApplicationName}/${VersionLabel}
applicationversion

Condition keys

Keys you can use in the Condition block of a policy that grants elasticbeanstalk:DeleteApplicationVersion.

aws:ResourceTag/${TagKey} String

Filters actions based on tag key-value pairs attached to the resource

elasticbeanstalk:InApplication ARN

Filters access by the application that contains the resource that the action operates on

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowElasticbeanstalkDeleteApplicationVersion",
      "Effect": "Allow",
      "Action": "elasticbeanstalk:DeleteApplicationVersion",
      "Resource": "*"
    }
  ]
}

Related actions in elasticbeanstalk

View all elasticbeanstalk actions →