Skip to content

Data Source: awsAppconfigEnvironment

Provides access to an AppConfig Environment.

Example Usage

Basic Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsAppconfigEnvironment.DataAwsAppconfigEnvironment(
  this,
  "example",
  {
    applicationId: "b5d5gpj",
    environmentId: "qrbb1c1",
  }
);

Argument Reference

The following arguments are required:

  • applicationId - (Required) ID of the AppConfig Application to which this Environment belongs.
  • environmentId - (Required) ID of the AppConfig Environment.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • arn - ARN of the environment.
  • name - Name of the environment.
  • description - Name of the environment.
  • monitor - Set of Amazon CloudWatch alarms to monitor during the deployment process.
  • alarmArn - ARN of the Amazon CloudWatch alarm.
  • alarmRoleArn - ARN of an IAM role for AWS AppConfig to monitor.
  • state - State of the environment. Possible values are READY_FOR_DEPLOYMENT, deploying, ROLLING_BACK or ROLLED_BACK.
  • tags - Map of tags for the resource.