Class AlexaSkillDeployAction

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codepipeline.Action
software.amazon.awscdk.services.codepipeline.actions.Action
software.amazon.awscdk.services.codepipeline.actions.AlexaSkillDeployAction
All Implemented Interfaces:
IAction, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:48.320Z") @Stability(Stable) public class AlexaSkillDeployAction extends Action
Deploys the skill to Alexa.

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();
 
  • Constructor Details

    • AlexaSkillDeployAction

      protected AlexaSkillDeployAction(software.amazon.jsii.JsiiObjectRef objRef)
    • AlexaSkillDeployAction

      protected AlexaSkillDeployAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • AlexaSkillDeployAction

      @Stability(Stable) public AlexaSkillDeployAction(@NotNull AlexaSkillDeployActionProps props)
      Parameters:
      props - This parameter is required.
  • Method Details

    • bound

      @Stability(Stable) @NotNull protected ActionConfig bound(@NotNull Construct _scope, @NotNull IStage _stage, @NotNull ActionBindOptions _options)
      This is a renamed version of the IAction.bind method.

      Specified by:
      bound in class Action
      Parameters:
      _scope - This parameter is required.
      _stage - This parameter is required.
      _options - This parameter is required.