interface CfnSkillProps
Language | Type name |
---|---|
.NET | Amazon.CDK.Alexa.Ask.CfnSkillProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/alexaask#CfnSkillProps |
Java | software.amazon.awscdk.alexa.ask.CfnSkillProps |
Python | aws_cdk.alexa_ask.CfnSkillProps |
TypeScript | aws-cdk-lib » alexa_ask » CfnSkillProps |
Properties for defining a CfnSkill
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ask-skill.html
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 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 | IResolvable | Authentication | 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:
IResolvable
|
Authentication
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.