1. Packages
  2. AWS Classic
  3. API Docs
  4. memorydb
  5. Snapshot

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.45.0 published on Tuesday, Jul 16, 2024 by Pulumi

aws.memorydb.Snapshot

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.45.0 published on Tuesday, Jul 16, 2024 by Pulumi

    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

    The Snapshot resource accepts the following input properties:

    ClusterName string
    Name of the MemoryDB cluster to take a snapshot of.
    KmsKeyArn string
    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.
    Tags Dictionary<string, string>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration 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.
    KmsKeyArn string
    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.
    Tags map[string]string
    A map of tags to assign to the resource. If configured with a provider default_tags configuration 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.
    kmsKeyArn String
    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.
    tags Map<String,String>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration 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.
    kmsKeyArn string
    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.
    tags {[key: string]: string}
    A map of tags to assign to the resource. If configured with a provider default_tags configuration 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_arn str
    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.
    tags Mapping[str, str]
    A map of tags to assign to the resource. If configured with a provider default_tags configuration 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.
    kmsKeyArn String
    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.
    tags Map<String>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration 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<SnapshotClusterConfiguration>
    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).
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Arn string
    The ARN of the snapshot.
    ClusterConfigurations []SnapshotClusterConfiguration
    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).
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    The ARN of the snapshot.
    clusterConfigurations List<SnapshotClusterConfiguration>
    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).
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn string
    The ARN of the snapshot.
    clusterConfigurations SnapshotClusterConfiguration[]
    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).
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn str
    The ARN of the snapshot.
    cluster_configurations Sequence[SnapshotClusterConfiguration]
    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).
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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).
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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) -> Snapshot
    func 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    Arn string
    The ARN of the snapshot.
    ClusterConfigurations List<SnapshotClusterConfiguration>
    The configuration of the cluster from which the snapshot was taken.
    ClusterName string
    Name of the MemoryDB cluster to take a snapshot of.
    KmsKeyArn string
    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).
    Tags Dictionary<string, string>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Arn string
    The ARN of the snapshot.
    ClusterConfigurations []SnapshotClusterConfigurationArgs
    The configuration of the cluster from which the snapshot was taken.
    ClusterName string
    Name of the MemoryDB cluster to take a snapshot of.
    KmsKeyArn string
    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).
    Tags map[string]string
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    The ARN of the snapshot.
    clusterConfigurations List<SnapshotClusterConfiguration>
    The configuration of the cluster from which the snapshot was taken.
    clusterName String
    Name of the MemoryDB cluster to take a snapshot of.
    kmsKeyArn String
    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).
    tags Map<String,String>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn string
    The ARN of the snapshot.
    clusterConfigurations SnapshotClusterConfiguration[]
    The configuration of the cluster from which the snapshot was taken.
    clusterName string
    Name of the MemoryDB cluster to take a snapshot of.
    kmsKeyArn string
    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).
    tags {[key: string]: string}
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn str
    The ARN of the snapshot.
    cluster_configurations Sequence[SnapshotClusterConfigurationArgs]
    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_arn str
    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).
    tags Mapping[str, str]
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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.
    kmsKeyArn String
    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).
    tags Map<String>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Supporting Types

    SnapshotClusterConfiguration, SnapshotClusterConfigurationArgs

    Description string
    Description for the cluster.
    EngineVersion string
    Version number of the Redis 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.
    ParameterGroupName string
    Name of the parameter group associated with the cluster.
    Port int
    Port number on which the cluster accepts connections.
    SnapshotRetentionLimit int
    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.
    SubnetGroupName string
    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.
    EngineVersion string
    Version number of the Redis 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.
    ParameterGroupName string
    Name of the parameter group associated with the cluster.
    Port int
    Port number on which the cluster accepts connections.
    SnapshotRetentionLimit int
    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.
    SubnetGroupName string
    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.
    engineVersion String
    Version number of the Redis 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.
    parameterGroupName String
    Name of the parameter group associated with the cluster.
    port Integer
    Port number on which the cluster accepts connections.
    snapshotRetentionLimit Integer
    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.
    subnetGroupName String
    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.
    engineVersion string
    Version number of the Redis 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.
    parameterGroupName string
    Name of the parameter group associated with the cluster.
    port number
    Port number on which the cluster accepts connections.
    snapshotRetentionLimit number
    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.
    subnetGroupName string
    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_version str
    Version number of the Redis 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_name str
    Name of the parameter group associated with the cluster.
    port int
    Port number on which the cluster accepts connections.
    snapshot_retention_limit int
    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_name str
    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.
    engineVersion String
    Version number of the Redis 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.
    parameterGroupName String
    Name of the parameter group associated with the cluster.
    port Number
    Port number on which the cluster accepts connections.
    snapshotRetentionLimit Number
    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.
    subnetGroupName String
    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 aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.45.0 published on Tuesday, Jul 16, 2024 by Pulumi