Class CfnSkillProps
Properties for defining a CfnSkill
.
Inheritance
Implements
Namespace: Amazon.CDK.Alexa.Ask
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSkillProps : Object, ICfnSkillProps
Syntax (vb)
Public Class CfnSkillProps
Inherits Object
Implements ICfnSkillProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ask-skill.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Alexa.Ask;
var manifest;
var cfnSkillProps = new CfnSkillProps {
AuthenticationConfiguration = new AuthenticationConfigurationProperty {
ClientId = "clientId",
ClientSecret = "clientSecret",
RefreshToken = "refreshToken"
},
SkillPackage = new SkillPackageProperty {
S3Bucket = "s3Bucket",
S3Key = "s3Key",
// the properties below are optional
Overrides = new OverridesProperty {
Manifest = manifest
},
S3BucketRole = "s3BucketRole",
S3ObjectVersion = "s3ObjectVersion"
},
VendorId = "vendorId"
};
Synopsis
Constructors
Cfn |
Properties
Authentication |
Login with Amazon (LWA) configuration used to authenticate with the Alexa service. |
Skill |
Configuration for the skill package that contains the components of the Alexa skill. |
Vendor |
The vendor ID associated with the Amazon developer account that will host the skill. |
Constructors
CfnSkillProps()
public CfnSkillProps()
Properties
AuthenticationConfiguration
Login with Amazon (LWA) configuration used to authenticate with the Alexa service.
public object AuthenticationConfiguration { get; set; }
Property Value
System.
Remarks
Only Login with Amazon clients created through the are supported. The client ID, client secret, and refresh token are required.
SkillPackage
Configuration for the skill package that contains the components of the Alexa skill.
public object SkillPackage { get; set; }
Property Value
System.
Remarks
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
The vendor ID associated with the Amazon developer account that will host the skill.
public string VendorId { get; set; }
Property Value
System.
Remarks
Details for retrieving the vendor ID are in . The provided LWA credentials must be linked to the developer account associated with this vendor ID.