Skip to content

Create Billing Group

billingconductor_create_billing_group R Documentation

Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation

Description

Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.

Usage

billingconductor_create_billing_group(ClientToken, Name,
  AccountGrouping, ComputationPreference, PrimaryAccountId, Description,
  Tags)

Arguments

ClientToken

The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.

Name

[required] The billing group name. The names must be unique.

AccountGrouping

[required] The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts in a consolidated billing family.

ComputationPreference

[required] The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.

PrimaryAccountId

The account ID that serves as the main account in a billing group.

Description

The description of the billing group.

Tags

A map that contains tag keys and tag values that are attached to a billing group. This feature isn't available during the beta.

Value

A list with the following syntax:

list(
  Arn = "string"
)

Request syntax

svc$create_billing_group(
  ClientToken = "string",
  Name = "string",
  AccountGrouping = list(
    LinkedAccountIds = list(
      "string"
    ),
    AutoAssociate = TRUE|FALSE
  ),
  ComputationPreference = list(
    PricingPlanArn = "string"
  ),
  PrimaryAccountId = "string",
  Description = "string",
  Tags = list(
    "string"
  )
)