Class: AWSCDK::AlexaAsk::CfnSkill::OverridesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AlexaAsk::CfnSkill::OverridesProperty
- Defined in:
- alexa_ask/cfn_skill.rb
Overview
The Overrides property type provides overrides to the skill package to apply when creating or updating the skill.
Values provided here do not modify the contents of the original skill package. Currently, only overriding values inside of the skill manifest component of the package is supported.
Overrides is a property of the Alexa::ASK::Skill SkillPackage property type.
Instance Attribute Summary collapse
-
#manifest ⇒ Object?
readonly
Overrides to apply to the skill manifest inside of the skill package.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(manifest: nil) ⇒ OverridesProperty
constructor
A new instance of OverridesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(manifest: nil) ⇒ OverridesProperty
Returns a new instance of OverridesProperty.
591 592 593 594 |
# File 'alexa_ask/cfn_skill.rb', line 591 def initialize(manifest: nil) @manifest = manifest Jsii::Type.check_type(@manifest, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "manifest") unless @manifest.nil? end |
Instance Attribute Details
#manifest ⇒ Object? (readonly)
Overrides to apply to the skill manifest inside of the skill package.
The skill manifest contains metadata about the skill. For more information, see .
602 603 604 |
# File 'alexa_ask/cfn_skill.rb', line 602 def manifest @manifest end |
Class Method Details
.jsii_properties ⇒ Object
604 605 606 607 608 |
# File 'alexa_ask/cfn_skill.rb', line 604 def self.jsii_properties { :manifest => "manifest", } end |
Instance Method Details
#to_jsii ⇒ Object
610 611 612 613 614 615 616 |
# File 'alexa_ask/cfn_skill.rb', line 610 def to_jsii result = {} result.merge!({ "manifest" => @manifest, }) result.compact end |