Skip to content

Commit

Permalink
Some more Resource inheritance fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
skinny85 committed Apr 30, 2019
1 parent 9fc7006 commit b2ebde2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-cognito/lib/user-pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ export class UserPool extends Resource implements IUserPool {
/**
* Define a user pool which has been declared in another stack
*/
class ImportedUserPool extends Construct implements IUserPool {
class ImportedUserPool extends Resource implements IUserPool {
/**
* The ID of an existing user pool
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-glue/lib/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export class Database extends Resource {
}
}

class ImportedDatabase extends Construct implements IDatabase {
class ImportedDatabase extends Resource implements IDatabase {
public readonly catalogArn: string;
public readonly catalogId: string;
public readonly databaseArn: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-glue/lib/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ function renderColumns(columns?: Array<Column | Column>) {
});
}

class ImportedTable extends Construct implements ITable {
class ImportedTable extends Resource implements ITable {
public readonly tableArn: string;
public readonly tableName: string;

Expand Down

0 comments on commit b2ebde2

Please sign in to comment.