import * as core from "@terrascript/core"; export interface ApplicationSnapshotArgs extends core.ResourceArgs { /** * (Required) The name of an existing [Kinesis Analytics v2 Application](/docs/providers/aws/r/kinesis * analyticsv2_application.html). Note that the application must be running for a snapshot to be create * d. */ applicationName: string | core.StringOut; /** * (Required) The name of the application snapshot. */ snapshotName: string | core.StringOut; } export class ApplicationSnapshot extends core.Resource { /** * (Required) The name of an existing [Kinesis Analytics v2 Application](/docs/providers/aws/r/kinesis * analyticsv2_application.html). Note that the application must be running for a snapshot to be create * d. */ @core.attr(String) public applicationName!: string | core.StringOut; /** * The current application version ID when the snapshot was created. */ @core.attr(Number, { computed: true }) public applicationVersionId!: number | core.NumberOut; /** * The application snapshot identifier. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The timestamp of the application snapshot. */ @core.attr(String, { computed: true }) public snapshotCreationTimestamp!: string | core.StringOut; /** * (Required) The name of the application snapshot. */ @core.attr(String) public snapshotName!: string | core.StringOut; constructor(name: string, args?: ApplicationSnapshotArgs) { super(name, "aws_kinesisanalyticsv2_application_snapshot", args); } public override getNamespace(): string { return "aws_kinesisanalyticsv2"; } }