Class AlexaSkillDeployActionProps
Construction properties of the AlexaSkillDeployAction Alexa deploy Action
.
Inheritance
Namespace: Amazon.CDK.AWS.CodePipeline.Actions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AlexaSkillDeployActionProps : Object, IAlexaSkillDeployActionProps, ICommonActionProps
Syntax (vb)
Public Class AlexaSkillDeployActionProps
Inherits Object
Implements IAlexaSkillDeployActionProps, ICommonActionProps
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
AlexaSkillDeployActionProps() |
Properties
ActionName | The physical, human-readable name of the Action. |
ClientId | The client id of the developer console token. |
ClientSecret | The client secret of the developer console token. |
Input | The source artifact containing the voice model and skill manifest. |
ParameterOverridesArtifact | An optional artifact containing overrides for the skill manifest. |
RefreshToken | The refresh token of the developer console token. |
RunOrder | The runOrder property for this Action. |
SkillId | The Alexa skill id. |
VariablesNamespace | The name of the namespace to use for variables emitted by this action. |
Constructors
AlexaSkillDeployActionProps()
public AlexaSkillDeployActionProps()
Properties
ActionName
The physical, human-readable name of the Action.
public string ActionName { get; set; }
Property Value
System.String
Remarks
Note that Action names must be unique within a single Stage.
ClientId
The client id of the developer console token.
public string ClientId { get; set; }
Property Value
System.String
ClientSecret
The client secret of the developer console token.
public SecretValue ClientSecret { get; set; }
Property Value
Input
The source artifact containing the voice model and skill manifest.
public Artifact_ Input { get; set; }
Property Value
ParameterOverridesArtifact
An optional artifact containing overrides for the skill manifest.
public Artifact_ ParameterOverridesArtifact { get; set; }
Property Value
RefreshToken
The refresh token of the developer console token.
public SecretValue RefreshToken { get; set; }
Property Value
RunOrder
The runOrder property for this Action.
public Nullable<double> RunOrder { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
RunOrder determines the relative order in which multiple Actions in the same Stage execute.
Default: 1
See: https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html
SkillId
The Alexa skill id.
public string SkillId { get; set; }
Property Value
System.String
VariablesNamespace
The name of the namespace to use for variables emitted by this action.
public string VariablesNamespace { get; set; }
Property Value
System.String
Remarks
Default: - a name will be generated, based on the stage and action names, if any of the action's variables were referenced - otherwise, no namespace will be set