Class: AWSCDK::Interfaces::AWSBilling::BillingViewReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_billing/billing_view_reference.rb

Overview

A reference to a BillingView resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(billing_view_arn:) ⇒ BillingViewReference

Returns a new instance of BillingViewReference.

Parameters:

  • billing_view_arn (String)

    The Arn of the BillingView resource.



8
9
10
11
# File 'interfaces/aws_billing/billing_view_reference.rb', line 8

def initialize(billing_view_arn:)
  @billing_view_arn = billing_view_arn
  Jsii::Type.check_type(@billing_view_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "billingViewArn")
end

Instance Attribute Details

#billing_view_arnString (readonly)

The Arn of the BillingView resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_billing/billing_view_reference.rb', line 16

def billing_view_arn
  @billing_view_arn
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_billing/billing_view_reference.rb', line 18

def self.jsii_properties
  {
    :billing_view_arn => "billingViewArn",
  }
end

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/aws_billing/billing_view_reference.rb', line 24

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