AWS Identity and Access Management
User Guide

Actions, Resources, and Condition Keys for AWS Elastic Beanstalk

AWS Elastic Beanstalk (service prefix: elasticbeanstalk) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

References:

Actions Defined by AWS Elastic Beanstalk

You can specify the following actions in the Action element of an IAM policy statement. By using policies, you define the permissions for anyone performing 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. For details about the columns in the following table, see The Actions Table.

Actions Description Access Level Resource Types (*required) Condition Keys Dependent Actions
AbortEnvironmentUpdate Grants permission to cancel in-progress environment configuration update or application version deployment. Write

environment*

elasticbeanstalk:InApplication

AddTags Grants permission to add tags to an Elastic Beanstalk resource and to update tag values. Tagging

resource*

elasticbeanstalk:InApplication

ApplyEnvironmentManagedAction Grants permission to apply a scheduled managed action immediately. Write

environment*

elasticbeanstalk:InApplication

CheckDNSAvailability Grants permission to check CNAME availability. Read
ComposeEnvironments Grants permission to create or update a group of environments, each running a separate component of a single application. Write

application*

applicationversion*

elasticbeanstalk:InApplication

CreateApplication Grants permission to create a new application. Write

application*

CreateApplicationVersion Grants permission to create an application version for an application. Write

application*

applicationversion*

elasticbeanstalk:InApplication

CreateConfigurationTemplate Grants permission to create a configuration template. Write

configurationtemplate*

elasticbeanstalk:InApplication

elasticbeanstalk:FromApplication

elasticbeanstalk:FromApplicationVersion

elasticbeanstalk:FromConfigurationTemplate

elasticbeanstalk:FromEnvironment

elasticbeanstalk:FromSolutionStack

elasticbeanstalk:FromPlatform

CreateEnvironment Grants permission to launch an environment for an application. Write

environment*

elasticbeanstalk:InApplication

elasticbeanstalk:FromApplicationVersion

elasticbeanstalk:FromConfigurationTemplate

elasticbeanstalk:FromSolutionStack

elasticbeanstalk:FromPlatform

CreatePlatformVersion Grants permission to create a new version of a custom platform. Write

platform*

CreateStorageLocation Grants permission to create the Amazon S3 storage location for the account. Write
DeleteApplication Grants permission to delete an application along with all associated versions and configurations. Write

application*

DeleteApplicationVersion Grants permission to delete an application version from an application. Write

applicationversion*

elasticbeanstalk:InApplication

DeleteConfigurationTemplate Grants permission to delete a configuration template. Write

configurationtemplate*

elasticbeanstalk:InApplication

DeleteEnvironmentConfiguration Grants permission to delete the draft configuration associated with the running environment. Write

environment*

elasticbeanstalk:InApplication

DeletePlatformVersion Grants permission to delete a version of a custom platform. Write

platform*

DescribeAccountAttributes Grants permission to retrieve a list of account attributes, including resource quotas. Read
DescribeApplicationVersions Grants permission to retrieve a list of application versions stored in an AWS Elastic Beanstalk storage bucket. List

applicationversion

elasticbeanstalk:InApplication

DescribeApplications Grants permission to retrieve the descriptions of existing applications. List

application

DescribeConfigurationOptions Grants permission to retrieve descriptions of environment configuration options. Read

configurationtemplate

elasticbeanstalk:InApplication

environment

elasticbeanstalk:InApplication

solutionstack

DescribeConfigurationSettings Grants permission to retrieve a description of the settings for a configuration set. Read

configurationtemplate

elasticbeanstalk:InApplication

environment

elasticbeanstalk:InApplication

DescribeEnvironmentHealth Grants permission to retrieve information about the overall health of an environment. Read

environment

DescribeEnvironmentManagedActionHistory Grants permission to retrieve a list of an environment's completed and failed managed actions. Read

environment

elasticbeanstalk:InApplication

DescribeEnvironmentManagedActions Grants permission to retrieve a list of an environment's upcoming and in-progress managed actions. Read

environment

elasticbeanstalk:InApplication

DescribeEnvironmentResources Grants permission to retrieve a list of AWS resources for an environment. Read

environment

elasticbeanstalk:InApplication

DescribeEnvironments Grants permission to retrieve descriptions for existing environments. List

environment

elasticbeanstalk:InApplication

DescribeEvents Grants permission to retrieve a list of event descriptions matching a set of criteria. Read

application

applicationversion

elasticbeanstalk:InApplication

configurationtemplate

elasticbeanstalk:InApplication

environment

elasticbeanstalk:InApplication

DescribeInstancesHealth Grants permission to retrieve more detailed information about the health of environment instances. Read

environment

DescribePlatformVersion Grants permission to retrieve a description of a platform version. Read

platform

ListAvailableSolutionStacks Grants permission to retrieve a list of the available solution stack names. List

solutionstack

