CmdID

CmdID / aws / aws appconfig

aws appconfig get-configuration

(Deprecated) Retrieves the latest deployed configuration. AWS CLI reference

1 example 5 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To retrieve configuration details

The following get-configuration example returns the configuration details of the example application. On subsequent calls to get-configuration use the client-configuration-version parameter to only update the configuration of your application if the version has changed. Only updating the configuration when the version has changed avoids excess charges incurred by calling get-configuration.

aws appconfig get-configuration configuration-output-file --application "example-application" --environment "Example-Environment" --configuration "Example-Configuration-Profile" --client-id "test-id"Identify
--applicationThe application to get.
--environmentThe environment to get.
--configurationThe configuration to get.
--client-idThe clientId parameter in the following command is a unique, user-specified ID to identify the client for the configuration.

Contents of configuration-output-file:

{ "Name": "ExampleApplication", "Id": ExampleID, "Rank": 7 }
Its output
{
    "ConfigurationVersion": "1",
    "ContentType": "application/json"
}

For more information, see Retrieving feature flags and configuration data in AWS AppConfig in the AWS AppConfig User Guide.

Options

5 in the AWS CLI reference
--applicationThe application to get.
--client-configuration-versionThe configuration version returned in the most recent GetConfiguration response.
--client-idThe clientId parameter in the following command is a unique, user-specified ID to identify the client for the configuration.
--configurationThe configuration to get.
--environmentThe environment to get.