Class CfnSkill.Builder

java.lang.Object
software.amazon.awscdk.alexa.ask.CfnSkill.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSkill>
Enclosing class:
CfnSkill

@Stability(Stable) public static final class CfnSkill.Builder extends Object implements software.amazon.jsii.Builder<CfnSkill>
A fluent builder for CfnSkill.
  • Method Details

    • create

      @Stability(Stable) public static CfnSkill.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnSkill.Builder.
    • authenticationConfiguration

      @Stability(Stable) public CfnSkill.Builder authenticationConfiguration(CfnSkill.AuthenticationConfigurationProperty authenticationConfiguration)
      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.

      Parameters:
      authenticationConfiguration - Login with Amazon (LWA) configuration used to authenticate with the Alexa service. This parameter is required.
      Returns:
      this
    • authenticationConfiguration

      @Stability(Stable) public CfnSkill.Builder authenticationConfiguration(IResolvable authenticationConfiguration)
      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.

      Parameters:
      authenticationConfiguration - Login with Amazon (LWA) configuration used to authenticate with the Alexa service. This parameter is required.
      Returns:
      this
    • skillPackage

      @Stability(Stable) public CfnSkill.Builder skillPackage(IResolvable skillPackage)
      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 .

      Parameters:
      skillPackage - Configuration for the skill package that contains the components of the Alexa skill. This parameter is required.
      Returns:
      this
    • skillPackage

      @Stability(Stable) public CfnSkill.Builder skillPackage(CfnSkill.SkillPackageProperty skillPackage)
      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 .

      Parameters:
      skillPackage - Configuration for the skill package that contains the components of the Alexa skill. This parameter is required.
      Returns:
      this
    • vendorId

      @Stability(Stable) public CfnSkill.Builder vendorId(String vendorId)
      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.

      Parameters:
      vendorId - The vendor ID associated with the Amazon developer account that will host the skill. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnSkill build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnSkill>
      Returns:
      a newly built instance of CfnSkill.