CmdID

CmdID / aws / aws appconfig

aws appconfig get-environment

Retrieves information about an environment. AWS CLI reference

1 example 2 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 retrieve environment details

The following get-environment example returns the details and state of the specified environment.

aws appconfig get-environment --application-id 339ohji --environment-id 54j1r29Identify
--application-idThe ID of the application that includes the environment you want to get.
--environment-idThe ID of the environment that you want to get.
Its output
{
    "ApplicationId": "339ohji",
    "Id": "54j1r29",
    "Name": "Example-Environment",
    "State": "ReadyForDeployment"
}

For more information, see Step 2: Creating an environment in the AWS AppConfig User Guide.

Options

2 in the AWS CLI reference
--application-idThe ID of the application that includes the environment you want to get.
--environment-idThe ID of the environment that you want to get.