Interface CfnSkill.ISkillPackageProperty
The SkillPackage
property type contains configuration details for the skill package that contains the components of the Alexa skill.
Namespace: Amazon.CDK.Alexa.Ask
Assembly: Amazon.CDK.Alexa.Ask.dll
Syntax (csharp)
public interface ISkillPackageProperty
Syntax (vb)
Public Interface 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
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. |
S3BucketRole | ARN of the IAM role that grants the Alexa service ( |
S3Key | The location and name of the skill package .zip file. |
S3ObjectVersion | If you have S3 versioning enabled, the version ID of the skill package.zip file. |
Properties
Overrides
Overrides to the skill package to apply when creating or updating the skill.
virtual object Overrides { get; }
Property Value
System.Object
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.
string S3Bucket { get; }
Property Value
System.String
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.
virtual string S3BucketRole { get; }
Property Value
System.String
Remarks
S3Key
The location and name of the skill package .zip file.
string S3Key { get; }
Property Value
System.String
Remarks
S3ObjectVersion
If you have S3 versioning enabled, the version ID of the skill package.zip file.
virtual string S3ObjectVersion { get; }
Property Value
System.String