ListPlatformVersions Grants permission to retrieve a list of the available platforms. List

platform

ListTagsForResource Grants permission to retrieve a list of tags of an Elastic Beanstalk resource. Read

resource*

elasticbeanstalk:InApplication

RebuildEnvironment Grants permission to delete and recreate all of the AWS resources for an environment and to force a restart. Write

environment*

elasticbeanstalk:InApplication

RemoveTags Grants permission to remove tags from an Elastic Beanstalk resource. Tagging

resource*

elasticbeanstalk:InApplication

RequestEnvironmentInfo Grants permission to initiate a request to compile information of the deployed environment. Read

environment*

elasticbeanstalk:InApplication

RestartAppServer Grants permission to request an environment to restart the application container server running on each Amazon EC2 instance. Write

environment*

elasticbeanstalk:InApplication

RetrieveEnvironmentInfo Grants permission to retrieve the compiled information from a RequestEnvironmentInfo request. Read

environment*

elasticbeanstalk:InApplication

SwapEnvironmentCNAMEs Grants permission to swap the CNAMEs of two environments. Write

environment*

elasticbeanstalk:InApplication

elasticbeanstalk:FromEnvironment

TerminateEnvironment Grants permission to terminate an environment. Write

environment*

elasticbeanstalk:InApplication

UpdateApplication Grants permission to update an application with specified properties. Write

application*

UpdateApplicationResourceLifecycle Grants permission to update the application version lifecycle policy associated with the application. Write

application*

UpdateApplicationVersion Grants permission to update an application version with specified properties. Write

applicationversion*

elasticbeanstalk:InApplication

UpdateConfigurationTemplate Grants permission to update a configuration template with specified properties or configuration option values. Write

configurationtemplate*

elasticbeanstalk:InApplication

elasticbeanstalk:FromApplication

elasticbeanstalk:FromApplicationVersion

elasticbeanstalk:FromConfigurationTemplate

elasticbeanstalk:FromEnvironment

elasticbeanstalk:FromSolutionStack

elasticbeanstalk:FromPlatform

UpdateEnvironment Grants permission to update an environment. Write

environment*

elasticbeanstalk:InApplication

elasticbeanstalk:FromApplicationVersion

elasticbeanstalk:FromConfigurationTemplate

elasticbeanstalk:FromSolutionStack

elasticbeanstalk:FromPlatform

ValidateConfigurationSettings Grants permission to check the validity of a set of configuration settings for a configuration template or an environment. Read

configurationtemplate

elasticbeanstalk:InApplication

environment

elasticbeanstalk:InApplication

Resources Defined by Elastic Beanstalk

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements. Each action in the Actions table identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the table. For details about the columns in the following table, see The Resource Types Table.

Resource Types ARN Condition Keys
application arn:${Partition}:elasticbeanstalk:${Region}:${Account}:application/${ApplicationName}
applicationversion arn:${Partition}:elasticbeanstalk:${Region}:${Account}:applicationversion/${ApplicationName}/${VersionLabel}

elasticbeanstalk:InApplication

configurationtemplate arn:${Partition}:elasticbeanstalk:${Region}:${Account}:configurationtemplate/${ApplicationName}/${TemplateName}

elasticbeanstalk:InApplication

environment arn:${Partition}:elasticbeanstalk:${Region}:${Account}:environment/${ApplicationName}/${EnvironmentName}

elasticbeanstalk:InApplication

solutionstack arn:${Partition}:elasticbeanstalk:${Region}::solutionstack/${SolutionStackName}
platform arn:${Partition}:elasticbeanstalk:${Region}::platform/${PlatformNameWithVersion}
resource arn:${Partition}:elasticbeanstalk:${Region}:${Account}:environment/${ApplicationName}/${EnvironmentName}

elasticbeanstalk:InApplication

Condition Keys for AWS Elastic Beanstalk

AWS Elastic Beanstalk defines the following condition keys that can be used in the Condition element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see The Condition Keys Table.

To view the global condition keys that are available to all services, see Available Global Condition Keys in the IAM Policy Reference.

Condition Keys Description Type
elasticbeanstalk:FromApplication Filters access by an application as a dependency or a constraint on an input parameter. ARN
elasticbeanstalk:FromApplicationVersion Filters access by an application version as a dependency or a constraint on an input parameter. ARN
elasticbeanstalk:FromConfigurationTemplate Filters access by a configuration template as a dependency or a constraint on an input parameter. ARN
elasticbeanstalk:FromEnvironment Filters access by an environment as a dependency or a constraint on an input parameter. ARN
elasticbeanstalk:FromPlatform Filters access by a platform as a dependency or a constraint on an input parameter. ARN
elasticbeanstalk:FromSolutionStack Filters access by a solution stack as a dependency or a constraint on an input parameter. ARN
elasticbeanstalk:InApplication Filters access by the application that contains the resource that the action operates on. ARN