Class: AWSCDK::Interfaces::AWSInvoicing::InvoiceUnitReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSInvoicing::InvoiceUnitReference
- Defined in:
- interfaces/aws_invoicing/invoice_unit_reference.rb
Overview
A reference to a InvoiceUnit resource.
Instance Attribute Summary collapse
-
#invoice_unit_arn ⇒ String
readonly
The InvoiceUnitArn of the InvoiceUnit resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(invoice_unit_arn:) ⇒ InvoiceUnitReference
constructor
A new instance of InvoiceUnitReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(invoice_unit_arn:) ⇒ InvoiceUnitReference
Returns a new instance of InvoiceUnitReference.
8 9 10 11 |
# File 'interfaces/aws_invoicing/invoice_unit_reference.rb', line 8 def initialize(invoice_unit_arn:) @invoice_unit_arn = invoice_unit_arn Jsii::Type.check_type(@invoice_unit_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "invoiceUnitArn") end |
Instance Attribute Details
#invoice_unit_arn ⇒ String (readonly)
The InvoiceUnitArn of the InvoiceUnit resource.
16 17 18 |
# File 'interfaces/aws_invoicing/invoice_unit_reference.rb', line 16 def invoice_unit_arn @invoice_unit_arn end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_invoicing/invoice_unit_reference.rb', line 18 def self.jsii_properties { :invoice_unit_arn => "invoiceUnitArn", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_invoicing/invoice_unit_reference.rb', line 24 def to_jsii result = {} result.merge!({ "invoiceUnitArn" => @invoice_unit_arn, }) result.compact end |