Resource Type definition for AWS::KinesisAnalyticsV2::Snapshot, a point-in-time snapshot of a Managed Service for Apache Flink (Kinesis Analytics V2) application’s state. Snapshots are account-scoped and immutable: every input property except Tags is create-only, so changing any of them forces replacement, while changing Tags updates the snapshot in place. Specify exactly one source: ApplicationName to snapshot a running application (CreateSnapshot), or ImportSourceConfiguration to import a snapshot from Amazon S3 (ImportSnapshot). CloudFormation deletes the snapshot via DeleteSnapshot; to retain a snapshot beyond the stack, set DeletionPolicy: Retain on the resource.
Using getSnapshot
Two invocation forms are available. The direct form accepts plain
arguments and either blocks until the result value is available, or
returns a Promise-wrapped result. The output form accepts
Input-wrapped arguments and returns an Output-wrapped result.
> Note: This function is named LookupSnapshot in the Go SDK.
public static CompletableFuture<GetSnapshotResult> getSnapshot(GetSnapshotArgs args, InvokeOptions options)
public static Output<GetSnapshotResult> getSnapshot(GetSnapshotArgs args, InvokeOptions options)
public static Output<GetSnapshotResult> getSnapshot(GetSnapshotArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:kinesisanalyticsv2:getSnapshot
arguments:
# arguments dictionary
data "aws-native_kinesisanalyticsv2_get_snapshot" "name" {
# arguments
}
The following arguments are supported:
- SnapshotArn
string
- The Amazon Resource Name (ARN) of the snapshot. Account-scoped: arn::kinesisanalytics:::snapshot/. Assigned by the service at create time and used as the resource's primary identifier.
- SnapshotArn
string
- The Amazon Resource Name (ARN) of the snapshot. Account-scoped: arn::kinesisanalytics:::snapshot/. Assigned by the service at create time and used as the resource's primary identifier.
- snapshot_arn
string
- The Amazon Resource Name (ARN) of the snapshot. Account-scoped: arn::kinesisanalytics:::snapshot/. Assigned by the service at create time and used as the resource's primary identifier.
- snapshotArn
String
- The Amazon Resource Name (ARN) of the snapshot. Account-scoped: arn::kinesisanalytics:::snapshot/. Assigned by the service at create time and used as the resource's primary identifier.
- snapshotArn
string
- The Amazon Resource Name (ARN) of the snapshot. Account-scoped: arn::kinesisanalytics:::snapshot/. Assigned by the service at create time and used as the resource's primary identifier.
- snapshot_arn
str
- The Amazon Resource Name (ARN) of the snapshot. Account-scoped: arn::kinesisanalytics:::snapshot/. Assigned by the service at create time and used as the resource's primary identifier.
- snapshotArn
String
- The Amazon Resource Name (ARN) of the snapshot. Account-scoped: arn::kinesisanalytics:::snapshot/. Assigned by the service at create time and used as the resource's primary identifier.
getSnapshot Result
The following output properties are available:
- RuntimeEnvironment
SnapshotRuntimeEnvironment
- The runtime environment of the source application when the snapshot was taken with ApplicationName (CreateSnapshot), for example FLINK-1_20. Populated by DescribeSnapshot. Not returned for snapshots created with ImportSourceConfiguration (ImportSnapshot), which carry no runtime version.
- SnapshotArn
string
- The Amazon Resource Name (ARN) of the snapshot. Account-scoped: arn::kinesisanalytics:::snapshot/. Assigned by the service at create time and used as the resource's primary identifier.
- SnapshotCreationTimestamp
string
- The time at which the service created the snapshot, in ISO-8601 format. Populated by DescribeSnapshot.
- SnapshotInitiator
SnapshotInitiator
- Indicates whether the snapshot was initiated by the customer or by the service. Populated by DescribeSnapshot.
- SnapshotInitiatorOperation
SnapshotInitiatorOperation
- The operation that initiated the snapshot. Populated by DescribeSnapshot.
- SnapshotSizeInBytes
int
- The size of the snapshot in bytes. Populated by DescribeSnapshot once the snapshot reaches READY.
- SnapshotSourceDescription
SnapshotSourceDescription
- The source of the snapshot: the application it was taken from, or the Amazon S3 location it was imported from. Populated by DescribeSnapshot.
- SnapshotStatus
SnapshotStatus
- The lifecycle status of the snapshot as reported by the service (CREATING, READY, DELETING, FAILED). Populated by DescribeSnapshot.
- Tags
Tag
- Tags to apply to the snapshot. Applied at create time (with CreateSnapshot, or with TagResource right after ImportSnapshot) and updated in place with TagResource and UntagResource. Tag keys must not start with aws:.
- runtimeEnvironment
SnapshotRuntimeEnvironment
- The runtime environment of the source application when the snapshot was taken with ApplicationName (CreateSnapshot), for example FLINK-1_20. Populated by DescribeSnapshot. Not returned for snapshots created with ImportSourceConfiguration (ImportSnapshot), which carry no runtime version.
- snapshotArn
String
- The Amazon Resource Name (ARN) of the snapshot. Account-scoped: arn::kinesisanalytics:::snapshot/. Assigned by the service at create time and used as the resource's primary identifier.
- snapshotCreationTimestamp
String
- The time at which the service created the snapshot, in ISO-8601 format. Populated by DescribeSnapshot.
- snapshotInitiator
SnapshotInitiator
- Indicates whether the snapshot was initiated by the customer or by the service. Populated by DescribeSnapshot.
- snapshotInitiatorOperation
SnapshotInitiatorOperation
- The operation that initiated the snapshot. Populated by DescribeSnapshot.
- snapshotSizeInBytes
Integer
- The size of the snapshot in bytes. Populated by DescribeSnapshot once the snapshot reaches READY.
- snapshotSourceDescription
SnapshotSourceDescription
- The source of the snapshot: the application it was taken from, or the Amazon S3 location it was imported from. Populated by DescribeSnapshot.
- snapshotStatus
SnapshotStatus
- The lifecycle status of the snapshot as reported by the service (CREATING, READY, DELETING, FAILED). Populated by DescribeSnapshot.
- tags
List<Tag>
- Tags to apply to the snapshot. Applied at create time (with CreateSnapshot, or with TagResource right after ImportSnapshot) and updated in place with TagResource and UntagResource. Tag keys must not start with aws:.
- runtimeEnvironment
SnapshotRuntimeEnvironment
- The runtime environment of the source application when the snapshot was taken with ApplicationName (CreateSnapshot), for example FLINK-1_20. Populated by DescribeSnapshot. Not returned for snapshots created with ImportSourceConfiguration (ImportSnapshot), which carry no runtime version.
- snapshotArn
string
- The Amazon Resource Name (ARN) of the snapshot. Account-scoped: arn::kinesisanalytics:::snapshot/. Assigned by the service at create time and used as the resource's primary identifier.
- snapshotCreationTimestamp
string
- The time at which the service created the snapshot, in ISO-8601 format. Populated by DescribeSnapshot.
- snapshotInitiator
SnapshotInitiator
- Indicates whether the snapshot was initiated by the customer or by the service. Populated by DescribeSnapshot.
- snapshotInitiatorOperation
SnapshotInitiatorOperation
- The operation that initiated the snapshot. Populated by DescribeSnapshot.
- snapshotSizeInBytes
number
- The size of the snapshot in bytes. Populated by DescribeSnapshot once the snapshot reaches READY.
- snapshotSourceDescription
SnapshotSourceDescription
- The source of the snapshot: the application it was taken from, or the Amazon S3 location it was imported from. Populated by DescribeSnapshot.
- snapshotStatus
SnapshotStatus
- The lifecycle status of the snapshot as reported by the service (CREATING, READY, DELETING, FAILED). Populated by DescribeSnapshot.
- tags
Tag[]
- Tags to apply to the snapshot. Applied at create time (with CreateSnapshot, or with TagResource right after ImportSnapshot) and updated in place with TagResource and UntagResource. Tag keys must not start with aws:.
- runtime_environment
SnapshotRuntimeEnvironment
- The runtime environment of the source application when the snapshot was taken with ApplicationName (CreateSnapshot), for example FLINK-1_20. Populated by DescribeSnapshot. Not returned for snapshots created with ImportSourceConfiguration (ImportSnapshot), which carry no runtime version.
- snapshot_arn
str
- The Amazon Resource Name (ARN) of the snapshot. Account-scoped: arn::kinesisanalytics:::snapshot/. Assigned by the service at create time and used as the resource's primary identifier.
- snapshot_creation_timestamp
str
- The time at which the service created the snapshot, in ISO-8601 format. Populated by DescribeSnapshot.
- snapshot_initiator
SnapshotInitiator
- Indicates whether the snapshot was initiated by the customer or by the service. Populated by DescribeSnapshot.
- snapshot_initiator_operation
SnapshotInitiatorOperation
- The operation that initiated the snapshot. Populated by DescribeSnapshot.
- snapshot_size_in_bytes
int
- The size of the snapshot in bytes. Populated by DescribeSnapshot once the snapshot reaches READY.
- snapshot_source_description
SnapshotSourceDescription
- The source of the snapshot: the application it was taken from, or the Amazon S3 location it was imported from. Populated by DescribeSnapshot.
- snapshot_status
SnapshotStatus
- The lifecycle status of the snapshot as reported by the service (CREATING, READY, DELETING, FAILED). Populated by DescribeSnapshot.
- tags
Sequence[root_Tag]
- Tags to apply to the snapshot. Applied at create time (with CreateSnapshot, or with TagResource right after ImportSnapshot) and updated in place with TagResource and UntagResource. Tag keys must not start with aws:.
Supporting Types
SnapshotInitiator
| Name | Value |
|---|
| User | USER |
| System | SYSTEM |
| Name | Value |
|---|
| SnapshotInitiatorUser | USER |
| SnapshotInitiatorSystem | SYSTEM |
| Name | Value |
|---|
| User | USER |
| System | SYSTEM |
| Name | Value |
|---|
| User | USER |
| System | SYSTEM |
| Name | Value |
|---|
| USER | USER |
| SYSTEM | SYSTEM |
SnapshotInitiatorOperation
| Name | Value |
|---|
| CreateSnapshot | CreateSnapshot |
| ImportSnapshot | ImportSnapshot |
| SystemCreateSnapshot | SystemCreateSnapshot |
| Name | Value |
|---|
| SnapshotInitiatorOperationCreateSnapshot | CreateSnapshot |
| SnapshotInitiatorOperationImportSnapshot | ImportSnapshot |
| SnapshotInitiatorOperationSystemCreateSnapshot | SystemCreateSnapshot |
| Value |
|---|
CreateSnapshot |
ImportSnapshot |
SystemCreateSnapshot |
| Name | Value |
|---|
| CreateSnapshot | CreateSnapshot |
| ImportSnapshot | ImportSnapshot |
| SystemCreateSnapshot | SystemCreateSnapshot |
| Name | Value |
|---|
| CreateSnapshot | CreateSnapshot |
| ImportSnapshot | ImportSnapshot |
| SystemCreateSnapshot | SystemCreateSnapshot |
| Name | Value |
|---|
| CREATE_SNAPSHOT | CreateSnapshot |
| IMPORT_SNAPSHOT | ImportSnapshot |
| SYSTEM_CREATE_SNAPSHOT | SystemCreateSnapshot |
| Value |
|---|
CreateSnapshot |
ImportSnapshot |
SystemCreateSnapshot |
SnapshotRuntimeEnvironment
| Name | Value |
|---|
| Sql10 | SQL-1_0 |
| Flink16 | FLINK-1_6 |
| Flink18 | FLINK-1_8 |
| ZeppelinFlink10 | ZEPPELIN-FLINK-1_0 |
| Flink111 | FLINK-1_11 |
| Flink113 | FLINK-1_13 |
| ZeppelinFlink20 | ZEPPELIN-FLINK-2_0 |
| Flink115 | FLINK-1_15 |
| ZeppelinFlink30 | ZEPPELIN-FLINK-3_0 |
| Flink118 | FLINK-1_18 |
| Flink119 | FLINK-1_19 |
| Flink120 | FLINK-1_20 |
| Flink21 | FLINK-2_1 |
| Flink22 | FLINK-2_2 |
| Flink23 | FLINK-2_3 |
| Flink24 | FLINK-2_4 |
| Name | Value |
|---|
| SnapshotRuntimeEnvironmentSql10 | SQL-1_0 |
| SnapshotRuntimeEnvironmentFlink16 | FLINK-1_6 |
| SnapshotRuntimeEnvironmentFlink18 | FLINK-1_8 |
| SnapshotRuntimeEnvironmentZeppelinFlink10 | ZEPPELIN-FLINK-1_0 |
| SnapshotRuntimeEnvironmentFlink111 | FLINK-1_11 |
| SnapshotRuntimeEnvironmentFlink113 | FLINK-1_13 |
| SnapshotRuntimeEnvironmentZeppelinFlink20 | ZEPPELIN-FLINK-2_0 |
| SnapshotRuntimeEnvironmentFlink115 | FLINK-1_15 |
| SnapshotRuntimeEnvironmentZeppelinFlink30 | ZEPPELIN-FLINK-3_0 |
| SnapshotRuntimeEnvironmentFlink118 | FLINK-1_18 |
| SnapshotRuntimeEnvironmentFlink119 | FLINK-1_19 |
| SnapshotRuntimeEnvironmentFlink120 | FLINK-1_20 |
| SnapshotRuntimeEnvironmentFlink21 | FLINK-2_1 |
| SnapshotRuntimeEnvironmentFlink22 | FLINK-2_2 |
| SnapshotRuntimeEnvironmentFlink23 | FLINK-2_3 |
| SnapshotRuntimeEnvironmentFlink24 | FLINK-2_4 |
| Value |
|---|
SQL-1_0 |
FLINK-1_6 |
FLINK-1_8 |
ZEPPELIN-FLINK-1_0 |
FLINK-1_11 |
FLINK-1_13 |
ZEPPELIN-FLINK-2_0 |
FLINK-1_15 |
ZEPPELIN-FLINK-3_0 |
FLINK-1_18 |
FLINK-1_19 |
FLINK-1_20 |
FLINK-2_1 |
FLINK-2_2 |
FLINK-2_3 |
FLINK-2_4 |
| Name | Value |
|---|
| Sql10 | SQL-1_0 |
| Flink16 | FLINK-1_6 |
| Flink18 | FLINK-1_8 |
| ZeppelinFlink10 | ZEPPELIN-FLINK-1_0 |
| Flink111 | FLINK-1_11 |
| Flink113 | FLINK-1_13 |
| ZeppelinFlink20 | ZEPPELIN-FLINK-2_0 |
| Flink115 | FLINK-1_15 |
| ZeppelinFlink30 | ZEPPELIN-FLINK-3_0 |
| Flink118 | FLINK-1_18 |
| Flink119 | FLINK-1_19 |
| Flink120 | FLINK-1_20 |
| Flink21 | FLINK-2_1 |
| Flink22 | FLINK-2_2 |
| Flink23 | FLINK-2_3 |
| Flink24 | FLINK-2_4 |
| Name | Value |
|---|
| Sql10 | SQL-1_0 |
| Flink16 | FLINK-1_6 |
| Flink18 | FLINK-1_8 |
| ZeppelinFlink10 | ZEPPELIN-FLINK-1_0 |
| Flink111 | FLINK-1_11 |
| Flink113 | FLINK-1_13 |
| ZeppelinFlink20 | ZEPPELIN-FLINK-2_0 |
| Flink115 | FLINK-1_15 |
| ZeppelinFlink30 | ZEPPELIN-FLINK-3_0 |
| Flink118 | FLINK-1_18 |
| Flink119 | FLINK-1_19 |
| Flink120 | FLINK-1_20 |
| Flink21 | FLINK-2_1 |
| Flink22 | FLINK-2_2 |
| Flink23 | FLINK-2_3 |
| Flink24 | FLINK-2_4 |
| Name | Value |
|---|
| SQL10 | SQL-1_0 |
| FLINK16 | FLINK-1_6 |
| FLINK18 | FLINK-1_8 |
| ZEPPELIN_FLINK10 | ZEPPELIN-FLINK-1_0 |
| FLINK111 | FLINK-1_11 |
| FLINK113 | FLINK-1_13 |
| ZEPPELIN_FLINK20 | ZEPPELIN-FLINK-2_0 |
| FLINK115 | FLINK-1_15 |
| ZEPPELIN_FLINK30 | ZEPPELIN-FLINK-3_0 |
| FLINK118 | FLINK-1_18 |
| FLINK119 | FLINK-1_19 |
| FLINK120 | FLINK-1_20 |
| FLINK21 | FLINK-2_1 |
| FLINK22 | FLINK-2_2 |
| FLINK23 | FLINK-2_3 |
| FLINK24 | FLINK-2_4 |
| Value |
|---|
SQL-1_0 |
FLINK-1_6 |
FLINK-1_8 |
ZEPPELIN-FLINK-1_0 |
FLINK-1_11 |
FLINK-1_13 |
ZEPPELIN-FLINK-2_0 |
FLINK-1_15 |
ZEPPELIN-FLINK-3_0 |
FLINK-1_18 |
FLINK-1_19 |
FLINK-1_20 |
FLINK-2_1 |
FLINK-2_2 |
FLINK-2_3 |
FLINK-2_4 |
SnapshotS3PrefixLocation
SnapshotSourceApplicationDescription
SnapshotSourceDescription
SnapshotStatus
| Name | Value |
|---|
| Creating | CREATING |
| Ready | READY |
| Deleting | DELETING |
| Failed | FAILED |
| Name | Value |
|---|
| SnapshotStatusCreating | CREATING |
| SnapshotStatusReady | READY |
| SnapshotStatusDeleting | DELETING |
| SnapshotStatusFailed | FAILED |
| Value |
|---|
CREATING |
READY |
DELETING |
FAILED |
| Name | Value |
|---|
| Creating | CREATING |
| Ready | READY |
| Deleting | DELETING |
| Failed | FAILED |
| Name | Value |
|---|
| Creating | CREATING |
| Ready | READY |
| Deleting | DELETING |
| Failed | FAILED |
| Name | Value |
|---|
| CREATING | CREATING |
| READY | READY |
| DELETING | DELETING |
| FAILED | FAILED |
| Value |
|---|
CREATING |
READY |
DELETING |
FAILED |
Tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
str
- The key name of the tag
- value
str
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0