Skip to content

Update Account Settings

proton_update_account_settings R Documentation

Update Proton settings that are used for multiple services in the Amazon Web Services account

Description

Update Proton settings that are used for multiple services in the Amazon Web Services account.

Usage

proton_update_account_settings(deletePipelineProvisioningRepository,
  pipelineCodebuildRoleArn, pipelineProvisioningRepository,
  pipelineServiceRoleArn)

Arguments

deletePipelineProvisioningRepository

Set to true to remove a configured pipeline repository from the account settings. Don't set this field if you are updating the configured pipeline repository.

pipelineCodebuildRoleArn

The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Proton assumes this role for CodeBuild-based provisioning.

pipelineProvisioningRepository

A linked repository for pipeline provisioning. Specify it if you have environments configured for self-managed provisioning with services that include pipelines. A linked repository is a repository that has been registered with Proton. For more information, see create_repository.

To remove a previously configured repository, set deletePipelineProvisioningRepository to true, and don't set pipelineProvisioningRepository.

pipelineServiceRoleArn

The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by customer-owned automation for self-managed provisioning.

To remove a previously configured ARN, specify an empty string.

Value

A list with the following syntax:

list(
  accountSettings = list(
    pipelineCodebuildRoleArn = "string",
    pipelineProvisioningRepository = list(
      arn = "string",
      branch = "string",
      name = "string",
      provider = "GITHUB"|"GITHUB_ENTERPRISE"|"BITBUCKET"
    ),
    pipelineServiceRoleArn = "string"
  )
)

Request syntax

svc$update_account_settings(
  deletePipelineProvisioningRepository = TRUE|FALSE,
  pipelineCodebuildRoleArn = "string",
  pipelineProvisioningRepository = list(
    branch = "string",
    name = "string",
    provider = "GITHUB"|"GITHUB_ENTERPRISE"|"BITBUCKET"
  ),
  pipelineServiceRoleArn = "string"
)