# ServerlessCacheSnapshotReference

A reference to a ServerlessCacheSnapshot resource.

- Source: Generated at build time
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticache as interfaces_elasticache } from 'aws-cdk-lib/interfaces';
const serverlessCacheSnapshotReference: interfaces_elasticache.ServerlessCacheSnapshotReference = {
  serverlessCacheSnapshotArn: 'serverlessCacheSnapshotArn',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_elasticache as interfaces_elasticache

serverless_cache_snapshot_reference = interfaces_elasticache.ServerlessCacheSnapshotReference(
    serverless_cache_snapshot_arn="serverlessCacheSnapshotArn"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.elasticache.*;

ServerlessCacheSnapshotReference serverlessCacheSnapshotReference = ServerlessCacheSnapshotReference.builder()
        .serverlessCacheSnapshotArn("serverlessCacheSnapshotArn")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.ElastiCache;

var serverlessCacheSnapshotReference = new ServerlessCacheSnapshotReference {
    ServerlessCacheSnapshotArn = "serverlessCacheSnapshotArn"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

serverlessCacheSnapshotReference := &ServerlessCacheSnapshotReference{
	ServerlessCacheSnapshotArn: jsii.String("serverlessCacheSnapshotArn"),
}
```

## Properties

- `serverlessCacheSnapshotArn`: string (required) — The ARN of the ServerlessCacheSnapshot resource.
