Metadata-Version: 2.1
Name: aws-cdk.alexa-ask
Version: 0.27.0
Summary: The CDK Construct Library for Alexa::ASK
Home-page: https://github.com/awslabs/aws-cdk
Author: Amazon Web Services
License: UNKNOWN
Project-URL: Source, https://github.com/awslabs/aws-cdk.git
Description: ## Alexa Ask Construct Library
        
        ```ts
        const alexaAsk = require('@aws-cdk/alexa-ask');
        ```
        
        ### Alexa as deploy target for CodePipeline
        
        You can deploy to Alexa using CodePipeline with the following DeployAction.
        
        ```ts
        // Read the secrets from ParameterStore
        const clientId = new cdk.SecretParameter(this, 'AlexaClientId', { ssmParameter: '/Alexa/ClientId' });
        const clientSecret = new cdk.SecretParameter(this, 'AlexaClientSecret', { ssmParameter: '/Alexa/ClientSecret' });
        const refreshToken = new cdk.SecretParameter(this, 'AlexaRefreshToken', { ssmParameter: '/Alexa/RefreshToken' });
        
        // Add deploy action
        new alexaAsk.AlexaSkillDeployAction({
          actionName: 'DeploySkill',
          runOrder: 1,
          inputArtifact: sourceAction.outputArtifact,
          clientId: clientId.value,
          clientSecret: clientSecret.value,
          refreshToken: refreshToken.value,
          skillId: 'amzn1.ask.skill.12345678-1234-1234-1234-123456789012',
        });
        ```
        
        If you need manifest overrides you can specify them as `parameterOverridesArtifact` in the action:
        
        ```ts
        const cloudformation = require('@aws-cdk/aws-cloudformation');
        
        // Deploy some CFN change set and store output
        const executeChangeSetAction = new cloudformation.PipelineExecuteChangeSetAction({
          actionName: 'ExecuteChangesTest',
          runOrder: 2,
          stackName,
          changeSetName,
          outputFileName: 'overrides.json',
          outputArtifactName: 'CloudFormation',
        });
        
        // Provide CFN output as manifest overrides
        new alexaAsk.AlexaSkillDeployAction({
          actionName: 'DeploySkill',
          runOrder: 1,
          inputArtifact: sourceAction.outputArtifact,
          parameterOverridesArtifact: executeChangeSetAction.outputArtifact,
          clientId: clientId.value,
          clientSecret: clientSecret.value,
          refreshToken: refreshToken.value,
          skillId: 'amzn1.ask.skill.12345678-1234-1234-1234-123456789012',
        });
        ```
        
        
Platform: UNKNOWN
Requires-Python: >=3.6
Description-Content-Type: text/markdown
