aws-cdk-lib.aws_codepipeline_actions.AlexaSkillDeployActionProps

interface AlexaSkillDeployActionProps

LanguageType name
.NETAmazon.CDK.AWS.CodePipeline.Actions.AlexaSkillDeployActionProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodepipelineactions#AlexaSkillDeployActionProps
Javasoftware.amazon.awscdk.services.codepipeline.actions.AlexaSkillDeployActionProps
Pythonaws_cdk.aws_codepipeline_actions.AlexaSkillDeployActionProps
TypeScript (source)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

NameTypeDescription
actionNamestringThe physical, human-readable name of the Action.
clientIdstringThe client id of the developer console token.
clientSecretSecretValueThe client secret of the developer console token.
inputArtifactThe source artifact containing the voice model and skill manifest.
refreshTokenSecretValueThe refresh token of the developer console token.
skillIdstringThe Alexa skill id.
parameterOverridesArtifact?ArtifactAn optional artifact containing overrides for the skill manifest.
runOrder?numberThe runOrder property for this Action.
variablesNamespace?stringThe 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: SecretValue

The client secret of the developer console token.


input

Type: Artifact

The source artifact containing the voice model and skill manifest.


refreshToken

Type: SecretValue

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.