Class CfnSkillPropsMixin.SkillPackageProperty
The SkillPackage property type contains configuration details for the skill package that contains the components of the Alexa skill.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.Alexa.ASK.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnSkillPropsMixin.SkillPackageProperty : CfnSkillPropsMixin.ISkillPackageProperty
Syntax (vb)
Public Class CfnSkillPropsMixin.SkillPackageProperty Implements CfnSkillPropsMixin.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.Mixins.Preview.Alexa.ASK.Mixins;
var manifest;
var skillPackageProperty = new SkillPackageProperty {
Overrides = new OverridesProperty {
Manifest = manifest
},
S3Bucket = "s3Bucket",
S3BucketRole = "s3BucketRole",
S3Key = "s3Key",
S3ObjectVersion = "s3ObjectVersion"
};
Synopsis
Constructors
| SkillPackageProperty() | The |
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. |
Constructors
SkillPackageProperty()
The SkillPackage property type contains configuration details for the skill package that contains the components of the Alexa skill.
public SkillPackageProperty()
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.Mixins.Preview.Alexa.ASK.Mixins;
var manifest;
var skillPackageProperty = new SkillPackageProperty {
Overrides = new OverridesProperty {
Manifest = manifest
},
S3Bucket = "s3Bucket",
S3BucketRole = "s3BucketRole",
S3Key = "s3Key",
S3ObjectVersion = "s3ObjectVersion"
};
Properties
Overrides
Overrides to the skill package to apply when creating or updating the skill.
public object? Overrides { get; set; }
Property Value
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.
Type union: either IResolvable or CfnSkillPropsMixin.IOverridesProperty
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
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, CloudFormation cannot create the skill.
public string? S3BucketRole { get; set; }
Property Value
Remarks
S3Key
The location and name of the skill package .zip file.
public string? S3Key { get; set; }
Property Value
Remarks
S3ObjectVersion
If you have S3 versioning enabled, the version ID of the skill package.zip file.
public string? S3ObjectVersion { get; set; }