Step 1: Creating an AWS AppConfig application - AWS AppConfig

Step 1: Creating an AWS AppConfig application

In AWS AppConfig, an application is simply an organizational construct like a folder. 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.

Note

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

Creating an AWS AppConfig application (console)

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

To create an application

  1. Open the AWS Systems Manager console at https://console.aws.amazon.com/systems-manager/appconfig/.

  2. In the navigation pane choose AWS AppConfig.

  3. On the Applications tab, choose Create application.

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

  5. For Description, enter information about the application.

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

  7. Choose Create application.

AWS AppConfig creates the application and then displays the Environments tab. Proceed to Step 2: Creating an environment . You can begin the procedure where it states, "On the Environments tab..."

Creating an AWS AppConfig application (commandline)

The following procedure describes how to use the AWS CLI (on Linux or Windows) or AWS Tools for PowerShell to create an AWS AppConfig application.

To create an application step by step

  1. Install and configure the AWS CLI or the AWS Tools for PowerShell, if you have not already.

    For information, see Install or upgrade AWS command line tools.

  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