CfnSkillProps

class aws_cdk.alexa_ask.CfnSkillProps(*, authentication_configuration, skill_package, vendor_id)

Bases: object

Properties for defining a CfnSkill.

Parameters:
  • authentication_configuration (Union[AuthenticationConfigurationProperty, Dict[str, Any], IResolvable]) – Login with Amazon (LWA) configuration used to authenticate with the Alexa service. Only Login with Amazon clients created through the are supported. The client ID, client secret, and refresh token are required.

  • skill_package (Union[IResolvable, SkillPackageProperty, Dict[str, Any]]) – Configuration for the skill package that contains the components of the Alexa skill. 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 .

  • vendor_id (str) – The vendor ID associated with the Amazon developer account that will host the skill. Details for retrieving the vendor ID are in . The provided LWA credentials must be linked to the developer account associated with this vendor ID.

Link:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.alexa_ask as alexa_ask

# manifest: Any

cfn_skill_props = alexa_ask.CfnSkillProps(
    authentication_configuration=alexa_ask.CfnSkill.AuthenticationConfigurationProperty(
        client_id="clientId",
        client_secret="clientSecret",
        refresh_token="refreshToken"
    ),
    skill_package=alexa_ask.CfnSkill.SkillPackageProperty(
        s3_bucket="s3Bucket",
        s3_key="s3Key",

        # the properties below are optional
        overrides=alexa_ask.CfnSkill.OverridesProperty(
            manifest=manifest
        ),
        s3_bucket_role="s3BucketRole",
        s3_object_version="s3ObjectVersion"
    ),
    vendor_id="vendorId"
)

Attributes

authentication_configuration

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

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

Link:

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

skill_package

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

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 .

Link:

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

vendor_id

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

Details for retrieving the vendor ID are in . The provided LWA credentials must be linked to the developer account associated with this vendor ID.

Link:

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