Skip to content
v2.274.0

AlexaSkillDeployActionProps Struct ​

Construction properties of the AlexaSkillDeployAction Alexa deploy Action.

Example ​

ts
// Read the secrets from ParameterStore
const clientId = SecretValue.secretsManager('AlexaClientId');
const clientSecret = SecretValue.secretsManager('AlexaClientSecret');
const refreshToken = SecretValue.secretsManager('AlexaRefreshToken');

// Add deploy action
const sourceOutput = new codepipeline.Artifact();
new codepipeline_actions.AlexaSkillDeployAction({
  actionName: 'DeploySkill',
  runOrder: 1,
  input: sourceOutput,
  clientId: clientId.toString(),
  clientSecret: clientSecret,
  refreshToken: refreshToken,
  skillId: 'amzn1.ask.skill.12345678-1234-1234-1234-123456789012',
});

Properties ​

actionNamestringaction_namestractionNameStringActionNamestringActionName*stringrequired#
The physical, human-readable name of the Action.

Note that Action names must be unique within a single Stage.

clientIdstringclient_idstrclientIdStringClientIdstringClientId*stringrequired#
The client id of the developer console token.
clientSecretSecretValueclient_secretSecretValueclientSecretSecretValueClientSecretSecretValueClientSecretSecretValuerequired#
The client secret of the developer console token.
inputArtifactinputArtifactinputArtifactInputArtifactInputArtifactrequired#
The source artifact containing the voice model and skill manifest.
parameterOverridesArtifactArtifactparameter_overrides_artifactArtifactparameterOverridesArtifactArtifactParameterOverridesArtifactArtifactParameterOverridesArtifactArtifact#
An optional artifact containing overrides for the skill manifest.
refreshTokenSecretValuerefresh_tokenSecretValuerefreshTokenSecretValueRefreshTokenSecretValueRefreshTokenSecretValuerequired#
The refresh token of the developer console token.
runOrdernumberrun_orderint | floatrunOrderNumberRunOrderdoubleRunOrder*float64= 1#
The runOrder property for this Action.

RunOrder determines the relative order in which multiple Actions in the same Stage execute.

skillIdstringskill_idstrskillIdStringSkillIdstringSkillId*stringrequired#
The Alexa skill id.
variablesNamespacestringvariables_namespacestrvariablesNamespaceStringVariablesNamespacestringVariablesNamespace*string= a name will be generated, based …#
The name of the namespace to use for variables emitted by this action.
default

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