Interface AlexaSkillDeployActionProps

All Superinterfaces:
CommonActionProps, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AlexaSkillDeployActionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:14.343Z") @Stability(Stable) public interface AlexaSkillDeployActionProps extends software.amazon.jsii.JsiiSerializable, CommonActionProps
Construction properties of the AlexaSkillDeployAction Alexa deploy Action.

Example:

 // Read the secrets from ParameterStore
 SecretValue clientId = SecretValue.secretsManager("AlexaClientId");
 SecretValue clientSecret = SecretValue.secretsManager("AlexaClientSecret");
 SecretValue refreshToken = SecretValue.secretsManager("AlexaRefreshToken");
 // Add deploy action
 Artifact sourceOutput = new Artifact();
 AlexaSkillDeployAction.Builder.create()
         .actionName("DeploySkill")
         .runOrder(1)
         .input(sourceOutput)
         .clientId(clientId.toString())
         .clientSecret(clientSecret)
         .refreshToken(refreshToken)
         .skillId("amzn1.ask.skill.12345678-1234-1234-1234-123456789012")
         .build();
 
  • Method Details

    • getClientId

      @Stability(Stable) @NotNull String getClientId()
      The client id of the developer console token.
    • getClientSecret

      @Stability(Stable) @NotNull SecretValue getClientSecret()
      The client secret of the developer console token.
    • getInput

      @Stability(Stable) @NotNull Artifact getInput()
      The source artifact containing the voice model and skill manifest.
    • getRefreshToken

      @Stability(Stable) @NotNull SecretValue getRefreshToken()
      The refresh token of the developer console token.
    • getSkillId

      @Stability(Stable) @NotNull String getSkillId()
      The Alexa skill id.
    • getParameterOverridesArtifact

      @Stability(Stable) @Nullable default Artifact getParameterOverridesArtifact()
      An optional artifact containing overrides for the skill manifest.
    • builder

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