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