Class: AWSCDK::AlexaAsk::CfnSkill::OverridesProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(manifest: nil) ⇒ OverridesProperty

Returns a new instance of OverridesProperty.

Parameters:

  • manifest (Object, nil) (defaults to: nil)

    Overrides to apply to the skill manifest inside of the skill package.



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

#manifestObject? (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_propertiesObject



604
605
606
607
608
# File 'alexa_ask/cfn_skill.rb', line 604

def self.jsii_properties
  {
    :manifest => "manifest",
  }
end

Instance Method Details

#to_jsiiObject



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