Skip to content

Accept Environment Account Connection

proton_accept_environment_account_connection R Documentation

In a management account, an environment account connection request is accepted

Description

In a management account, an environment account connection request is accepted. When the environment account connection request is accepted, Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.

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

Usage

proton_accept_environment_account_connection(id)

Arguments

id

[required] The ID of the environment account connection.

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$accept_environment_account_connection(
  id = "string"
)