Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@aws-cdk/alexa-ask
Advanced tools
const alexaAsk = require('@aws-cdk/alexa-ask');
You can deploy to Alexa using CodePipeline with the following DeployAction.
// 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:
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',
});
0.25.0 (2019-02-28)
construct.node.stack
attribute (#1753) (a46cfd8), closes #798CloudTrail.addS3EventSelector
accepts an options
object instead of only a ReadWriteType
value.codedeploy.amazonaws.com
)
yourself.parameter.valueAsString
=>
parameter.stringValue
, rename parameter.valueAsList
=>
parameter.stringListValue
, rename ssmParameter.parameterValue
=>
ssmParameter.stringValue
or ssmParameter.stringListValue
depending
on type, rename secretString.value
=> secretString.stringValue
,
rename secret.toSecretString()
=>secret.secretString
Stack.find(c)
and Stack.tryFind(c)
were
replaced by c.node.stack
.partitionKey
is now a required property when defining a
dynamodb.Table
. The addPartitionKey
and addSortKey
methods have been removed.myConstruct.apply( ... )
to
myConstruct.node.apply( ... )
.toCodePipelineAction
.AutoScalingGroup
, renamed minSize
=>
minCapacity
, maxSize
=> maxCapacity
, for consistency with
desiredCapacity
and also Application AutoScaling.
For ECS's addDefaultAutoScalingGroupCapacity()
, instanceCount
=>
desiredCapacity
and the function now takes an ID (pass
"DefaultAutoScalingGroup"
to avoid interruption to your deployments).FAQs
The CDK Construct Library for Alexa::ASK
The npm package @aws-cdk/alexa-ask receives a total of 247 weekly downloads. As such, @aws-cdk/alexa-ask popularity was classified as not popular.
We found that @aws-cdk/alexa-ask demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.