Skip to content
v2.278.0

ServerlessCacheSnapshotReference Struct ​

A reference to a ServerlessCacheSnapshot resource.

Example ​

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
# 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
// 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();
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"
};
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 ​

serverlessCacheSnapshotArnstringserverless_cache_snapshot_arnstrserverlessCacheSnapshotArnStringServerlessCacheSnapshotArnstringServerlessCacheSnapshotArn*string required #
The ARN of the ServerlessCacheSnapshot resource.