View environment data
You can view environment detail data using either the AWS Proton console or the AWS CLI.
- AWS Management Console
-
You can view lists of environments with details and individual environments with detail data by using the AWS Proton console
. -
To view a list of your environments, choose Environments in the navigation pane.
-
To view detail data, choose the name of an environment.
View your environment detail data.
-
- AWS CLI
-
Use the AWS CLI get or list environment details.
Run the following command:
$
aws proton get-environment \ --name "
MySimpleEnv
"Response:
{ "environment": { "arn": "arn:aws:proton:region-id:123456789012:environment/MySimpleEnv", "createdAt": "2020-11-11T23:03:05.405000+00:00", "deploymentStatus": "SUCCEEDED", "lastDeploymentAttemptedAt": "2020-11-11T23:03:05.405000+00:00", "lastDeploymentSucceededAt": "2020-11-11T23:03:05.405000+00:00", "name": "MySimpleEnv", "protonServiceRoleArn": "arn:aws:iam::123456789012:role/ProtonServiceRole", "spec": "proton: EnvironmentSpec\nspec:\n my_sample_input: \"the first\"\n my_other_sample_input: \"the second\"\n", "templateMajorVersion": "1", "templateMinorVersion": "0", "templateName": "simple-env" } }
Create
Update