Interface CfnBillingGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBillingGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:00.096Z")
@Stability(Stable)
public interface CfnBillingGroupProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnBillingGroup.
Example:
// 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()
.linkedAccountIds(List.of("linkedAccountIds"))
// the properties below are optional
.autoAssociate(false)
.build())
.computationPreference(ComputationPreferenceProperty.builder()
.pricingPlanArn("pricingPlanArn")
.build())
.name("name")
.primaryAccountId("primaryAccountId")
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBillingGroupPropsstatic final classAn implementation forCfnBillingGroupProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnBillingGroupProps.Builderbuilder()The set of accounts that will be under the billing group.The preferences and settings that will be used to compute the AWS charges for a billing group.default StringThe description of the billing group.getName()The billing group's name.The account ID that serves as the main account in a billing group.getTags()A map that contains tag keys and tag values that are attached to a billing group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccountGrouping
The set of accounts that will be under the billing group.The set of accounts resemble the linked accounts in a consolidated billing family.
Returns union: either
IResolvableorCfnBillingGroup.AccountGroupingProperty- See Also:
-
getComputationPreference
The preferences and settings that will be used to compute the AWS charges for a billing group.Returns union: either
IResolvableorCfnBillingGroup.ComputationPreferenceProperty- See Also:
-
getName
The billing group's name.- See Also:
-
getPrimaryAccountId
The account ID that serves as the main account in a billing group.- See Also:
-
getDescription
The description of the billing group.- See Also:
-
getTags
A map that contains tag keys and tag values that are attached to a billing group.- See Also:
-
builder
- Returns:
- a
CfnBillingGroupProps.BuilderofCfnBillingGroupProps
-