aws-cdk-lib.alexa_ask.CfnSkill.SkillPackageProperty

interface SkillPackageProperty

LanguageType name
.NETAmazon.CDK.Alexa.Ask.CfnSkill.SkillPackageProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/alexaask#CfnSkill_SkillPackageProperty
Javasoftware.amazon.awscdk.alexa.ask.CfnSkill.SkillPackageProperty
Pythonaws_cdk.alexa_ask.CfnSkill.SkillPackageProperty
TypeScript aws-cdk-lib » alexa_ask » CfnSkill » SkillPackageProperty

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 { alexa_ask } from 'aws-cdk-lib';

declare const manifest: any;
const skillPackageProperty: alexa_ask.CfnSkill.SkillPackageProperty = {
  s3Bucket: 's3Bucket',
  s3Key: 's3Key',

  // the properties below are optional
  overrides: {
    manifest: manifest,
  },
  s3BucketRole: 's3BucketRole',
  s3ObjectVersion: 's3ObjectVersion',
};

Properties

NameTypeDescription
s3BucketstringThe name of the Amazon S3 bucket where the .zip file that contains the skill package is stored.
s3KeystringThe location and name of the skill package .zip file.
overrides?IResolvable | OverridesPropertyOverrides to the skill package to apply when creating or updating the skill.
s3BucketRole?stringARN 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.
s3ObjectVersion?stringIf you have S3 versioning enabled, the version ID of the skill package.zip file.

s3Bucket

Type: string

The name of the Amazon S3 bucket where the .zip file that contains the skill package is stored.


s3Key

Type: string

The location and name of the skill package .zip file.


overrides?

Type: IResolvable | OverridesProperty (optional)

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.


s3BucketRole?

Type: string (optional)

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.


s3ObjectVersion?

Type: string (optional)

If you have S3 versioning enabled, the version ID of the skill package.zip file.