---
type: resource-type
title: EnvironmentAccountConnection
description: aws resource type AWS::Proton::EnvironmentAccountConnection
name: EnvironmentAccountConnection
lexicon: aws
resource_type: AWS::Proton::EnvironmentAccountConnection
---
`AWS::Proton::EnvironmentAccountConnection`, a resource type of the aws lexicon.

## Properties

- `Arn` (`string`, optional): The Amazon Resource Name (ARN) of the environment account connection.
- `CodebuildRoleArn` (`string`, optional): The Amazon Resource Name (ARN) of an IAM service role in the environment account. AWS Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
- `ComponentRoleArn` (`string`, optional): The Amazon Resource Name (ARN) of the IAM service role that AWS 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.
- `EnvironmentAccountId` (`string`, optional): The environment account that's connected to the environment account connection.
- `EnvironmentName` (`string`, optional): The name of the AWS Proton environment that's created in the associated management account.
- `Id` (`string`, optional): The ID of the environment account connection.
- `ManagementAccountId` (`string`, optional): The ID of the management account that accepts or rejects the environment account connection. You create an manage the AWS Proton environment in this account. If the management account accepts the environment account connection, AWS Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
- `RoleArn` (`string`, optional): The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. AWS Proton uses this role to provision infrastructure resources in the associated environment account.
- `Status` (`EnvironmentAccountConnection_Status`, optional): The status of the environment account connection.
- `Tags` (`EnvironmentAccountConnection_Tag[]`, optional): <p>An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton resources and tagging</a> in the <i>Proton User Guide</i>.</p>

## Attributes

- `Arn`
- `Id`
- `Status`
