Skip to main content

environment

Gets an individual environment resource

Overview

Nameenvironment
TypeResource
Descriptionenvironment
Idawscc.appconfig.environment

Fields

NameDatatypeDescription
environment_idstringThe environment ID.
application_idstringThe application ID.
namestringA name for the environment.
descriptionstringA description of the environment.
monitorsarrayAmazon CloudWatch alarms to monitor during the deployment process.
tagsarrayMetadata 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.
regionstringAWS 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