v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1484319348.7 KB

Create an environment account connection in an environment account so that environment infrastructure resources can be provisioned in the environment account from a management account.

An environment account connection is a secure bi-directional connection between a management account and an environment account that maintains authorization and permissions. For more information, see Environment account connections in the Proton User guide.

post/#X-Amz-Target=AwsProton20200720.CreateEnvironmentAccountConnection

Headers

X-Amz-Target'AwsProton20200720.CreateEnvironmentAccountConnection' required

Request body

clientTokenstring

When included, if two identical requests are made with the same client token, Proton returns the environment account connection that the first request created.

codebuildRoleArnstring

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.

componentRoleArnstring
<p>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.</p> <p>You must specify <code>componentRoleArn</code> to allow directly defined components to be associated with any environments running in this account.</p> <p>For more information about components, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the <i>Proton User Guide</i>.</p>
environmentNamestring required

The name of the Proton environment that's created in the associated management account.

managementAccountIdstring required

The ID of the management account that accepts or rejects the environment account connection. You create and manage the Proton environment in this account. If the management account accepts the environment account connection, Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.

roleArnstring

The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. Proton uses this role to provision infrastructure resources in the associated environment account.

Response

Success