Update Environment Account Connection
proton_update_environment_account_connection | R Documentation |
In an environment account, update an environment account connection to use a new IAM role¶
Description¶
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.
Usage¶
proton_update_environment_account_connection(codebuildRoleArn,
componentRoleArn, id, roleArn)
Arguments¶
codebuildRoleArn |
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. |
componentRoleArn |
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
For more information about components, see Proton components in the Proton User Guide. |
id |
[required] The ID of the environment account connection to update. |
roleArn |
The Amazon Resource Name (ARN) of the IAM service role that's associated with the environment account connection to update. |
Value¶
A list with the following syntax:
list(
environmentAccountConnection = list(
arn = "string",
codebuildRoleArn = "string",
componentRoleArn = "string",
environmentAccountId = "string",
environmentName = "string",
id = "string",
lastModifiedAt = as.POSIXct(
"2015-01-01"
),
managementAccountId = "string",
requestedAt = as.POSIXct(
"2015-01-01"
),
roleArn = "string",
status = "PENDING"|"CONNECTED"|"REJECTED"
)
)
Request syntax¶
svc$update_environment_account_connection(
codebuildRoleArn = "string",
componentRoleArn = "string",
id = "string",
roleArn = "string"
)