Creating an Amazon AppConfig freeform configuration profile (command line)
The following procedure describes how to use the Amazon CLI (on Linux or Windows) or Amazon Tools for PowerShell to create an Amazon AppConfig freeform configuration profile. If you prefer, you can use Amazon CloudShell to run the commands listed below. For more information, see What is Amazon CloudShell? in the Amazon CloudShell User Guide.
Note
For freeform configurations hosted in the Amazon AppConfig hosted configuration store, you
specify hosted
for the location URI.
To create a configuration profile by using the Amazon CLI
-
Open the Amazon CLI.
-
Run the following command to create a freeform configuration profile.
Important
Note the following important information.
-
If you created a configuration profile for Amazon CodePipeline, then you must create a pipeline in CodePipeline that specifies Amazon AppConfig as the deploy provider. You don't need to perform Deploying feature flags and configuration data in Amazon AppConfig. However, you must configure a client to receive application configuration updates as described in Retrieving configurations by directly calling APIs. For information about creating a pipeline that specifies Amazon AppConfig as the deploy provider, see Tutorial: Create a Pipeline that Uses Amazon AppConfig as a Deployment Provider in the Amazon CodePipeline User Guide.
-
If you created a configuration in the Amazon AppConfig hosted configuration store, you can create new versions of the configuration by using the CreateHostedConfigurationVersion API operations. To view Amazon CLI details and sample commands for this API operation, see create-hosted-configuration-version in the Amazon CLI Command Reference.
Proceed to Deploying feature flags and configuration data in Amazon AppConfig.