aws / aws/aws-cdk

aws-quicksight: `rowLevelPermissionDataSet` deprecated without replacement

Open
#36,519 3 comments 0 reactions 0 assignees View on GitHub
@aws-cdk/aws-quicksight bug needs-cfn p3 potential-regression
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
1d 19h
Merged PRs (30d)
71

Description

### Describe the bug

The `rowLevelPermissionDataSet` property on `CfnDataSetProps` is marked as deprecated, but there's no replacement documented and the CloudFormation docs don't show it as deprecated.

### Regression Issue

- [x] Select this option if this issue appears to be a regression.

### Last Known Working CDK Library Version

2.179.0

### Expected Behavior

Either provide a migration path to an alternative property, or don't mark it deprecated if CloudFormation still supports it.

### Current Behavior

TypeScript shows deprecation warning when using `rowLevelPermissionDataSet`. No replacement is documented.

### Reproduction Steps

```typescript
import { CfnDataSet } from 'aws-cdk-lib/aws-quicksight'

const dataSet = new CfnDataSet(this, 'DataSet', { /* ... */ })

// IDE shows: 'rowLevelPermissionDataSet' is deprecated
dataSet.rowLevelPermissionDataSet = {
arn: 'arn:aws:quicksight:...',
formatVersion: 'VERSION_1',
status: 'ENABLED',
permissionPolicy: 'GRANT_ACCESS',
}
```

### Possible Solution

If the property is intentionally deprecated, document the replacement. If not, remove the deprecation marker.

### Additional Information/Context

- CloudFormation docs still show `RowLevelPermissionDataSet` as valid: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-rowlevelpermissiondataset.html
- The nested `RowLevelPermissionDataSetProperty` interface is NOT deprecated, only the property on `CfnDataSetProps`

### AWS CDK Library version (aws-cdk-lib)

2.233.0

### AWS CDK CLI version

2.1100.1

### Node.js Version

v24.12.0

### OS

macOS (Darwin)

### Language

TypeScript

### Language Version

_No response_

### Other information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the CfnDataSetProps.rowLevelPermissionDataSet entry point and compare its deprecation metadata with the RowLevelPermissionDataSetProperty interface. Check the linked CloudFormation documentation to determine whether a replacement exists; done means documenting the migration path or removing the incorrect deprecation marker, with the TypeScript declaration warning corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.