Skip to content
v2.276.0

CfnBillingGroupProps Struct ​

Properties for defining a CfnBillingGroup.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_billingconductor as billingconductor } from 'aws-cdk-lib';
const cfnBillingGroupProps: billingconductor.CfnBillingGroupProps = {
  accountGrouping: {
    autoAssociate: false,
    linkedAccountIds: ['linkedAccountIds'],
    responsibilityTransferArn: 'responsibilityTransferArn',
  },
  computationPreference: {
    pricingPlanArn: 'pricingPlanArn',
  },
  name: 'name',

  // the properties below are optional
  description: 'description',
  primaryAccountId: 'primaryAccountId',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

accountGroupingIResolvable | CfnBillingGroup.AccountGroupingPropertyaccount_groupingtyping.Union[IResolvable, AccountGroupingProperty]accountGroupingIResolvableAccountGroupingIResolvableAccountGroupinginterface{}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.

computationPreferenceIResolvable | CfnBillingGroup.ComputationPreferencePropertycomputation_preferencetyping.Union[IResolvable, ComputationPreferenceProperty]computationPreferenceIResolvableComputationPreferenceIResolvableComputationPreferenceinterface{}required#
The preferences and settings that will be used to compute the AWS charges for a billing group.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
The description of the billing group.
namestringnamestrnameStringNamestringName*stringrequired#
The billing group's name.
primaryAccountIdoptionalstringprimary_account_idoptionalstrprimaryAccountIdoptionalStringPrimaryAccountIdoptionalstringPrimaryAccountIdoptional*string#
The account ID that serves as the main account in a billing group.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
A map that contains tag keys and tag values that are attached to a billing group.