CfnBillingGroupProps

class aws_cdk.aws_billingconductor.CfnBillingGroupProps(*, account_grouping, computation_preference, name, primary_account_id, description=None, tags=None)

Bases: object

Properties for defining a CfnBillingGroup.

Parameters:
  • account_grouping (Union[AccountGroupingProperty, Dict[str, Any], IResolvable]) – The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts in a consolidated family.

  • computation_preference (Union[IResolvable, ComputationPreferenceProperty, Dict[str, Any]]) – The preferences and settings that will be used to compute the AWS charges for a billing group.

  • name (str) – The billing group’s name.

  • primary_account_id (str) – The account ID that serves as the main account in a billing group.

  • description (Optional[str]) – The description of the billing group.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – AWS::BillingConductor::BillingGroup.Tags.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-billinggroup.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_billingconductor as billingconductor

cfn_billing_group_props = billingconductor.CfnBillingGroupProps(
    account_grouping=billingconductor.CfnBillingGroup.AccountGroupingProperty(
        linked_account_ids=["linkedAccountIds"]
    ),
    computation_preference=billingconductor.CfnBillingGroup.ComputationPreferenceProperty(
        pricing_plan_arn="pricingPlanArn"
    ),
    name="name",
    primary_account_id="primaryAccountId",

    # the properties below are optional
    description="description",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

account_grouping

The set of accounts that will be under the billing group.

The set of accounts resemble the linked accounts in a consolidated family.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-billinggroup.html#cfn-billingconductor-billinggroup-accountgrouping

computation_preference

The preferences and settings that will be used to compute the AWS charges for a billing group.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-billinggroup.html#cfn-billingconductor-billinggroup-computationpreference

description

The description of the billing group.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-billinggroup.html#cfn-billingconductor-billinggroup-description

name

The billing group’s name.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-billinggroup.html#cfn-billingconductor-billinggroup-name

primary_account_id

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

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-billinggroup.html#cfn-billingconductor-billinggroup-primaryaccountid

tags

AWS::BillingConductor::BillingGroup.Tags.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-billinggroup.html#cfn-billingconductor-billinggroup-tags