CmdID

CmdID / aws / aws appconfig

aws appconfig create-hosted-configuration-version

Creates a new configuration in the AppConfig hosted configuration store. AWS CLI reference

1 example 7 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 create a hosted configuration version

The following create-hosted-configuration-version example creates a new configuration in the AWS AppConfig hosted configuration store. The configuration content must first be converted to base64.

aws appconfig create-hosted-configuration-version configuration_version_output_file --application-id "339ohji" --configuration-profile-id "ur8hx2f" --content eyAiTmFtZSI6ICJFeGFtcGxlQXBwbGljYXRpb24iLCAiSWQiOiBFeGFtcGxlSUQsICJSYW5rIjogNyB9 --content-type "application/json"Identify
--application-idThe application ID.
--configuration-profile-idThe configuration profile ID.
--contentThe configuration data, as bytes.
--content-typeA standard MIME type describing the format of the configuration content.

Contents of configuration_version_output_file:

{ "Name": "ExampleApplication", "Id": ExampleID, "Rank": 7 }
Its 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.

Options

7 in the AWS CLI reference
--application-idThe application ID.
--configuration-profile-idThe configuration profile ID.
--content-typeA standard MIME type describing the format of the configuration content.
--contentThe configuration data, as bytes.
--descriptionA description of the configuration.
--latest-version-numberAn optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version.
--version-labelAn optional, user-defined label for the AppConfig hosted configuration version.