AlexaSkillDeployActionProps
- class aws_cdk.aws_codepipeline_actions.AlexaSkillDeployActionProps(*, action_name, run_order=None, variables_namespace=None, client_id, client_secret, input, refresh_token, skill_id, parameter_overrides_artifact=None)
Bases:
CommonActionProps
Construction properties of the
AlexaSkillDeployAction Alexa deploy Action
.- Parameters:
action_name (
str
) – The physical, human-readable name of the Action. Note that Action names must be unique within a single Stage.run_order (
Union
[int
,float
,None
]) – The runOrder property for this Action. RunOrder determines the relative order in which multiple Actions in the same Stage execute. Default: 1variables_namespace (
Optional
[str
]) – The name of the namespace to use for variables emitted by this action. 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 setclient_id (
str
) – The client id of the developer console token.client_secret (
SecretValue
) – The client secret of the developer console token.input (
Artifact
) – The source artifact containing the voice model and skill manifest.refresh_token (
SecretValue
) – The refresh token of the developer console token.skill_id (
str
) – The Alexa skill id.parameter_overrides_artifact (
Optional
[Artifact
]) – An optional artifact containing overrides for the skill manifest.
- ExampleMetadata:
infused
Example:
# Read the secrets from ParameterStore client_id = SecretValue.secrets_manager("AlexaClientId") client_secret = SecretValue.secrets_manager("AlexaClientSecret") refresh_token = SecretValue.secrets_manager("AlexaRefreshToken") # Add deploy action source_output = codepipeline.Artifact() codepipeline_actions.AlexaSkillDeployAction( action_name="DeploySkill", run_order=1, input=source_output, client_id=client_id.to_string(), client_secret=client_secret, refresh_token=refresh_token, skill_id="amzn1.ask.skill.12345678-1234-1234-1234-123456789012" )
Attributes
- action_name
The physical, human-readable name of the Action.
Note that Action names must be unique within a single Stage.
- client_id
The client id of the developer console token.
- client_secret
The client secret of the developer console token.
- input
The source artifact containing the voice model and skill manifest.
- parameter_overrides_artifact
An optional artifact containing overrides for the skill manifest.
- refresh_token
The refresh token of the developer console token.
- run_order
The runOrder property for this Action.
RunOrder determines the relative order in which multiple Actions in the same Stage execute.
- skill_id
The Alexa skill id.
- variables_namespace
The name of the namespace to use for variables emitted by this action.
- 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