aws.memorydb.Snapshot
Explore with Pulumi AI
Provides a MemoryDB Snapshot.
More information about snapshot and restore can be found in the MemoryDB User Guide.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.memorydb.Snapshot("example", {
    clusterName: exampleAwsMemorydbCluster.name,
    name: "my-snapshot",
});
import pulumi
import pulumi_aws as aws
example = aws.memorydb.Snapshot("example",
    cluster_name=example_aws_memorydb_cluster["name"],
    name="my-snapshot")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/memorydb"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := memorydb.NewSnapshot(ctx, "example", &memorydb.SnapshotArgs{
			ClusterName: pulumi.Any(exampleAwsMemorydbCluster.Name),
			Name:        pulumi.String("my-snapshot"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = new Aws.MemoryDb.Snapshot("example", new()
    {
        ClusterName = exampleAwsMemorydbCluster.Name,
        Name = "my-snapshot",
    });
});
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(exampleAwsMemorydbCluster.name())
            .name("my-snapshot")
            .build());
    }
}
resources:
  example:
    type: aws:memorydb:Snapshot
    properties:
      clusterName: ${exampleAwsMemorydbCluster.name}
      name: my-snapshot
Create Snapshot Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Snapshot(name: string, args: SnapshotArgs, opts?: CustomResourceOptions);@overload
def Snapshot(resource_name: str,
             args: SnapshotArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def Snapshot(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             cluster_name: Optional[str] = None,
             kms_key_arn: Optional[str] = None,
             name: Optional[str] = None,
             name_prefix: Optional[str] = None,
             tags: Optional[Mapping[str, str]] = None)func NewSnapshot(ctx *Context, name string, args SnapshotArgs, opts ...ResourceOption) (*Snapshot, error)public Snapshot(string name, SnapshotArgs args, CustomResourceOptions? opts = null)
public Snapshot(String name, SnapshotArgs args)
public Snapshot(String name, SnapshotArgs args, CustomResourceOptions options)
type: aws:memorydb:Snapshot
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SnapshotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SnapshotArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SnapshotArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SnapshotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SnapshotArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var awsSnapshotResource = new Aws.MemoryDb.Snapshot("awsSnapshotResource", new()
{
    ClusterName = "string",
    KmsKeyArn = "string",
    Name = "string",
    NamePrefix = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := memorydb.NewSnapshot(ctx, "awsSnapshotResource", &memorydb.SnapshotArgs{
	ClusterName: pulumi.String("string"),
	KmsKeyArn:   pulumi.String("string"),
	Name:        pulumi.String("string"),
	NamePrefix:  pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var awsSnapshotResource = new Snapshot("awsSnapshotResource", SnapshotArgs.builder()
    .clusterName("string")
    .kmsKeyArn("string")
    .name("string")
    .namePrefix("string")
    .tags(Map.of("string", "string"))
    .build());
aws_snapshot_resource = aws.memorydb.Snapshot("awsSnapshotResource",
    cluster_name="string",
    kms_key_arn="string",
    name="string",
    name_prefix="string",
    tags={
        "string": "string",
    })
const awsSnapshotResource = new aws.memorydb.Snapshot("awsSnapshotResource", {
    clusterName: "string",
    kmsKeyArn: "string",
    name: "string",
    namePrefix: "string",
    tags: {
        string: "string",
    },
});
type: aws:memorydb:Snapshot
properties:
    clusterName: string
    kmsKeyArn: string
    name: string
    namePrefix: string
    tags:
        string: string
Snapshot Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Snapshot resource accepts the following input properties:
- ClusterName string
- Name of the MemoryDB cluster to take a snapshot of.
- KmsKey stringArn 
- ARN of the KMS key used to encrypt the snapshot at rest.
- Name string
- Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- NamePrefix string
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- ClusterName string
- Name of the MemoryDB cluster to take a snapshot of.
- KmsKey stringArn 
- ARN of the KMS key used to encrypt the snapshot at rest.
- Name string
- Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- NamePrefix string
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- map[string]string
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- clusterName String
- Name of the MemoryDB cluster to take a snapshot of.
- kmsKey StringArn 
- ARN of the KMS key used to encrypt the snapshot at rest.
- name String
- Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- namePrefix String
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- clusterName string
- Name of the MemoryDB cluster to take a snapshot of.
- kmsKey stringArn 
- ARN of the KMS key used to encrypt the snapshot at rest.
- name string
- Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- namePrefix string
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- cluster_name str
- Name of the MemoryDB cluster to take a snapshot of.
- kms_key_ strarn 
- ARN of the KMS key used to encrypt the snapshot at rest.
- name str
- Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- name_prefix str
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- clusterName String
- Name of the MemoryDB cluster to take a snapshot of.
- kmsKey StringArn 
- ARN of the KMS key used to encrypt the snapshot at rest.
- name String
- Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- namePrefix String
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- Map<String>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the Snapshot resource produces the following output properties:
- Arn string
- The ARN of the snapshot.
- ClusterConfigurations List<SnapshotCluster Configuration> 
- The configuration of the cluster from which the snapshot was taken.
- Id string
- The provider-assigned unique ID for this managed resource.
- Source string
- Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Arn string
- The ARN of the snapshot.
- ClusterConfigurations []SnapshotCluster Configuration 
- The configuration of the cluster from which the snapshot was taken.
- Id string
- The provider-assigned unique ID for this managed resource.
- Source string
- Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- The ARN of the snapshot.
- clusterConfigurations List<SnapshotCluster Configuration> 
- The configuration of the cluster from which the snapshot was taken.
- id String
- The provider-assigned unique ID for this managed resource.
- source String
- Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn string
- The ARN of the snapshot.
- clusterConfigurations SnapshotCluster Configuration[] 
- The configuration of the cluster from which the snapshot was taken.
- id string
- The provider-assigned unique ID for this managed resource.
- source string
- Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn str
- The ARN of the snapshot.
- cluster_configurations Sequence[SnapshotCluster Configuration] 
- The configuration of the cluster from which the snapshot was taken.
- id str
- The provider-assigned unique ID for this managed resource.
- source str
- Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- The ARN of the snapshot.
- clusterConfigurations List<Property Map>
- The configuration of the cluster from which the snapshot was taken.
- id String
- The provider-assigned unique ID for this managed resource.
- source String
- Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
Look up Existing Snapshot Resource
Get an existing Snapshot resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SnapshotState, opts?: CustomResourceOptions): Snapshot@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        cluster_configurations: Optional[Sequence[SnapshotClusterConfigurationArgs]] = None,
        cluster_name: Optional[str] = None,
        kms_key_arn: Optional[str] = None,
        name: Optional[str] = None,
        name_prefix: Optional[str] = None,
        source: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None) -> Snapshotfunc GetSnapshot(ctx *Context, name string, id IDInput, state *SnapshotState, opts ...ResourceOption) (*Snapshot, error)public static Snapshot Get(string name, Input<string> id, SnapshotState? state, CustomResourceOptions? opts = null)public static Snapshot get(String name, Output<String> id, SnapshotState state, CustomResourceOptions options)resources:  _:    type: aws:memorydb:Snapshot    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- The ARN of the snapshot.
- ClusterConfigurations List<SnapshotCluster Configuration> 
- The configuration of the cluster from which the snapshot was taken.
- ClusterName string
- Name of the MemoryDB cluster to take a snapshot of.
- KmsKey stringArn 
- ARN of the KMS key used to encrypt the snapshot at rest.
- Name string
- Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- NamePrefix string
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- Source string
- Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Arn string
- The ARN of the snapshot.
- ClusterConfigurations []SnapshotCluster Configuration Args 
- The configuration of the cluster from which the snapshot was taken.
- ClusterName string
- Name of the MemoryDB cluster to take a snapshot of.
- KmsKey stringArn 
- ARN of the KMS key used to encrypt the snapshot at rest.
- Name string
- Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- NamePrefix string
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- Source string
- Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
- map[string]string
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- The ARN of the snapshot.
- clusterConfigurations List<SnapshotCluster Configuration> 
- The configuration of the cluster from which the snapshot was taken.
- clusterName String
- Name of the MemoryDB cluster to take a snapshot of.
- kmsKey StringArn 
- ARN of the KMS key used to encrypt the snapshot at rest.
- name String
- Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- namePrefix String
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- source String
- Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn string
- The ARN of the snapshot.
- clusterConfigurations SnapshotCluster Configuration[] 
- The configuration of the cluster from which the snapshot was taken.
- clusterName string
- Name of the MemoryDB cluster to take a snapshot of.
- kmsKey stringArn 
- ARN of the KMS key used to encrypt the snapshot at rest.
- name string
- Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- namePrefix string
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- source string
- Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn str
- The ARN of the snapshot.
- cluster_configurations Sequence[SnapshotCluster Configuration Args] 
- The configuration of the cluster from which the snapshot was taken.
- cluster_name str
- Name of the MemoryDB cluster to take a snapshot of.
- kms_key_ strarn 
- ARN of the KMS key used to encrypt the snapshot at rest.
- name str
- Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- name_prefix str
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- source str
- Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- The ARN of the snapshot.
- clusterConfigurations List<Property Map>
- The configuration of the cluster from which the snapshot was taken.
- clusterName String
- Name of the MemoryDB cluster to take a snapshot of.
- kmsKey StringArn 
- ARN of the KMS key used to encrypt the snapshot at rest.
- name String
- Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- namePrefix String
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- source String
- Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
- Map<String>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
Supporting Types
SnapshotClusterConfiguration, SnapshotClusterConfigurationArgs      
- Description string
- Description for the cluster.
- Engine string
- The engine that will run on cluster nodes.
- EngineVersion string
- Version number of the engine used by the cluster.
- MaintenanceWindow string
- The weekly time range during which maintenance on the cluster is performed.
- Name string
- Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- NodeType string
- Compute and memory capacity of the nodes in the cluster.
- NumShards int
- Number of shards in the cluster.
- ParameterGroup stringName 
- Name of the parameter group associated with the cluster.
- Port int
- Port number on which the cluster accepts connections.
- SnapshotRetention intLimit 
- Number of days for which MemoryDB retains automatic snapshots before deleting them.
- SnapshotWindow string
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of the shard.
- SubnetGroup stringName 
- Name of the subnet group used by the cluster.
- TopicArn string
- ARN of the SNS topic to which cluster notifications are sent.
- VpcId string
- The VPC in which the cluster exists.
- Description string
- Description for the cluster.
- Engine string
- The engine that will run on cluster nodes.
- EngineVersion string
- Version number of the engine used by the cluster.
- MaintenanceWindow string
- The weekly time range during which maintenance on the cluster is performed.
- Name string
- Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- NodeType string
- Compute and memory capacity of the nodes in the cluster.
- NumShards int
- Number of shards in the cluster.
- ParameterGroup stringName 
- Name of the parameter group associated with the cluster.
- Port int
- Port number on which the cluster accepts connections.
- SnapshotRetention intLimit 
- Number of days for which MemoryDB retains automatic snapshots before deleting them.
- SnapshotWindow string
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of the shard.
- SubnetGroup stringName 
- Name of the subnet group used by the cluster.
- TopicArn string
- ARN of the SNS topic to which cluster notifications are sent.
- VpcId string
- The VPC in which the cluster exists.
- description String
- Description for the cluster.
- engine String
- The engine that will run on cluster nodes.
- engineVersion String
- Version number of the engine used by the cluster.
- maintenanceWindow String
- The weekly time range during which maintenance on the cluster is performed.
- name String
- Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- nodeType String
- Compute and memory capacity of the nodes in the cluster.
- numShards Integer
- Number of shards in the cluster.
- parameterGroup StringName 
- Name of the parameter group associated with the cluster.
- port Integer
- Port number on which the cluster accepts connections.
- snapshotRetention IntegerLimit 
- Number of days for which MemoryDB retains automatic snapshots before deleting them.
- snapshotWindow String
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of the shard.
- subnetGroup StringName 
- Name of the subnet group used by the cluster.
- topicArn String
- ARN of the SNS topic to which cluster notifications are sent.
- vpcId String
- The VPC in which the cluster exists.
- description string
- Description for the cluster.
- engine string
- The engine that will run on cluster nodes.
- engineVersion string
- Version number of the engine used by the cluster.
- maintenanceWindow string
- The weekly time range during which maintenance on the cluster is performed.
- name string
- Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- nodeType string
- Compute and memory capacity of the nodes in the cluster.
- numShards number
- Number of shards in the cluster.
- parameterGroup stringName 
- Name of the parameter group associated with the cluster.
- port number
- Port number on which the cluster accepts connections.
- snapshotRetention numberLimit 
- Number of days for which MemoryDB retains automatic snapshots before deleting them.
- snapshotWindow string
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of the shard.
- subnetGroup stringName 
- Name of the subnet group used by the cluster.
- topicArn string
- ARN of the SNS topic to which cluster notifications are sent.
- vpcId string
- The VPC in which the cluster exists.
- description str
- Description for the cluster.
- engine str
- The engine that will run on cluster nodes.
- engine_version str
- Version number of the engine used by the cluster.
- maintenance_window str
- The weekly time range during which maintenance on the cluster is performed.
- name str
- Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- node_type str
- Compute and memory capacity of the nodes in the cluster.
- num_shards int
- Number of shards in the cluster.
- parameter_group_ strname 
- Name of the parameter group associated with the cluster.
- port int
- Port number on which the cluster accepts connections.
- snapshot_retention_ intlimit 
- Number of days for which MemoryDB retains automatic snapshots before deleting them.
- snapshot_window str
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of the shard.
- subnet_group_ strname 
- Name of the subnet group used by the cluster.
- topic_arn str
- ARN of the SNS topic to which cluster notifications are sent.
- vpc_id str
- The VPC in which the cluster exists.
- description String
- Description for the cluster.
- engine String
- The engine that will run on cluster nodes.
- engineVersion String
- Version number of the engine used by the cluster.
- maintenanceWindow String
- The weekly time range during which maintenance on the cluster is performed.
- name String
- Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with name_prefix.
- nodeType String
- Compute and memory capacity of the nodes in the cluster.
- numShards Number
- Number of shards in the cluster.
- parameterGroup StringName 
- Name of the parameter group associated with the cluster.
- port Number
- Port number on which the cluster accepts connections.
- snapshotRetention NumberLimit 
- Number of days for which MemoryDB retains automatic snapshots before deleting them.
- snapshotWindow String
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of the shard.
- subnetGroup StringName 
- Name of the subnet group used by the cluster.
- topicArn String
- ARN of the SNS topic to which cluster notifications are sent.
- vpcId String
- The VPC in which the cluster exists.
Import
Using pulumi import, import a snapshot using the name. For example:
$ pulumi import aws:memorydb/snapshot:Snapshot example my-snapshot
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.