Skip to content
v2.278.0

RuleProperty ​

Struct External

The InvoiceUnitRule object used to update invoice units.

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 ruleProperty: invoicing.CfnInvoiceUnit.RuleProperty = {
  linkedAccounts: ['linkedAccounts'],
};
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

rule_property = invoicing.CfnInvoiceUnit.RuleProperty(
    linked_accounts=["linkedAccounts"]
)
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.*;

RuleProperty ruleProperty = RuleProperty.builder()
        .linkedAccounts(List.of("linkedAccounts"))
        .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 ruleProperty = new RuleProperty {
    LinkedAccounts = new [] { "linkedAccounts" }
};
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"

ruleProperty := &RuleProperty{
	LinkedAccounts: []*string{
		jsii.String("linkedAccounts"),
	},
}

Properties ​

linkedAccountsstring[]linked_accountstyping.List[str]linkedAccountsList<String>LinkedAccountsstring[]LinkedAccounts*[]*string required #
The list of `LINKED_ACCOUNT` IDs where charges are included within the invoice unit.