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