-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Labels
@aws-cdk/aws-quicksightRelated to the @aws-cdk/aws-quicksight packageRelated to the @aws-cdk/aws-quicksight packagebugThis issue is a bug.This issue is a bug.needs-cfnThis issue is waiting on changes to CloudFormation before it can be addressed.This issue is waiting on changes to CloudFormation before it can be addressed.p3potential-regressionMarking this issue as a potential regression to be checked by team memberMarking this issue as a potential regression to be checked by team member
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
- 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
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
RowLevelPermissionDataSetas valid: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-rowlevelpermissiondataset.html - The nested
RowLevelPermissionDataSetPropertyinterface is NOT deprecated, only the property onCfnDataSetProps
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
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-quicksightRelated to the @aws-cdk/aws-quicksight packageRelated to the @aws-cdk/aws-quicksight packagebugThis issue is a bug.This issue is a bug.needs-cfnThis issue is waiting on changes to CloudFormation before it can be addressed.This issue is waiting on changes to CloudFormation before it can be addressed.p3potential-regressionMarking this issue as a potential regression to be checked by team memberMarking this issue as a potential regression to be checked by team member