ListTagsForResource - Amazon Elastic Beanstalk
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Return the tags applied to an Amazon Elastic Beanstalk resource. The response contains a list of tag key-value pairs.

Elastic Beanstalk supports tagging of all of its resources. For details about resource tagging, see Tagging Application Resources.

This action only returns information about resources that the calling principle has IAM permissions to access. For example, consider a case where a user only has permission to access one of three resources. When the user calls the this action, the response will only include the one resource that the user has permission to access instead of all three resources. If the user doesn’t have access to any of the resources an empty result is returned.


The AWSElasticBeanstalkReadOnly managed policy allows operators to view information about resources related to Elastic Beanstalk. For more information, see Managing Elastic Beanstalk user policies in the Amazon Elastic Beanstalk Developer Guide. For detailed instructions to attach a policy to a user or group, see the section Controlling access with managed policies in the same topic.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.


The Amazon Resource Name (ARN) of the resouce for which a tag list is requested.

Must be the ARN of an Elastic Beanstalk resource.

Type: String

Required: Yes

Response Elements

The following elements are returned by the service.


The Amazon Resource Name (ARN) of the resource for which a tag list was requested.

Type: String


A list of tag key-value pairs.

Type: Array of Tag objects


For information about the errors that are common to all actions, see Common Errors.


The specified account does not have sufficient privileges for one or more Amazon services.

HTTP Status Code: 403


A resource doesn't exist for the specified Amazon Resource Name (ARN).

HTTP Status Code: 400


The type of the specified Amazon Resource Name (ARN) isn't supported for this operation.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: