aws-cdk-lib.alexa_ask.CfnSkillProps

interface CfnSkillProps

LanguageType name
.NETAmazon.CDK.Alexa.Ask.CfnSkillProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/alexaask#CfnSkillProps
Javasoftware.amazon.awscdk.alexa.ask.CfnSkillProps
Pythonaws_cdk.alexa_ask.CfnSkillProps
TypeScript aws-cdk-lib » 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 { 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

NameTypeDescription
authenticationConfigurationIResolvable | AuthenticationConfigurationPropertyLogin with Amazon (LWA) configuration used to authenticate with the Alexa service.
skillPackageIResolvable | SkillPackagePropertyConfiguration for the skill package that contains the components of the Alexa skill.
vendorIdstringThe vendor ID associated with the Amazon developer account that will host the skill.

authenticationConfiguration

Type: IResolvable | AuthenticationConfigurationProperty

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 | SkillPackageProperty

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.