We recommend new projects start with resources from the AWS provider.
aws-native.invoicing.getInvoiceUnit
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.
Using getInvoiceUnit
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getInvoiceUnit(args: GetInvoiceUnitArgs, opts?: InvokeOptions): Promise<GetInvoiceUnitResult>
function getInvoiceUnitOutput(args: GetInvoiceUnitOutputArgs, opts?: InvokeOptions): Output<GetInvoiceUnitResult>def get_invoice_unit(invoice_unit_arn: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetInvoiceUnitResult
def get_invoice_unit_output(invoice_unit_arn: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetInvoiceUnitResult]func LookupInvoiceUnit(ctx *Context, args *LookupInvoiceUnitArgs, opts ...InvokeOption) (*LookupInvoiceUnitResult, error)
func LookupInvoiceUnitOutput(ctx *Context, args *LookupInvoiceUnitOutputArgs, opts ...InvokeOption) LookupInvoiceUnitResultOutput> Note: This function is named LookupInvoiceUnit in the Go SDK.
public static class GetInvoiceUnit 
{
    public static Task<GetInvoiceUnitResult> InvokeAsync(GetInvoiceUnitArgs args, InvokeOptions? opts = null)
    public static Output<GetInvoiceUnitResult> Invoke(GetInvoiceUnitInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInvoiceUnitResult> getInvoiceUnit(GetInvoiceUnitArgs args, InvokeOptions options)
public static Output<GetInvoiceUnitResult> getInvoiceUnit(GetInvoiceUnitArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:invoicing:getInvoiceUnit
  arguments:
    # arguments dictionaryThe following arguments are supported:
- InvoiceUnit stringArn 
- The ARN to identify an invoice unit. This information can't be modified or deleted.
- InvoiceUnit stringArn 
- The ARN to identify an invoice unit. This information can't be modified or deleted.
- invoiceUnit StringArn 
- The ARN to identify an invoice unit. This information can't be modified or deleted.
- invoiceUnit stringArn 
- The ARN to identify an invoice unit. This information can't be modified or deleted.
- invoice_unit_ strarn 
- The ARN to identify an invoice unit. This information can't be modified or deleted.
- invoiceUnit StringArn 
- The ARN to identify an invoice unit. This information can't be modified or deleted.
getInvoiceUnit Result
The following output properties are available:
- Description string
- The assigned description for an invoice unit. This information can't be modified or deleted.
- 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.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- The tag structure that contains a tag key and value.
- Rule
Pulumi.Aws Native. Invoicing. Outputs. Invoice Unit Rule 
- An InvoiceUnitRuleobject used the categorize invoice units.
- TaxInheritance boolDisabled 
- Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
- Description string
- The assigned description for an invoice unit. This information can't be modified or deleted.
- 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.
- Tag
- The tag structure that contains a tag key and value.
- Rule
InvoiceUnit Rule 
- An InvoiceUnitRuleobject used the categorize invoice units.
- TaxInheritance boolDisabled 
- Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
- description String
- The assigned description for an invoice unit. This information can't be modified or deleted.
- 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.
- List<Tag>
- The tag structure that contains a tag key and value.
- rule
InvoiceUnit Rule 
- An InvoiceUnitRuleobject used the categorize invoice units.
- taxInheritance BooleanDisabled 
- Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
- description string
- The assigned description for an invoice unit. This information can't be modified or deleted.
- 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.
- Tag[]
- The tag structure that contains a tag key and value.
- rule
InvoiceUnit Rule 
- An InvoiceUnitRuleobject used the categorize invoice units.
- taxInheritance booleanDisabled 
- Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
- description str
- The assigned description for an invoice unit. This information can't be modified or deleted.
- 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.
- Sequence[root_Tag]
- The tag structure that contains a tag key and value.
- rule
InvoiceUnit Rule 
- An InvoiceUnitRuleobject used the categorize invoice units.
- tax_inheritance_ booldisabled 
- Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
- description String
- The assigned description for an invoice unit. This information can't be modified or deleted.
- 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.
- List<Property Map>
- The tag structure that contains a tag key and value.
- rule Property Map
- An InvoiceUnitRuleobject used the categorize invoice units.
- taxInheritance BooleanDisabled 
- Whether the invoice unit based tax inheritance is/ should be enabled or disabled.
Supporting Types
InvoiceUnitRule  
- 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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.