We recommend new projects start with resources from the AWS provider.
aws-native.invoicing.InvoiceUnit
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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 string
- The unique name of the resource.
- args InvoiceUnitArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args InvoiceUnitArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InvoiceUnitArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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 string
- The account that receives invoices related to the invoice unit.
- Rule
Pulumi.Aws Native. Invoicing. Inputs. Invoice Unit Rule 
- An InvoiceUnitRuleobject 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 .
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- The tag structure that contains a tag key and value.
- TaxInheritance boolDisabled 
- Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
- InvoiceReceiver string
- The account that receives invoices related to the invoice unit.
- Rule
InvoiceUnit Rule Args 
- An InvoiceUnitRuleobject 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 .
- 
TagArgs 
- The tag structure that contains a tag key and value.
- TaxInheritance boolDisabled 
- Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
- invoiceReceiver String
- The account that receives invoices related to the invoice unit.
- rule
InvoiceUnit Rule 
- An InvoiceUnitRuleobject 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 .
- List<Tag>
- The tag structure that contains a tag key and value.
- taxInheritance BooleanDisabled 
- Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
- invoiceReceiver string
- The account that receives invoices related to the invoice unit.
- rule
InvoiceUnit Rule 
- An InvoiceUnitRuleobject 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 .
- Tag[]
- The tag structure that contains a tag key and value.
- taxInheritance booleanDisabled 
- Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
- invoice_receiver str
- The account that receives invoices related to the invoice unit.
- rule
InvoiceUnit Rule Args 
- An InvoiceUnitRuleobject 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 .
- 
Sequence[TagArgs] 
- The tag structure that contains a tag key and value.
- tax_inheritance_ booldisabled 
- Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
- invoiceReceiver String
- The account that receives invoices related to the invoice unit.
- rule Property Map
- An InvoiceUnitRuleobject 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 .
- List<Property Map>
- The tag structure that contains a tag key and value.
- taxInheritance BooleanDisabled 
- 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.
- InvoiceUnit stringArn 
- 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.
- InvoiceUnit stringArn 
- 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.
- invoiceUnit StringArn 
- 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.
- invoiceUnit stringArn 
- 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_ strarn 
- 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.
- invoiceUnit StringArn 
- 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 List<string>
- The list of LINKED_ACCOUNTIDs where charges are included within the invoice unit.
- LinkedAccounts []string
- The list of LINKED_ACCOUNTIDs where charges are included within the invoice unit.
- linkedAccounts List<String>
- The list of LINKED_ACCOUNTIDs where charges are included within the invoice unit.
- linkedAccounts string[]
- The list of LINKED_ACCOUNTIDs where charges are included within the invoice unit.
- linked_accounts Sequence[str]
- The list of LINKED_ACCOUNTIDs where charges are included within the invoice unit.
- linkedAccounts List<String>
- The list of LINKED_ACCOUNTIDs where charges are included within the invoice unit.
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.