listAvailableSolutionStacks

abstract suspend fun listAvailableSolutionStacks(input: ListAvailableSolutionStacksRequest = ListAvailableSolutionStacksRequest { }): ListAvailableSolutionStacksResponse

Returns a list of the available solution stack names, with the public version first and then in reverse chronological order.

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 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.

Samples

// The following operation lists solution stacks for all currently available platform configurations
// and any that you have used in the past
val resp = elasticBeanstalkClient.listAvailableSolutionStacks()