v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1484319348.7 KB

In an environment account, update an environment account connection to use a new IAM role.

For more information, see Environment account connections in the Proton User guide.

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

Headers

X-Amz-Target'AwsProton20200720.UpdateEnvironmentAccountConnection' required

Request body

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>The environment account connection must have a <code>componentRoleArn</code> to allow directly defined components to be associated with any environments running in the 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>
idstring required

The ID of the environment account connection to update.

roleArnstring

The Amazon Resource Name (ARN) of the IAM service role that's associated with the environment account connection to update.

Response

Success