Show / Hide Table of Contents

Class CfnSkillProps

Properties for defining a CfnSkill.

Inheritance
object
CfnSkillProps
Implements
ICfnSkillProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Alexa.Ask
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSkillProps : ICfnSkillProps
Syntax (vb)
Public Class CfnSkillProps 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

CfnSkillProps()

Properties for defining a CfnSkill.

Properties

AuthenticationConfiguration

Login with Amazon (LWA) configuration used to authenticate with the Alexa service.

SkillPackage

Configuration for the skill package that contains the components of the Alexa skill.

VendorId

The vendor ID associated with the Amazon developer account that will host the skill.

Constructors

CfnSkillProps()

Properties for defining a CfnSkill.

public CfnSkillProps()
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"
             };

Properties

AuthenticationConfiguration

Login with Amazon (LWA) configuration used to authenticate with the Alexa service.

public object AuthenticationConfiguration { get; set; }
Property Value

object

Remarks

Only Login with Amazon clients created through the are supported. The client ID, client secret, and refresh token are required.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ask-skill.html#cfn-ask-skill-authenticationconfiguration

SkillPackage

Configuration for the skill package that contains the components of the Alexa skill.

public object SkillPackage { get; set; }
Property Value

object

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ask-skill.html#cfn-ask-skill-skillpackage

VendorId

The vendor ID associated with the Amazon developer account that will host the skill.

public string VendorId { get; set; }
Property Value

string

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ask-skill.html#cfn-ask-skill-vendorid

Implements

ICfnSkillProps
Back to top Generated by DocFX