# CfnSpaceProps

Properties for defining a `CfnSpace`.

Extends: CfnSpaceProps
Used as props by: CfnSpace

- Source: Generated code
- Type last changed: v2.264.0 · 10 Aug 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const cfnSpaceProps: quicksight.CfnSpaceProps = {
  awsAccountId: 'awsAccountId',
  name: 'name',
  spaceId: 'spaceId',

  // the properties below are optional
  description: 'description',
  permissions: [{
    actions: ['actions'],
    principal: 'principal',
  }],
  resources: [{
    resourceArn: 'resourceArn',
    resourceType: 'resourceType',
  }],
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `awsAccountId`: string (required) — The ID of the Amazon Web Services account where the space is being created.

- `description`: string — A description of the space.

- `name`: string (required) — The display name of the space.

- `permissions`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSpace.ResourcePermissionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnSpace.ResourcePermissionProperty.html)[] — A list of permissions granted on the space.

- `resources`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSpace.SpaceResourceProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnSpace.SpaceResourceProperty.html)[] — A list of QuickSight resources attached to the space.

- `spaceId`: string (required) — The unique identifier for the space.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — A list of key-value pairs to associate with the space resource.
