proton_create_environment_account_connection: Create an environment account connection in an environment...

View source: R/proton_operations.R

proton_create_environment_account_connectionR Documentation

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

Description

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.

See https://www.paws-r-sdk.com/docs/proton_create_environment_account_connection/ for full documentation.

Usage

proton_create_environment_account_connection(
  clientToken = NULL,
  codebuildRoleArn = NULL,
  componentRoleArn = NULL,
  environmentName,
  managementAccountId,
  roleArn = NULL,
  tags = NULL
)

Arguments

clientToken

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

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.

You must specify componentRoleArn to allow directly defined components to be associated with any environments running in this account.

For more information about components, see Proton components in the Proton User Guide.

environmentName

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

managementAccountId

[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.

roleArn

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.

tags

An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.

For more information, see Proton resources and tagging in the Proton User Guide.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.