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