Skip to content

CreateApplicationSnapshot

Source: src/AWS/KinesisAnalyticsV2/CreateApplicationSnapshot.ts

Runtime binding for kinesisanalytics:CreateApplicationSnapshot — takes a snapshot (Flink savepoint) of the bound application’s state on demand, e.g. a scheduled backup ahead of a deploy. The application must be RUNNING with snapshots enabled; poll the result with DescribeApplicationSnapshot.

const createSnapshot = yield* AWS.KinesisAnalyticsV2.CreateApplicationSnapshot(app);
yield* createSnapshot({ SnapshotName: "pre-deploy" });