AWS::Invoicing::InvoiceUnit
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.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Invoicing::InvoiceUnit", "Properties" : { "Description" :
String
, "InvoiceReceiver" :String
, "Name" :String
, "ResourceTags" :[ ResourceTag, ... ]
, "Rule" :Rule
, "TaxInheritanceDisabled" :Boolean
} }
YAML
Type: AWS::Invoicing::InvoiceUnit Properties: Description:
String
InvoiceReceiver:String
Name:String
ResourceTags:- ResourceTag
Rule:Rule
TaxInheritanceDisabled:Boolean
Properties
Description
-
The assigned description for an invoice unit. This information can't be modified or deleted.
Required: No
Type: String
Pattern:
^[\S\s]*$
Minimum:
0
Maximum:
500
Update requires: No interruption
InvoiceReceiver
-
The account that receives invoices related to the invoice unit.
Required: Yes
Type: String
Pattern:
^\d{12}$
Minimum:
12
Maximum:
12
Update requires: Replacement
Name
-
A unique name that is distinctive within your AWS.
Required: Yes
Type: String
Pattern:
^(?! )[\p{L}\p{N}\p{Z}-_]*(?<! )$
Minimum:
1
Maximum:
50
Update requires: Replacement
-
The tag structure that contains a tag key and value.
Required: No
Type: Array of ResourceTag
Update requires: No interruption
Rule
-
An
InvoiceUnitRule
object used the categorize invoice units.Required: Yes
Type: Rule
Update requires: No interruption
TaxInheritanceDisabled
-
Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
Required: No
Type: Boolean
Update requires: No interruption
Return values
Ref
For more information about using the Ref
function, see Ref
.
Fn::GetAtt
InvoiceUnitArn
-
The ARN to identify an invoice unit. This information can't be modified or deleted.
LastModified
-
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.