@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-07-01T09:58:42.973Z") public class AlexaSkillDeployAction extends 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();
Modifier and Type | Class and Description |
---|---|
static class |
AlexaSkillDeployAction.Builder
A fluent builder for
AlexaSkillDeployAction . |
IAction.Jsii$Default
Modifier | Constructor and Description |
---|---|
protected |
AlexaSkillDeployAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
AlexaSkillDeployAction(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
protected ActionConfig |
bound(Construct _scope,
IStage _stage,
ActionBindOptions _options)
This is a renamed version of the
IAction.bind method. |
getProvidedActionProperties
bind, getActionProperties, onStateChange, onStateChange, onStateChange, variableExpression
protected AlexaSkillDeployAction(software.amazon.jsii.JsiiObjectRef objRef)
protected AlexaSkillDeployAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected ActionConfig bound(Construct _scope, IStage _stage, ActionBindOptions _options)
IAction.bind
method.