Class: AWSCDK::Interfaces::AWSBilling::BillingViewReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSBilling::BillingViewReference
- Defined in:
- interfaces/aws_billing/billing_view_reference.rb
Overview
A reference to a BillingView resource.
Instance Attribute Summary collapse
-
#billing_view_arn ⇒ String
readonly
The Arn of the BillingView resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(billing_view_arn:) ⇒ BillingViewReference
constructor
A new instance of BillingViewReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(billing_view_arn:) ⇒ BillingViewReference
Returns a new instance of BillingViewReference.
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_arn ⇒ String (readonly)
The Arn of the BillingView resource.
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_properties ⇒ Object
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_jsii ⇒ Object
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 |