AWS Elastic Beanstalk

2026/11/04 - AWS Elastic Beanstalk - 1 updated api methods

Changes  Adds DefaultAmiList to DescribePlatformVersion to return the default AMI for each processor architecture that a platform version supports.

DescribePlatformVersion (updated) Link ¶
Changes (response)
{'PlatformDescription': {'DefaultAmiList': [{'Architecture': 'x86_64 | arm64',
                                             'ImageId': 'string'}]}}

Describes a platform version. Provides full details. Compare to ListPlatformVersions, which provides summary information about a list of platform versions.

For definitions of platform version and other platform-related terms, see Elastic Beanstalk Platforms Glossary.

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.

See also: AWS API Documentation

Request Syntax

client.describe_platform_version(
    PlatformArn='string'
)
type PlatformArn:

string

param PlatformArn:

The ARN of the platform version.

rtype:

dict

returns:

Response Syntax

{
    'PlatformDescription': {
        'PlatformArn': 'string',
        'PlatformOwner': 'string',
        'PlatformName': 'string',
        'PlatformVersion': 'string',
        'SolutionStackName': 'string',
        'PlatformStatus': 'Creating'|'Failed'|'Ready'|'Deleting'|'Deleted',
        'DateCreated': datetime(2015, 1, 1),
        'DateUpdated': datetime(2015, 1, 1),
        'PlatformCategory': 'string',
        'Description': 'string',
        'Maintainer': 'string',
        'OperatingSystemName': 'string',
        'OperatingSystemVersion': 'string',
        'ProgrammingLanguages': [
            {
                'Name': 'string',
                'Version': 'string'
            },
        ],
        'Frameworks': [
            {
                'Name': 'string',
                'Version': 'string'
            },
        ],
        'CustomAmiList': [
            {
                'VirtualizationType': 'string',
                'ImageId': 'string'
            },
        ],
        'DefaultAmiList': [
            {
                'Architecture': 'x86_64'|'arm64',
                'ImageId': 'string'
            },
        ],
        'SupportedTierList': [
            'string',
        ],
        'SupportedAddonList': [
            'string',
        ],
        'PlatformLifecycleState': 'string',
        'PlatformBranchName': 'string',
        'PlatformBranchLifecycleState': 'string'
    }
}

Response Structure

  • (dict) --

    • PlatformDescription (dict) --

      Detailed information about the platform version.

      • PlatformArn (string) --

        The ARN of the platform version.

      • PlatformOwner (string) --

        The Amazon Web Services account ID of the person who created the platform version.

      • PlatformName (string) --

        The name of the platform version.

      • PlatformVersion (string) --

        The version of the platform version.

      • SolutionStackName (string) --

        The name of the solution stack used by the platform version.

      • PlatformStatus (string) --

        The status of the platform version.

      • DateCreated (datetime) --

        The date when the platform version was created.

      • DateUpdated (datetime) --

        The date when the platform version was last updated.

      • PlatformCategory (string) --

        The category of the platform version.

      • Description (string) --

        The description of the platform version.

      • Maintainer (string) --

        Information about the maintainer of the platform version.

      • OperatingSystemName (string) --

        The operating system used by the platform version.

      • OperatingSystemVersion (string) --

        The version of the operating system used by the platform version.

      • ProgrammingLanguages (list) --

        The programming languages supported by the platform version.

        • (dict) --

          A programming language supported by the platform.

          • Name (string) --

            The name of the programming language.

          • Version (string) --

            The version of the programming language.

      • Frameworks (list) --

        The frameworks supported by the platform version.

        • (dict) --

          A framework supported by the platform.

          • Name (string) --

            The name of the framework.

          • Version (string) --

            The version of the framework.

      • CustomAmiList (list) --

        The AMIs of the platform version, by virtualization type. For Elastic Beanstalk managed platforms, these are the default x86_64 AMIs; for custom platforms, the hvm entry is the AMI built for the platform version. To find a managed platform's default AMIs for every supported processor architecture, including arm64, use DefaultAmiList.

        • (dict) --

          A custom AMI available to platforms.

          • VirtualizationType (string) --

            The type of virtualization used to create the custom AMI.

          • ImageId (string) --

            THe ID of the image used to create the custom AMI.

      • DefaultAmiList (list) --

        The AMIs that Elastic Beanstalk uses by default for the platform version, one for each supported processor architecture. When an environment doesn't specify a custom AMI, Elastic Beanstalk chooses the default AMI that matches the environment's architecture.

        This list isn't returned for custom platforms.

        • (dict) --

          An AMI that Elastic Beanstalk uses by default for a platform version and processor architecture.

          • Architecture (string) --

            The processor architecture of the AMI.

          • ImageId (string) --

            The ID of the AMI.

      • SupportedTierList (list) --

        The tiers supported by the platform version.

        • (string) --

      • SupportedAddonList (list) --

        The additions supported by the platform version.

        • (string) --

      • PlatformLifecycleState (string) --

        The state of the platform version in its lifecycle.

        Possible values: Recommended | null

        If a null value is returned, the platform version isn't the recommended one for its branch. Each platform branch has a single recommended platform version, typically the most recent one.

      • PlatformBranchName (string) --

        The platform branch to which the platform version belongs.

      • PlatformBranchLifecycleState (string) --

        The state of the platform version's branch in its lifecycle.

        Possible values: Beta | Supported | Deprecated | Retired