File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
packages/@aws-cdk/aws-dynamodb/lib Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -891,8 +891,6 @@ abstract class TableBase extends Resource implements ITable {
891891 return metrics ;
892892 }
893893
894- protected abstract get hasIndex ( ) : boolean ;
895-
896894 /**
897895 * Adds an IAM policy statement associated with this table to an IAM
898896 * principal's policy.
@@ -1003,8 +1001,6 @@ export class Table extends TableBase {
10031001 public readonly tableArn : string ;
10041002 public readonly tableStreamArn ?: string ;
10051003 public readonly encryptionKey ?: kms . IKey ;
1006- protected readonly hasIndex = ( attrs . globalIndexes ?? [ ] ) . length > 0 ||
1007- ( attrs . localIndexes ?? [ ] ) . length > 0 ;
10081004
10091005 constructor ( _tableArn : string , tableName : string , tableStreamArn ?: string ) {
10101006 super ( scope , id ) ;
@@ -1545,13 +1541,6 @@ export class Table extends TableBase {
15451541 } ) ) ;
15461542 }
15471543
1548- /**
1549- * Whether this table has indexes
1550- */
1551- protected get hasIndex ( ) : boolean {
1552- return this . globalSecondaryIndexes . length + this . localSecondaryIndexes . length > 0 ;
1553- }
1554-
15551544 /**
15561545 * Set up key properties and return the Table encryption property from the
15571546 * user's configuration.
You can’t perform that action at this time.
0 commit comments