interface SkillPackageProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.Alexa.Ask.CfnSkill.SkillPackageProperty |
![]() | software.amazon.awscdk.alexa.ask.CfnSkill.SkillPackageProperty |
![]() | aws_cdk.alexa_ask.CfnSkill.SkillPackageProperty |
![]() | @aws-cdk/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 * as alexa_ask from '@aws-cdk/alexa-ask';
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
Name | Type | Description |
---|---|---|
s3 | string | The name of the Amazon S3 bucket where the .zip file that contains the skill package is stored. |
s3 | string | The location and name of the skill package .zip file. |
overrides? | IResolvable | Overrides | Overrides to the skill package to apply when creating or updating the skill. |
s3 | string | 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. |
s3 | string | If 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
|
Overrides
(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.