Interface CfnBillingGroupProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnBillingGroupProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:55.826Z") @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"))
                 .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();
 
  • Method Details

    • getAccountGrouping

      @Stability(Stable) @NotNull Object getAccountGrouping()
      The set of accounts that will be under the billing group.

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

    • getComputationPreference

      @Stability(Stable) @NotNull Object getComputationPreference()
      The preferences and settings that will be used to compute the AWS charges for a billing group.
    • getName

      @Stability(Stable) @NotNull String getName()
      The billing group's name.
    • getPrimaryAccountId

      @Stability(Stable) @NotNull String getPrimaryAccountId()
      The account ID that serves as the main account in a billing group.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of the billing group.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      AWS::BillingConductor::BillingGroup.Tags.
    • builder

      @Stability(Stable) static CfnBillingGroupProps.Builder builder()
      Returns:
      a CfnBillingGroupProps.Builder of CfnBillingGroupProps