Interface CfnSkillProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnSkillProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:55.209Z") @Stability(Stable) public interface CfnSkillProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnSkill.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.alexa.ask.*;
 Object manifest;
 CfnSkillProps cfnSkillProps = CfnSkillProps.builder()
         .authenticationConfiguration(AuthenticationConfigurationProperty.builder()
                 .clientId("clientId")
                 .clientSecret("clientSecret")
                 .refreshToken("refreshToken")
                 .build())
         .skillPackage(SkillPackageProperty.builder()
                 .s3Bucket("s3Bucket")
                 .s3Key("s3Key")
                 // the properties below are optional
                 .overrides(OverridesProperty.builder()
                         .manifest(manifest)
                         .build())
                 .s3BucketRole("s3BucketRole")
                 .s3ObjectVersion("s3ObjectVersion")
                 .build())
         .vendorId("vendorId")
         .build();
 
  • Method Details

    • getAuthenticationConfiguration

      @Stability(Stable) @NotNull Object getAuthenticationConfiguration()
      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.

    • getSkillPackage

      @Stability(Stable) @NotNull Object getSkillPackage()
      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 .

    • getVendorId

      @Stability(Stable) @NotNull String getVendorId()
      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.

    • builder

      @Stability(Stable) static CfnSkillProps.Builder builder()
      Returns:
      a CfnSkillProps.Builder of CfnSkillProps