Class: AWSCDK::Invoicing::CfnInvoiceUnit::RuleProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
invoicing/cfn_invoice_unit.rb

Overview

The InvoiceUnitRule object used to update invoice units.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(linked_accounts:) ⇒ RuleProperty

Returns a new instance of RuleProperty.

Parameters:

  • linked_accounts (Array<String>)

    The list of LINKED_ACCOUNT IDs where charges are included within the invoice unit.



640
641
642
643
# File 'invoicing/cfn_invoice_unit.rb', line 640

def initialize(linked_accounts:)
  @linked_accounts = linked_accounts
  Jsii::Type.check_type(@linked_accounts, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "linkedAccounts")
end

Instance Attribute Details

#linked_accountsArray<String> (readonly)

The list of LINKED_ACCOUNT IDs where charges are included within the invoice unit.



649
650
651
# File 'invoicing/cfn_invoice_unit.rb', line 649

def linked_accounts
  @linked_accounts
end

Class Method Details

.jsii_propertiesObject



651
652
653
654
655
# File 'invoicing/cfn_invoice_unit.rb', line 651

def self.jsii_properties
  {
    :linked_accounts => "linkedAccounts",
  }
end

Instance Method Details

#to_jsiiObject



657
658
659
660
661
662
663
# File 'invoicing/cfn_invoice_unit.rb', line 657

def to_jsii
  result = {}
  result.merge!({
    "linkedAccounts" => @linked_accounts,
  })
  result.compact
end