Class CfnSkill
The Alexa::ASK::Skill
resource creates an Alexa skill that enables customers to access new abilities.
Implements
Inherited Members
Namespace: Amazon.CDK.Alexa.Ask
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSkill : CfnResource, IInspectable
Syntax (vb)
Public Class CfnSkill
Inherits CfnResource
Implements IInspectable
Remarks
For more information about developing a skill, see the .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ask-skill.html
CloudformationResource: Alexa::ASK::Skill
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 cfnSkill = new CfnSkill(this, "MyCfnSkill", 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
CfnSkill(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnSkill(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnSkill(Construct, String, ICfnSkillProps) |
Properties
AttrId | |
AuthenticationConfiguration | Login with Amazon (LWA) configuration used to authenticate with the Alexa service. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
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. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnSkill(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnSkill(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnSkill(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnSkill(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnSkill(Construct, String, ICfnSkillProps)
public CfnSkill(Construct scope, string id, ICfnSkillProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnSkillProps
Resource properties.
Properties
AttrId
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AuthenticationConfiguration
Login with Amazon (LWA) configuration used to authenticate with the Alexa service.
public virtual object AuthenticationConfiguration { get; set; }
Property Value
System.Object
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
SkillPackage
Configuration for the skill package that contains the components of the Alexa skill.
public virtual object SkillPackage { get; set; }
Property Value
System.Object
VendorId
The vendor ID associated with the Amazon developer account that will host the skill.
public virtual string VendorId { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>