environment
Gets an individual environment
resource
Overview
Name | environment |
Type | Resource |
Description | environment |
Id | awscc.appconfig.environment |
Fields
Name | Datatype | Description |
---|---|---|
environment_id | string | The environment ID. |
application_id | string | The application ID. |
name | string | A name for the environment. |
description | string | A description of the environment. |
monitors | array | Amazon CloudWatch alarms to monitor during the deployment process. |
tags | array | Metadata to assign to the environment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
environment_id,
application_id,
name,
description,
monitors,
tags
FROM awscc.appconfig.environment
WHERE data__Identifier = '<ApplicationId>|<EnvironmentId>';
Permissions
To operate on the environment
resource, the following permissions are required:
Read
appconfig:GetEnvironment,
appconfig:ListTagsForResource
Update
appconfig:UpdateEnvironment,
appconfig:TagResource,
appconfig:UntagResource,
iam:PassRole
Delete
appconfig:GetEnvironment,
appconfig:DeleteEnvironment