Cluster Snapshot Args
data class ClusterSnapshotArgs(val dbClusterIdentifier: Output<String>? = null, val dbClusterSnapshotIdentifier: Output<String>? = null) : ConvertibleToJava<ClusterSnapshotArgs>
Manages a Neptune database cluster snapshot.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.neptune.ClusterSnapshot;
import com.pulumi.aws.neptune.ClusterSnapshotArgs;
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 ClusterSnapshot("example", ClusterSnapshotArgs.builder()
.dbClusterIdentifier(aws_neptune_cluster.example().id())
.dbClusterSnapshotIdentifier("resourcetestsnapshot1234")
.build());
}
}
Content copied to clipboard
Import
aws_neptune_cluster_snapshot
can be imported by using the cluster snapshot identifier, e.g.,
$ pulumi import aws:neptune/clusterSnapshot:ClusterSnapshot example my-cluster-snapshot
Content copied to clipboard