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

# Proton Environment

An AWS Proton Environment is a managed resource that defines the shared infrastructure and resources where Proton service templates are deployed. It provides a consistent foundation for applications by standardizing networking, security, and operational settings. Environments help teams deploy services in a repeatable and governed way, ensuring compliance and reducing manual setup.

```
aws.proton_environment
```

## 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.                                                                                                                                                                                                                                                                                                                                                                                   |
| codebuild_role_arn                | core | string     | The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.                                                                                                                                                                                                                                                                             |
| component_role_arn                | core | string     | The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It determines the scope of infrastructure that a component can provision. The environment must have a componentRoleArn to allow directly defined components to be associated with the environment. For more information about components, see Proton components in the Proton User Guide. |
| created_at                        | core | timestamp  | The time when the environment was created.                                                                                                                                                                                                                                                                                                                                                                                           |
| deployment_status                 | core | string     | The environment deployment status.                                                                                                                                                                                                                                                                                                                                                                                                   |
| deployment_status_message         | core | string     | An environment deployment status message.                                                                                                                                                                                                                                                                                                                                                                                            |
| description                       | core | string     | The description of the environment.                                                                                                                                                                                                                                                                                                                                                                                                  |
| environment_account_connection_id | core | string     | The ID of the environment account connection that's used to provision infrastructure resources in an environment account.                                                                                                                                                                                                                                                                                                            |
| environment_account_id            | core | string     | The ID of the environment account that the environment infrastructure resources are provisioned in.                                                                                                                                                                                                                                                                                                                                  |
| last_attempted_deployment_id      | core | string     | The ID of the last attempted deployment of this environment.                                                                                                                                                                                                                                                                                                                                                                         |
| last_deployment_attempted_at      | core | timestamp  | The time when a deployment of the environment was last attempted.                                                                                                                                                                                                                                                                                                                                                                    |
| last_deployment_succeeded_at      | core | timestamp  | The time when the environment was last deployed successfully.                                                                                                                                                                                                                                                                                                                                                                        |
| last_succeeded_deployment_id      | core | string     | The ID of the last successful deployment of this environment.                                                                                                                                                                                                                                                                                                                                                                        |
| name                              | core | string     | The name of the environment.                                                                                                                                                                                                                                                                                                                                                                                                         |
| proton_service_role_arn           | core | string     | The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.                                                                                                                                                                                                                                                                                                         |
| provisioning                      | core | string     | When included, indicates that the environment template is for customer provisioned and managed infrastructure.                                                                                                                                                                                                                                                                                                                       |
| provisioning_repository           | core | json       | The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.                                                                                                                                                                                               |
| spec                              | core | string     | The environment spec.                                                                                                                                                                                                                                                                                                                                                                                                                |
| tags                              | core | hstore_csv |
| template_major_version            | core | string     | The major version of the environment template.                                                                                                                                                                                                                                                                                                                                                                                       |
| template_minor_version            | core | string     | The minor version of the environment template.                                                                                                                                                                                                                                                                                                                                                                                       |
| template_name                     | core | string     | The Amazon Resource Name (ARN) of the environment template.                                                                                                                                                                                                                                                                                                                                                                          |
