Class CfnInvoiceUnit
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.invoicing.CfnInvoiceUnit
- All Implemented Interfaces:
- IInspectable,- ITaggableV2,- IInvoiceUnitRef,- software.amazon.jsii.JsiiSerializable,- software.constructs.IConstruct,- software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-29T11:15:41.395Z")
@Stability(Stable)
public class CfnInvoiceUnit
extends CfnResource
implements IInspectable, IInvoiceUnitRef, ITaggableV2
An invoice unit is a set of mutually exclusive account that correspond to your business entity.
 
Invoice units allow you separate AWS account costs and configures your invoice for each business entity going forward.
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.invoicing.*;
 CfnInvoiceUnit cfnInvoiceUnit = CfnInvoiceUnit.Builder.create(this, "MyCfnInvoiceUnit")
         .invoiceReceiver("invoiceReceiver")
         .name("name")
         .rule(RuleProperty.builder()
                 .linkedAccounts(List.of("linkedAccounts"))
                 .build())
         // the properties below are optional
         .description("description")
         .resourceTags(List.of(ResourceTagProperty.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .taxInheritanceDisabled(false)
         .build();
 - See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnInvoiceUnit.static interfaceThe tag structure that contains a tag key and value.static interfaceTheInvoiceUnitRuleobject used to update invoice units.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectableIInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.invoicing.IInvoiceUnitRefIInvoiceUnitRef.Jsii$Default, IInvoiceUnitRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCfnInvoiceUnit(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnInvoiceUnit(software.amazon.jsii.JsiiObjectRef objRef) CfnInvoiceUnit(software.constructs.Construct scope, String id, CfnInvoiceUnitProps props) 
- 
Method SummaryModifier and TypeMethodDescriptionThe ARN to identify an invoice unit.The last time the invoice unit was updated.Tag Manager which manages the tags for this resource.The assigned description for an invoice unit.The account that receives invoices related to the invoice unit.A reference to a InvoiceUnit resource.getName()A unique name that is distinctive within your AWS .The tag structure that contains a tag key and value.getRule()AnInvoiceUnitRuleobject used the categorize invoice units.Whether the invoice unit based tax inheritance is/ should be enabled or disabled.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDescription(String value) The assigned description for an invoice unit.voidsetInvoiceReceiver(String value) The account that receives invoices related to the invoice unit.voidA unique name that is distinctive within your AWS .voidThe tag structure that contains a tag key and value.voidsetRule(IResolvable value) AnInvoiceUnitRuleobject used the categorize invoice units.voidAnInvoiceUnitRuleobject used the categorize invoice units.voidsetTaxInheritanceDisabled(Boolean value) Whether the invoice unit based tax inheritance is/ should be enabled or disabled.voidWhether the invoice unit based tax inheritance is/ should be enabled or disabled.Methods inherited from class software.amazon.awscdk.CfnResourceaddDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElementgetRefMethods inherited from class software.amazon.awscdk.CfnElementgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.ConstructgetNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstructgetNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Field Details- 
CFN_RESOURCE_TYPE_NAMEThe CloudFormation resource type name for this resource class.
 
- 
- 
Constructor Details- 
CfnInvoiceUnitprotected CfnInvoiceUnit(software.amazon.jsii.JsiiObjectRef objRef) 
- 
CfnInvoiceUnitprotected CfnInvoiceUnit(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
CfnInvoiceUnit@Stability(Stable) public CfnInvoiceUnit(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnInvoiceUnitProps props) - Parameters:
- scope- Scope in which this resource is defined. This parameter is required.
- id- Construct identifier for this resource (unique in its scope). This parameter is required.
- props- Resource properties. This parameter is required.
 
 
- 
- 
Method Details- 
inspectExamines the CloudFormation resource and discloses attributes.- Specified by:
- inspectin interface- IInspectable
- Parameters:
- inspector- tree inspector to collect and process attributes. This parameter is required.
 
- 
renderProperties@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
- renderPropertiesin class- CfnResource
- Parameters:
- props- This parameter is required.
 
- 
getAttrInvoiceUnitArnThe ARN to identify an invoice unit.This information can't be modified or deleted. 
- 
getAttrLastModifiedThe last time the invoice unit was updated.This is important to determine the version of invoice unit configuration used to create the invoices. Any invoice created after this modified time will use this invoice unit configuration. 
- 
getCdkTagManagerTag Manager which manages the tags for this resource.- Specified by:
- getCdkTagManagerin interface- ITaggableV2
 
- 
getCfnProperties- Overrides:
- getCfnPropertiesin class- CfnResource
 
- 
getInvoiceUnitRefA reference to a InvoiceUnit resource.- Specified by:
- getInvoiceUnitRefin interface- IInvoiceUnitRef
 
- 
getInvoiceReceiverThe account that receives invoices related to the invoice unit.
- 
setInvoiceReceiverThe account that receives invoices related to the invoice unit.
- 
getNameA unique name that is distinctive within your AWS .
- 
setNameA unique name that is distinctive within your AWS .
- 
getRuleAnInvoiceUnitRuleobject used the categorize invoice units.Returns union: either IResolvableorCfnInvoiceUnit.RuleProperty
- 
setRuleAnInvoiceUnitRuleobject used the categorize invoice units.
- 
setRuleAnInvoiceUnitRuleobject used the categorize invoice units.
- 
getDescriptionThe assigned description for an invoice unit.
- 
setDescriptionThe assigned description for an invoice unit.
- 
getResourceTagsThe tag structure that contains a tag key and value.
- 
setResourceTags@Stability(Stable) public void setResourceTags(@Nullable List<CfnInvoiceUnit.ResourceTagProperty> value) The tag structure that contains a tag key and value.
- 
getTaxInheritanceDisabledWhether the invoice unit based tax inheritance is/ should be enabled or disabled.Returns union: either BooleanorIResolvable
- 
setTaxInheritanceDisabledWhether the invoice unit based tax inheritance is/ should be enabled or disabled.
- 
setTaxInheritanceDisabledWhether the invoice unit based tax inheritance is/ should be enabled or disabled.
 
-