interface CfnSkillProps
Language | Type name |
---|---|
.NET | Amazon.CDK.Alexa.Ask.CfnSkillProps |
Java | software.amazon.awscdk.alexa.ask.CfnSkillProps |
Python | aws_cdk.alexa_ask.CfnSkillProps |
TypeScript | @aws-cdk/alexa-ask » CfnSkillProps |
Properties for defining a CfnSkill
.
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 cfnSkillProps: alexa_ask.CfnSkillProps = {
authenticationConfiguration: {
clientId: 'clientId',
clientSecret: 'clientSecret',
refreshToken: 'refreshToken',
},
skillPackage: {
s3Bucket: 's3Bucket',
s3Key: 's3Key',
// the properties below are optional
overrides: {
manifest: manifest,
},
s3BucketRole: 's3BucketRole',
s3ObjectVersion: 's3ObjectVersion',
},
vendorId: 'vendorId',
};
Properties
Name | Type | Description |
---|---|---|
authentication | Authentication | IResolvable | Login with Amazon (LWA) configuration used to authenticate with the Alexa service. |
skill | IResolvable | Skill | Configuration for the skill package that contains the components of the Alexa skill. |
vendor | string | The vendor ID associated with the Amazon developer account that will host the skill. |
authenticationConfiguration
Type:
Authentication
|
IResolvable
Login with Amazon (LWA) configuration used to authenticate with the Alexa service.
Only Login with Amazon clients created through the are supported. The client ID, client secret, and refresh token are required.
skillPackage
Type:
IResolvable
|
Skill
Configuration 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. For more information about the skill package format, see the .
vendorId
Type:
string
The vendor ID associated with the Amazon developer account that will host the skill.
Details for retrieving the vendor ID are in . The provided LWA credentials must be linked to the developer account associated with this vendor ID.