Interface CfnSkill.SkillPackageProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnSkill.SkillPackageProperty.Jsii$Proxy
Enclosing class:
CfnSkill

@Stability(Stable) public static interface CfnSkill.SkillPackageProperty extends software.amazon.jsii.JsiiSerializable
The SkillPackage property type contains configuration details for the skill package that contains the components of the Alexa skill.

Skill packages are retrieved from an Amazon S3 bucket and key and used to create and update the skill. More details about the skill package format are located in the .

SkillPackage is a property of the Alexa::ASK::Skill resource.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.alexa.ask.*;
 Object manifest;
 SkillPackageProperty skillPackageProperty = SkillPackageProperty.builder()
         .s3Bucket("s3Bucket")
         .s3Key("s3Key")
         // the properties below are optional
         .overrides(OverridesProperty.builder()
                 .manifest(manifest)
                 .build())
         .s3BucketRole("s3BucketRole")
         .s3ObjectVersion("s3ObjectVersion")
         .build();
 
  • Method Details

    • getS3Bucket

      @Stability(Stable) @NotNull String getS3Bucket()
      The name of the Amazon S3 bucket where the .zip file that contains the skill package is stored.
    • getS3Key

      @Stability(Stable) @NotNull String getS3Key()
      The location and name of the skill package .zip file.
    • getOverrides

      @Stability(Stable) @Nullable default Object getOverrides()
      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.

    • getS3BucketRole

      @Stability(Stable) @Nullable default String getS3BucketRole()
      ARN of the IAM role that grants the Alexa service ( alexa-appkit.amazon.com ) permission to access the bucket and retrieve the skill package. This property is optional. If you do not provide it, the bucket must be publicly accessible or configured with a policy that allows this access. Otherwise, AWS CloudFormation cannot create the skill.
    • getS3ObjectVersion

      @Stability(Stable) @Nullable default String getS3ObjectVersion()
      If you have S3 versioning enabled, the version ID of the skill package.zip file.
    • builder

      @Stability(Stable) static CfnSkill.SkillPackageProperty.Builder builder()
      Returns:
      a CfnSkill.SkillPackageProperty.Builder of CfnSkill.SkillPackageProperty