1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. invoicing
  5. InvoiceUnit

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.invoicing.InvoiceUnit

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

An invoice unit is a set of mutually exclusive accounts that correspond to your business entity. Invoice units allow you to separate AWS account costs and configures your invoice for each business entity.

Create InvoiceUnit Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new InvoiceUnit(name: string, args: InvoiceUnitArgs, opts?: CustomResourceOptions);
@overload
def InvoiceUnit(resource_name: str,
                args: InvoiceUnitArgs,
                opts: Optional[ResourceOptions] = None)

@overload
def InvoiceUnit(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                invoice_receiver: Optional[str] = None,
                rule: Optional[InvoiceUnitRuleArgs] = None,
                description: Optional[str] = None,
                name: Optional[str] = None,
                resource_tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
                tax_inheritance_disabled: Optional[bool] = None)
func NewInvoiceUnit(ctx *Context, name string, args InvoiceUnitArgs, opts ...ResourceOption) (*InvoiceUnit, error)
public InvoiceUnit(string name, InvoiceUnitArgs args, CustomResourceOptions? opts = null)
public InvoiceUnit(String name, InvoiceUnitArgs args)
public InvoiceUnit(String name, InvoiceUnitArgs args, CustomResourceOptions options)
type: aws-native:invoicing:InvoiceUnit
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. InvoiceUnitArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. InvoiceUnitArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. InvoiceUnitArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. InvoiceUnitArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. InvoiceUnitArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

InvoiceUnit Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The InvoiceUnit resource accepts the following input properties:

InvoiceReceiver This property is required. string
The account that receives invoices related to the invoice unit.
Rule This property is required. Pulumi.AwsNative.Invoicing.Inputs.InvoiceUnitRule
An InvoiceUnitRule object used the categorize invoice units.
Description string
The assigned description for an invoice unit. This information can't be modified or deleted.
Name string
A unique name that is distinctive within your AWS .
ResourceTags List<Pulumi.AwsNative.Inputs.Tag>
The tag structure that contains a tag key and value.
TaxInheritanceDisabled bool
Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
InvoiceReceiver This property is required. string
The account that receives invoices related to the invoice unit.
Rule This property is required. InvoiceUnitRuleArgs
An InvoiceUnitRule object used the categorize invoice units.
Description string
The assigned description for an invoice unit. This information can't be modified or deleted.
Name string
A unique name that is distinctive within your AWS .
ResourceTags TagArgs
The tag structure that contains a tag key and value.
TaxInheritanceDisabled bool
Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
invoiceReceiver This property is required. String
The account that receives invoices related to the invoice unit.
rule This property is required. InvoiceUnitRule
An InvoiceUnitRule object used the categorize invoice units.
description String
The assigned description for an invoice unit. This information can't be modified or deleted.
name String
A unique name that is distinctive within your AWS .
resourceTags List<Tag>
The tag structure that contains a tag key and value.
taxInheritanceDisabled Boolean
Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
invoiceReceiver This property is required. string
The account that receives invoices related to the invoice unit.
rule This property is required. InvoiceUnitRule
An InvoiceUnitRule object used the categorize invoice units.
description string
The assigned description for an invoice unit. This information can't be modified or deleted.
name string
A unique name that is distinctive within your AWS .
resourceTags Tag[]
The tag structure that contains a tag key and value.
taxInheritanceDisabled boolean
Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
invoice_receiver This property is required. str
The account that receives invoices related to the invoice unit.
rule This property is required. InvoiceUnitRuleArgs
An InvoiceUnitRule object used the categorize invoice units.
description str
The assigned description for an invoice unit. This information can't be modified or deleted.
name str
A unique name that is distinctive within your AWS .
resource_tags Sequence[TagArgs]
The tag structure that contains a tag key and value.
tax_inheritance_disabled bool
Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
invoiceReceiver This property is required. String
The account that receives invoices related to the invoice unit.
rule This property is required. Property Map
An InvoiceUnitRule object used the categorize invoice units.
description String
The assigned description for an invoice unit. This information can't be modified or deleted.
name String
A unique name that is distinctive within your AWS .
resourceTags List<Property Map>
The tag structure that contains a tag key and value.
taxInheritanceDisabled Boolean
Whether the invoice unit based tax inheritance is/ should be enabled or disabled.

Outputs

All input properties are implicitly available as output properties. Additionally, the InvoiceUnit resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
InvoiceUnitArn string
The ARN to identify an invoice unit. This information can't be modified or deleted.
LastModified double
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.
Id string
The provider-assigned unique ID for this managed resource.
InvoiceUnitArn string
The ARN to identify an invoice unit. This information can't be modified or deleted.
LastModified float64
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.
id String
The provider-assigned unique ID for this managed resource.
invoiceUnitArn String
The ARN to identify an invoice unit. This information can't be modified or deleted.
lastModified Double
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.
id string
The provider-assigned unique ID for this managed resource.
invoiceUnitArn string
The ARN to identify an invoice unit. This information can't be modified or deleted.
lastModified number
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.
id str
The provider-assigned unique ID for this managed resource.
invoice_unit_arn str
The ARN to identify an invoice unit. This information can't be modified or deleted.
last_modified float
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.
id String
The provider-assigned unique ID for this managed resource.
invoiceUnitArn String
The ARN to identify an invoice unit. This information can't be modified or deleted.
lastModified Number
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.

Supporting Types

InvoiceUnitRule
, InvoiceUnitRuleArgs

LinkedAccounts This property is required. List<string>
The list of LINKED_ACCOUNT IDs where charges are included within the invoice unit.
LinkedAccounts This property is required. []string
The list of LINKED_ACCOUNT IDs where charges are included within the invoice unit.
linkedAccounts This property is required. List<String>
The list of LINKED_ACCOUNT IDs where charges are included within the invoice unit.
linkedAccounts This property is required. string[]
The list of LINKED_ACCOUNT IDs where charges are included within the invoice unit.
linked_accounts This property is required. Sequence[str]
The list of LINKED_ACCOUNT IDs where charges are included within the invoice unit.
linkedAccounts This property is required. List<String>
The list of LINKED_ACCOUNT IDs where charges are included within the invoice unit.

Tag
, TagArgs

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi