Resource: awsKinesisanalyticsv2ApplicationSnapshot
Manages a Kinesis Analytics v2 Application Snapshot. Snapshots are the AWS implementation of Flink Savepoints.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.kinesisanalyticsv2ApplicationSnapshot.Kinesisanalyticsv2ApplicationSnapshot(
this,
"example",
{
applicationName: "${aws_kinesisanalyticsv2_application.example.name}",
snapshotName: "example-snapshot",
}
);
Argument Reference
The following arguments are supported:
applicationName
- (Required) The name of an existing Kinesis Analytics v2 Application. Note that the application must be running for a snapshot to be created.snapshotName
- (Required) The name of the application snapshot.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
id
- The application snapshot identifier.applicationVersionId
- The current application version ID when the snapshot was created.snapshotCreationTimestamp
- The timestamp of the application snapshot.
Timeouts
create
- (Default10M
)delete
- (Default10M
)
Import
awsKinesisanalyticsv2Application
can be imported by using applicationName
together with snapshotName
, e.g.,