Creating a namespace for your application in Amazon AppConfig - Amazon AppConfig
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Creating a namespace for your application in Amazon AppConfig

The procedures in this section help you create an Amazon AppConfig artifact called an application. An application is simply an organizational construct like a folder that identifies the namespace of your application. This organizational construct has a relationship with some unit of executable code. For example, you could create an application called MyMobileApp to organize and manage configuration data for a mobile application installed by your users. You must create these artifacts before you can use Amazon AppConfig to deploy and retrieve feature flags or free form configuration data.

Note

You can use Amazon CloudFormation to create Amazon AppConfig artifacts, including applications, environments, configuration profiles, deployments, deployment strategies, and hosted configuration versions. For more information, see Amazon AppConfig resource type reference in the Amazon CloudFormation User Guide.

Creating an Amazon AppConfig application (console)

Use the following procedure to create an Amazon AppConfig application by using the Amazon Systems Manager console.

To create an application
  1. Open the Amazon Systems Manager console at https://console.amazonaws.cn/systems-manager/appconfig/.

  2. On the Applications tab, choose Create application.

  3. For Name, enter a name for the application.

  4. For Description, enter information about the application.

  5. In the Tags section, enter a key and an optional value. You can specify a maximum of 50 tags for a resource.

  6. Choose Create application.

Amazon AppConfig creates the application and then displays the Environments tab. Proceed to Creating environments for your application in Amazon AppConfig.

Creating an Amazon AppConfig application (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 application.

To create an application step by step
  1. Open the Amazon CLI.

  2. Run the following command to create an application.

    Linux
    aws appconfig create-application \ --name A_name_for_the_application \ --description A_description_of_the_application \ --tags User_defined_key_value_pair_metadata_for_the_application
    Windows
    aws appconfig create-application ^ --name A_name_for_the_application ^ --description A_description_of_the_application ^ --tags User_defined_key_value_pair_metadata_for_the_application
    PowerShell
    New-APPCApplication ` -Name Name_for_the_application ` -Description Description_of_the_application ` -Tag Hashtable_type_user_defined_key_value_pair_metadata_for_the_application

    The system returns information like the following.

    Linux
    {
       "Id": "Application ID",
       "Name": "Application name",
       "Description": "Description of the application"
    }
    Windows
    {
       "Id": "Application ID",
       "Name": "Application name",
       "Description": "Description of the application"
    }
    PowerShell
    ContentLength    : Runtime of the command
    Description      : Description of the application
    HttpStatusCode   : HTTP Status of the runtime
    Id               : Application ID
    Name             : Application name
    ResponseMetadata : Runtime Metadata