Class AlexaSkillDeployAction
Deploys the skill to Alexa.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CodePipeline.Actions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AlexaSkillDeployAction : Action, IAction
Syntax (vb)
Public Class AlexaSkillDeployAction
Inherits Action
Implements IAction
Remarks
ExampleMetadata: infused
Examples
// Read the secrets from ParameterStore
var clientId = SecretValue.SecretsManager("AlexaClientId");
var clientSecret = SecretValue.SecretsManager("AlexaClientSecret");
var refreshToken = SecretValue.SecretsManager("AlexaRefreshToken");
// Add deploy action
var sourceOutput = new Artifact();
new AlexaSkillDeployAction(new AlexaSkillDeployActionProps {
ActionName = "DeploySkill",
RunOrder = 1,
Input = sourceOutput,
ClientId = clientId.ToString(),
ClientSecret = clientSecret,
RefreshToken = refreshToken,
SkillId = "amzn1.ask.skill.12345678-1234-1234-1234-123456789012"
});
Synopsis
Constructors
AlexaSkillDeployAction(IAlexaSkillDeployActionProps) | |
AlexaSkillDeployAction(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
AlexaSkillDeployAction(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bound(Construct, IStage, IActionBindOptions) | This is a renamed version of the |
Constructors
AlexaSkillDeployAction(IAlexaSkillDeployActionProps)
public AlexaSkillDeployAction(IAlexaSkillDeployActionProps props)
Parameters
AlexaSkillDeployAction(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected AlexaSkillDeployAction(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
AlexaSkillDeployAction(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected AlexaSkillDeployAction(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Bound(Construct, IStage, IActionBindOptions)
This is a renamed version of the IAction.bind
method.
protected override IActionConfig Bound(Construct scope, IStage stage, IActionBindOptions options)
Parameters
- scope Constructs.Construct
- stage IStage
- options IActionBindOptions
Returns