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