Snapshot
Provides a MemoryDB Snapshot. More information about snapshot and restore can be found in the MemoryDB User Guide.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.memorydb.Snapshot;
import com.pulumi.aws.memorydb.SnapshotArgs;
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 Snapshot("example", SnapshotArgs.builder()
.clusterName(aws_memorydb_cluster.example().name())
.build());
}
}
Content copied to clipboard
Import
Use the name
to import a snapshot. For example
$ pulumi import aws:memorydb/snapshot:Snapshot example my-snapshot
Content copied to clipboard
Properties
Link copied to clipboard
The configuration of the cluster from which the snapshot was taken.
Link copied to clipboard
Name of the MemoryDB cluster to take a snapshot of.
Link copied to clipboard
Creates a unique name beginning with the specified prefix. Conflicts with name
.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard