Class CfnSkill.SkillPackageProperty
The SkillPackage
property type contains configuration details for the skill package that contains the components of the Alexa skill.
Inheritance
Implements
Namespace: Amazon.CDK.Alexa.Ask
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SkillPackageProperty : Object, CfnSkill.ISkillPackageProperty
Syntax (vb)
Public Class SkillPackageProperty
Inherits Object
Implements CfnSkill.ISkillPackageProperty
Remarks
Skill packages are retrieved from an Amazon S3 bucket and key and used to create and update the skill. More details about the skill package format are located in the .
SkillPackage
is a property of the Alexa::ASK::Skill
resource.
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 skillPackageProperty = new SkillPackageProperty {
S3Bucket = "s3Bucket",
S3Key = "s3Key",
// the properties below are optional
Overrides = new OverridesProperty {
Manifest = manifest
},
S3BucketRole = "s3BucketRole",
S3ObjectVersion = "s3ObjectVersion"
};
Synopsis
Constructors
Skill |
Properties
Overrides | Overrides to the skill package to apply when creating or updating the skill. |
S3Bucket | The name of the Amazon S3 bucket where the .zip file that contains the skill package is stored. |
S3Bucket |
ARN of the IAM role that grants the Alexa service ( |
S3Key | The location and name of the skill package .zip file. |
S3Object |
If you have S3 versioning enabled, the version ID of the skill package.zip file. |
Constructors
SkillPackageProperty()
public SkillPackageProperty()
Properties
Overrides
Overrides to the skill package to apply when creating or updating the skill.
public object Overrides { get; set; }
Property Value
System.
Remarks
Values provided here do not modify the contents of the original skill package. Currently, only overriding values inside of the skill manifest component of the package is supported.
S3Bucket
The name of the Amazon S3 bucket where the .zip file that contains the skill package is stored.
public string S3Bucket { get; set; }
Property Value
System.
Remarks
S3BucketRole
ARN of the IAM role that grants the Alexa service ( alexa-appkit.amazon.com
) permission to access the bucket and retrieve the skill package. This property is optional. If you do not provide it, the bucket must be publicly accessible or configured with a policy that allows this access. Otherwise, AWS CloudFormation cannot create the skill.
public string S3BucketRole { get; set; }
Property Value
System.
Remarks
S3Key
The location and name of the skill package .zip file.
public string S3Key { get; set; }
Property Value
System.
Remarks
S3ObjectVersion
If you have S3 versioning enabled, the version ID of the skill package.zip file.
public string S3ObjectVersion { get; set; }
Property Value
System.