---
title: Proton Environment Account Connection
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > DDSQL Reference > Data Directory > Proton Environment Account
  Connection
---

# Proton Environment Account Connection

Proton Environment Account Connection in AWS Proton represents the link between a management account and an environment account. It allows Proton to provision and manage infrastructure resources in a separate account, enabling secure multi-account deployments. This connection helps organizations maintain clear separation of responsibilities while still using Proton to orchestrate and manage environments across accounts.

```
aws.proton_environment_account_connection
```

## Fields

| Title                  | ID   | Type       | Data Type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | Description |
| ---------------------- | ---- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                   | core | string     |
| account_id             | core | string     |
| arn                    | core | string     | The Amazon Resource Name (ARN) of the environment account connection.                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| codebuild_role_arn     | core | string     | The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.                                                                                                                                                                                                                                                                                          |
| component_role_arn     | core | string     | The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account. The environment account connection must have a componentRoleArn to allow directly defined components to be associated with any environments running in the account. For more information about components, see Proton components in the Proton User Guide. |
| environment_account_id | core | string     | The environment account that's connected to the environment account connection.                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| environment_name       | core | string     | The name of the environment that's associated with the environment account connection.                                                                                                                                                                                                                                                                                                                                                                                                                           |
| id                     | core | string     | The ID of the environment account connection.                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| last_modified_at       | core | timestamp  | The time when the environment account connection was last modified.                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| management_account_id  | core | string     | The ID of the management account that's connected to the environment account connection.                                                                                                                                                                                                                                                                                                                                                                                                                         |
| requested_at           | core | timestamp  | The time when the environment account connection request was made.                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| role_arn               | core | string     | The IAM service role that's associated with the environment account connection.                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| status                 | core | string     | The status of the environment account connection.                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| tags                   | core | hstore_csv |
