CmdID / aws / aws appconfig
aws appconfig create-environment
Creates an environment. AWS CLI reference
1 example 5 options Its page in the AWS CLI reference
Examples
To create an environment
The following create-environment example creates an AWS AppConfig environment named Example-Environment using the application you created using create-application.
aws appconfig create-environment --application-id "339ohji" --name "Example-Environment"Identify--application-idThe application ID.--nameA name for the environment.Its output
{
"ApplicationId": "339ohji",
"Description": null,
"Id": "54j1r29",
"Monitors": null,
"Name": "Example-Environment",
"State": "ReadyForDeployment"
}For more information, see Step 2: Creating an environment in the AWS AppConfig User Guide.
Options
--application-idThe application ID.--descriptionA description of the environment.--monitorsAmazon CloudWatch alarms to monitor during the deployment process.--nameA name for the environment.--tagsMetadata to assign to the environment.