# InstanceSnapshotReference

A reference to a InstanceSnapshot resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as interfaces_lightsail } from 'aws-cdk-lib/interfaces';
const instanceSnapshotReference: interfaces_lightsail.InstanceSnapshotReference = {
  instanceSnapshotArn: 'instanceSnapshotArn',
  instanceSnapshotName: 'instanceSnapshotName',
};
```

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_lightsail as interfaces_lightsail

instance_snapshot_reference = interfaces_lightsail.InstanceSnapshotReference(
    instance_snapshot_arn="instanceSnapshotArn",
    instance_snapshot_name="instanceSnapshotName"
)
```

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.lightsail.*;

InstanceSnapshotReference instanceSnapshotReference = InstanceSnapshotReference.builder()
        .instanceSnapshotArn("instanceSnapshotArn")
        .instanceSnapshotName("instanceSnapshotName")
        .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.Lightsail;

var instanceSnapshotReference = new InstanceSnapshotReference {
    InstanceSnapshotArn = "instanceSnapshotArn",
    InstanceSnapshotName = "instanceSnapshotName"
};
```

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"

instanceSnapshotReference := &InstanceSnapshotReference{
	InstanceSnapshotArn: jsii.String("instanceSnapshotArn"),
	InstanceSnapshotName: jsii.String("instanceSnapshotName"),
}
```

## Properties

- `instanceSnapshotArn`: string (required) — The ARN of the InstanceSnapshot resource.

- `instanceSnapshotName`: string (required) — The InstanceSnapshotName of the InstanceSnapshot resource.
