Skip to content
v2.278.0

CfnInvoiceUnitProps ​

Struct External

Properties for defining a CfnInvoiceUnit.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_invoicing as invoicing } from 'aws-cdk-lib';
const cfnInvoiceUnitProps: invoicing.CfnInvoiceUnitProps = {
  invoiceReceiver: 'invoiceReceiver',
  name: 'name',
  rule: {
    linkedAccounts: ['linkedAccounts'],
  },

  // the properties below are optional
  description: 'description',
  resourceTags: [{
    key: 'key',
    value: 'value',
  }],
  taxInheritanceDisabled: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_invoicing as invoicing

cfn_invoice_unit_props = invoicing.CfnInvoiceUnitProps(
    invoice_receiver="invoiceReceiver",
    name="name",
    rule=invoicing.CfnInvoiceUnit.RuleProperty(
        linked_accounts=["linkedAccounts"]
    ),

    # the properties below are optional
    description="description",
    resource_tags=[invoicing.CfnInvoiceUnit.ResourceTagProperty(
        key="key",
        value="value"
    )],
    tax_inheritance_disabled=False
)
java
// 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.*;

CfnInvoiceUnitProps cfnInvoiceUnitProps = CfnInvoiceUnitProps.builder()
        .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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Invoicing;

var cfnInvoiceUnitProps = new CfnInvoiceUnitProps {
    InvoiceReceiver = "invoiceReceiver",
    Name = "name",
    Rule = new RuleProperty {
        LinkedAccounts = new [] { "linkedAccounts" }
    },

    // the properties below are optional
    Description = "description",
    ResourceTags = new [] { new ResourceTagProperty {
        Key = "key",
        Value = "value"
    } },
    TaxInheritanceDisabled = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnInvoiceUnitProps := &CfnInvoiceUnitProps{
	InvoiceReceiver: jsii.String("invoiceReceiver"),
	Name: jsii.String("name"),
	Rule: &RuleProperty{
		LinkedAccounts: []*string{
			jsii.String("linkedAccounts"),
		},
	},

	// the properties below are optional
	Description: jsii.String("description"),
	ResourceTags: []ResourceTagProperty{
		&ResourceTagProperty{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	TaxInheritanceDisabled: jsii.Boolean(false),
}

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
The assigned description for an invoice unit.

This information can't be modified or deleted.

invoiceReceiverstringinvoice_receiverstrinvoiceReceiverStringInvoiceReceiverstringInvoiceReceiver*string required #
The account that receives invoices related to the invoice unit.
namestringnamestrnameStringNamestringName*string required #
A unique name that is distinctive within your AWS .
resourceTagsoptionalCfnInvoiceUnit.ResourceTagProperty[]resource_tagsoptionaltyping.List[ResourceTagProperty]resourceTagsoptionalList<ResourceTagProperty>ResourceTagsoptionalResourceTagProperty[]ResourceTagsoptional*[]ResourceTagProperty #
The tag structure that contains a tag key and value.
ruleIResolvable | CfnInvoiceUnit.RulePropertyruletyping.Union[IResolvable, RuleProperty]ruleIResolvableRuleIResolvableRuleinterface{} required #
An `InvoiceUnitRule` object used the categorize invoice units.
taxInheritanceDisabledoptionalboolean | IResolvabletax_inheritance_disabledoptionaltyping.Union[bool, IResolvable]taxInheritanceDisabledoptionalBooleanTaxInheritanceDisabledoptionalboolTaxInheritanceDisabledoptionalinterface{} #
Whether the invoice unit based tax inheritance is/ should be enabled or disabled.