Mehmet Ali SARAÇ
01/20/2022, 7:55 PMFrank
@aws-cdk/aws-iot
to @aws-cdk/aws-iot-alpha
in package.json and the import in ur code
• change @aws-cdk/aws-kinesisfirehose
to @aws-cdk/aws-kinesisfirehose-alpha
in package.json and the import in ur code
• run npx sst update 0.60.4
Frank
sst diff
before u deploy to ensure no major since from the upgrade.Mehmet Ali SARAÇ
01/20/2022, 8:41 PMFrank
Cfn
constructs for both IoT and Kinesis Firehose, you don’t need @aws-cdk/aws-iot
and @aws-cdk/aws-kinesisfirehose
. The Cfn
constructs are inside aws-cdk-lib
.Frank
import {
aws_iot as iot,
aws_kinesisfirehose as kinesisfirehose,
} from 'aws-cdk-lib';
new iot.CfnThing(this, 'MyThing', ...);
new kinesisfirehose.CfnDeliveryStream(this, 'MyStream', ...);
Frank
Cfn
constructs are considered stable. So all stable constructs are all within aws-cdk-lib
Frank
import kinesisfirehose from "@aws-cdk/aws-kinesisfirehose-alpha";
new firehose.DeliveryStream(this, 'MyStream', ...);
Frank