Skip to content

Commit

Permalink
Update the aws-glue package with the new name of Output.
Browse files Browse the repository at this point in the history
  • Loading branch information
skinny85 committed Mar 14, 2019
1 parent 8327f8c commit bd842a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions packages/@aws-cdk/aws-glue/lib/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ export class Database extends cdk.Construct {
*/
public export(): DatabaseImportProps {
return {
catalogArn: new cdk.Output(this, 'CatalogArn', { value: this.catalogArn }).makeImportValue().toString(),
catalogId: new cdk.Output(this, 'CatalogId', { value: this.catalogId }).makeImportValue().toString(),
databaseArn: new cdk.Output(this, 'DatabaseArn', { value: this.databaseArn }).makeImportValue().toString(),
databaseName: new cdk.Output(this, 'DatabaseName', { value: this.databaseName }).makeImportValue().toString(),
locationUri: new cdk.Output(this, 'LocationURI', { value: this.locationUri }).makeImportValue().toString()
catalogArn: new cdk.CfnOutput(this, 'CatalogArn', { value: this.catalogArn }).makeImportValue().toString(),
catalogId: new cdk.CfnOutput(this, 'CatalogId', { value: this.catalogId }).makeImportValue().toString(),
databaseArn: new cdk.CfnOutput(this, 'DatabaseArn', { value: this.databaseArn }).makeImportValue().toString(),
databaseName: new cdk.CfnOutput(this, 'DatabaseName', { value: this.databaseName }).makeImportValue().toString(),
locationUri: new cdk.CfnOutput(this, 'LocationURI', { value: this.locationUri }).makeImportValue().toString()
};
}
}
Expand Down
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-glue/lib/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ export class Table extends cdk.Construct implements ITable {

public export(): TableImportProps {
return {
tableName: new cdk.Output(this, 'TableName', { value: this.tableName }).makeImportValue().toString(),
tableArn: new cdk.Output(this, 'TableArn', { value: this.tableArn }).makeImportValue().toString(),
tableName: new cdk.CfnOutput(this, 'TableName', { value: this.tableName }).makeImportValue().toString(),
tableArn: new cdk.CfnOutput(this, 'TableArn', { value: this.tableArn }).makeImportValue().toString(),
};
}

Expand Down

0 comments on commit bd842a6

Please sign in to comment.