primaryAccountIdoptionalstringprimary_account_idoptionalstrprimaryAccountIdoptionalStringPrimaryAccountIdoptionalstringPrimaryAccountIdoptional*string #The account ID that serves as the main account in a billing group.
Properties for defining a CfnBillingGroup.
| Source | Generated at build time |
|---|---|
| Type last changed | v2.227.0 · 21 Nov 2025 |
// 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',
}],
};
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_billingconductor as billingconductor
cfn_billing_group_props = billingconductor.CfnBillingGroupProps(
account_grouping=billingconductor.CfnBillingGroup.AccountGroupingProperty(
auto_associate=False,
linked_account_ids=["linkedAccountIds"],
responsibility_transfer_arn="responsibilityTransferArn"
),
computation_preference=billingconductor.CfnBillingGroup.ComputationPreferenceProperty(
pricing_plan_arn="pricingPlanArn"
),
name="name",
# the properties below are optional
description="description",
primary_account_id="primaryAccountId",
tags=[CfnTag(
key="key",
value="value"
)]
)
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.billingconductor.*;
CfnBillingGroupProps cfnBillingGroupProps = CfnBillingGroupProps.builder()
.accountGrouping(AccountGroupingProperty.builder()
.autoAssociate(false)
.linkedAccountIds(List.of("linkedAccountIds"))
.responsibilityTransferArn("responsibilityTransferArn")
.build())
.computationPreference(ComputationPreferenceProperty.builder()
.pricingPlanArn("pricingPlanArn")
.build())
.name("name")
// the properties below are optional
.description("description")
.primaryAccountId("primaryAccountId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BillingConductor;
var cfnBillingGroupProps = new CfnBillingGroupProps {
AccountGrouping = new AccountGroupingProperty {
AutoAssociate = false,
LinkedAccountIds = new [] { "linkedAccountIds" },
ResponsibilityTransferArn = "responsibilityTransferArn"
},
ComputationPreference = new ComputationPreferenceProperty {
PricingPlanArn = "pricingPlanArn"
},
Name = "name",
// the properties below are optional
Description = "description",
PrimaryAccountId = "primaryAccountId",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnBillingGroupProps := &CfnBillingGroupProps{
AccountGrouping: &AccountGroupingProperty{
AutoAssociate: jsii.Boolean(false),
LinkedAccountIds: []*string{
jsii.String("linkedAccountIds"),
},
ResponsibilityTransferArn: jsii.String("responsibilityTransferArn"),
},
ComputationPreference: &ComputationPreferenceProperty{
PricingPlanArn: jsii.String("pricingPlanArn"),
},
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
PrimaryAccountId: jsii.String("primaryAccountId"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
accountGroupingIResolvable | CfnBillingGroup.account_groupingtyping.Union[IResolvable, AccountGroupingProperty]accountGroupingIResolvableAccountGroupingIResolvableAccountGroupinginterface{} required #The set of accounts resemble the linked accounts in a consolidated billing family.
computationPreferenceIResolvable | CfnBillingGroup.computation_preferencetyping.Union[IResolvable, ComputationPreferenceProperty]computationPreferenceIResolvableComputationPreferenceIResolvableComputationPreferenceinterface{} required #description?optionalstringdescription?optionalstrdescription?optionalStringDescription?optionalstringDescription?optional*string #primaryAccountId?optionalstringprimary_account_id?optionalstrprimaryAccountId?optionalStringPrimaryAccountId?optionalstringPrimaryAccountId?optional*string #