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 Summary
Nested 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.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.invoicing.IInvoiceUnitRef
IInvoiceUnitRef.Jsii$Default, IInvoiceUnitRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnInvoiceUnit(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnInvoiceUnit(software.amazon.jsii.JsiiObjectRef objRef) CfnInvoiceUnit(software.constructs.Construct scope, String id, CfnInvoiceUnitProps props) -
Method Summary
Modifier 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.CfnResource
addDeletionOverride, 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.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnInvoiceUnit
protected CfnInvoiceUnit(software.amazon.jsii.JsiiObjectRef objRef) -
CfnInvoiceUnit
protected 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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 classCfnResource- Parameters:
props- This parameter is required.
-
getAttrInvoiceUnitArn
The ARN to identify an invoice unit.This information can't be modified or deleted.
-
getAttrLastModified
The 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.
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getInvoiceUnitRef
A reference to a InvoiceUnit resource.- Specified by:
getInvoiceUnitRefin interfaceIInvoiceUnitRef
-
getInvoiceReceiver
The account that receives invoices related to the invoice unit. -
setInvoiceReceiver
The account that receives invoices related to the invoice unit. -
getName
A unique name that is distinctive within your AWS . -
setName
A unique name that is distinctive within your AWS . -
getRule
AnInvoiceUnitRuleobject used the categorize invoice units.Returns union: either
IResolvableorCfnInvoiceUnit.RuleProperty -
setRule
AnInvoiceUnitRuleobject used the categorize invoice units. -
setRule
AnInvoiceUnitRuleobject used the categorize invoice units. -
getDescription
The assigned description for an invoice unit. -
setDescription
The assigned description for an invoice unit. -
getResourceTags
The 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. -
getTaxInheritanceDisabled
Whether the invoice unit based tax inheritance is/ should be enabled or disabled.Returns union: either
BooleanorIResolvable -
setTaxInheritanceDisabled
Whether the invoice unit based tax inheritance is/ should be enabled or disabled. -
setTaxInheritanceDisabled
Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
-