Skip to content

/AWS1/CL_PRN=>UPDATEENVIRONMENTACCOUNTCONN()

About UpdateEnvironmentAccountConnection

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.

Method Signature

IMPORTING

Required arguments:

IV_ID TYPE /AWS1/PRNENVIRONMENTACCTCONNID /AWS1/PRNENVIRONMENTACCTCONNID

The ID of the environment account connection to update.

Optional arguments:

IV_ROLEARN TYPE /AWS1/PRNROLEARN /AWS1/PRNROLEARN

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

IV_COMPONENTROLEARN TYPE /AWS1/PRNROLEARN /AWS1/PRNROLEARN

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.

IV_CODEBUILDROLEARN TYPE /AWS1/PRNROLEARN /AWS1/PRNROLEARN

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_PRNUPENVIRONMENTACC01 /AWS1/CL_PRNUPENVIRONMENTACC01