interface AlexaSkillDeployActionProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CodePipeline.Actions.AlexaSkillDeployActionProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscodepipelineactions#AlexaSkillDeployActionProps |
![]() | software.amazon.awscdk.services.codepipeline.actions.AlexaSkillDeployActionProps |
![]() | aws_cdk.aws_codepipeline_actions.AlexaSkillDeployActionProps |
![]() | aws-cdk-lib » aws_codepipeline_actions » AlexaSkillDeployActionProps |
Construction properties of the AlexaSkillDeployAction Alexa deploy Action
.
Example
// 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
Name | Type | Description |
---|---|---|
action | string | The physical, human-readable name of the Action. |
client | string | The client id of the developer console token. |
client | Secret | The client secret of the developer console token. |
input | Artifact | The source artifact containing the voice model and skill manifest. |
refresh | Secret | The refresh token of the developer console token. |
skill | string | The Alexa skill id. |
parameter | Artifact | An optional artifact containing overrides for the skill manifest. |
run | number | The runOrder property for this Action. |
variables | string | The name of the namespace to use for variables emitted by this action. |
actionName
Type:
string
The physical, human-readable name of the Action.
Note that Action names must be unique within a single Stage.
clientId
Type:
string
The client id of the developer console token.
clientSecret
Type:
Secret
The client secret of the developer console token.
input
Type:
Artifact
The source artifact containing the voice model and skill manifest.
refreshToken
Type:
Secret
The refresh token of the developer console token.
skillId
Type:
string
The Alexa skill id.
parameterOverridesArtifact?
Type:
Artifact
(optional)
An optional artifact containing overrides for the skill manifest.
runOrder?
Type:
number
(optional, default: 1)
The runOrder property for this Action.
RunOrder determines the relative order in which multiple Actions in the same Stage execute.
See also: https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html
variablesNamespace?
Type:
string
(optional, 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)
The name of the namespace to use for variables emitted by this action.