[ aws . appconfig ]

get-hosted-configuration-version

Description

Retrieves information about a specific configuration version.

See also: AWS API Documentation

See ‘aws help’ for descriptions of global parameters.

Synopsis

  get-hosted-configuration-version
--application-id <value>
--configuration-profile-id <value>
--version-number <value>
<outfile>

Options

--application-id (string)

The application ID.

--configuration-profile-id (string)

The configuration profile ID.

--version-number (integer)

The version.

outfile (string) Filename where the content will be saved

See ‘aws help’ for descriptions of global parameters.

Examples

To retreive hosted configuration details

The following get-hosted-configuration-version example retrieves the configuration details of the AWS AppConfig hosted configuration.

aws appconfig get-hosted-configuration-version \
    --application-id 339ohji \
    --configuration-profile-id ur8hx2f \
    --version-number 1 \
    hosted-configuration-version-output

Contents of hosted-configuration-version-output:

{ "Name": "ExampleApplication", "Id": ExampleID, "Rank": 7 }

Output:

{
    "ApplicationId": "339ohji",
    "ConfigurationProfileId": "ur8hx2f",
    "VersionNumber": "1",
    "ContentType": "application/json"
}

For more information, see About the AWS AppConfig hosted configuration store in the AWS AppConfig User Guide.

Output

ApplicationId -> (string)

The application ID.

ConfigurationProfileId -> (string)

The configuration profile ID.

VersionNumber -> (integer)

The configuration version.

Description -> (string)

A description of the configuration.

Content -> (blob)

The content of the configuration or the configuration data.

ContentType -> (string)

A standard MIME type describing the format of the configuration content. For more information, see Content-Type .