# SpaceReference

A reference to a Space resource.

- Source: Generated at build time
- Type last changed: v2.264.0 · 10 Aug 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_quicksight as interfaces_quicksight } from 'aws-cdk-lib/interfaces';
const spaceReference: interfaces_quicksight.SpaceReference = {
  awsAccountId: 'awsAccountId',
  spaceArn: 'spaceArn',
  spaceId: 'spaceId',
};
```

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_quicksight as interfaces_quicksight

space_reference = interfaces_quicksight.SpaceReference(
    aws_account_id="awsAccountId",
    space_arn="spaceArn",
    space_id="spaceId"
)
```

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

SpaceReference spaceReference = SpaceReference.builder()
        .awsAccountId("awsAccountId")
        .spaceArn("spaceArn")
        .spaceId("spaceId")
        .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.QuickSight;

var spaceReference = new SpaceReference {
    AwsAccountId = "awsAccountId",
    SpaceArn = "spaceArn",
    SpaceId = "spaceId"
};
```

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"

spaceReference := &SpaceReference{
	AwsAccountId: jsii.String("awsAccountId"),
	SpaceArn: jsii.String("spaceArn"),
	SpaceId: jsii.String("spaceId"),
}
```

## Properties

- `awsAccountId`: string (required) — The AwsAccountId of the Space resource.

- `spaceArn`: string (required) — The ARN of the Space resource.

- `spaceId`: string (required) — The SpaceId of the Space resource.
