Class ApplicationSnapshot
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.kinesisanalyticsv2.ApplicationSnapshot
-
public class ApplicationSnapshot extends com.pulumi.resources.CustomResource
Manages a Kinesis Analytics v2 Application Snapshot. Snapshots are the AWS implementation of [Flink Savepoints](https://ci.apache.org/projects/flink/flink-docs-release-1.11/ops/state/savepoints.html). ## Example Usage <!--Start PulumiCodeChooser -->package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.kinesisanalyticsv2.ApplicationSnapshot; import com.pulumi.aws.kinesisanalyticsv2.ApplicationSnapshotArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { var example = new ApplicationSnapshot("example", ApplicationSnapshotArgs.builder() .applicationName(exampleAwsKinesisanalyticsv2Application.name()) .snapshotName("example-snapshot") .build()); } }
-
-
Constructor Summary
Constructors Constructor Description ApplicationSnapshot(java.lang.String name)
ApplicationSnapshot(java.lang.String name, ApplicationSnapshotArgs args)
ApplicationSnapshot(java.lang.String name, ApplicationSnapshotArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
applicationName()
com.pulumi.core.Output<java.lang.Integer>
applicationVersionId()
static ApplicationSnapshot
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, ApplicationSnapshotState state, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>
snapshotCreationTimestamp()
com.pulumi.core.Output<java.lang.String>
snapshotName()
-
-
-
Constructor Detail
-
ApplicationSnapshot
public ApplicationSnapshot(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
ApplicationSnapshot
public ApplicationSnapshot(java.lang.String name, ApplicationSnapshotArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
ApplicationSnapshot
public ApplicationSnapshot(java.lang.String name, ApplicationSnapshotArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
applicationName
public com.pulumi.core.Output<java.lang.String> applicationName()
- Returns:
- The name of an existing Kinesis Analytics v2 Application. Note that the application must be running for a snapshot to be created.
-
applicationVersionId
public com.pulumi.core.Output<java.lang.Integer> applicationVersionId()
- Returns:
- The current application version ID when the snapshot was created.
-
snapshotCreationTimestamp
public com.pulumi.core.Output<java.lang.String> snapshotCreationTimestamp()
- Returns:
- The timestamp of the application snapshot.
-
snapshotName
public com.pulumi.core.Output<java.lang.String> snapshotName()
- Returns:
- The name of the application snapshot.
-
get
public static ApplicationSnapshot get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable ApplicationSnapshotState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.state
-options
- Optional settings to control the behavior of the CustomResource.
-
-