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