diff --git a/source/patterns/@aws-solutions-constructs/aws-kinesisstreams-gluejob/test/__snapshots__/test.kinesisstream-gluejob.test.js.snap b/source/patterns/@aws-solutions-constructs/aws-kinesisstreams-gluejob/test/__snapshots__/test.kinesisstream-gluejob.test.js.snap index b60c5332d..42007576f 100644 --- a/source/patterns/@aws-solutions-constructs/aws-kinesisstreams-gluejob/test/__snapshots__/test.kinesisstream-gluejob.test.js.snap +++ b/source/patterns/@aws-solutions-constructs/aws-kinesisstreams-gluejob/test/__snapshots__/test.kinesisstream-gluejob.test.js.snap @@ -188,7 +188,7 @@ Object { }, "TableInput": Object { "Parameters": Object { - "classication": "json", + "classification": "json", }, "StorageDescriptor": Object { "Columns": Array [ @@ -866,7 +866,7 @@ Object { }, "TableInput": Object { "Parameters": Object { - "classication": "json", + "classification": "json", }, "StorageDescriptor": Object { "Columns": Array [ @@ -1149,7 +1149,7 @@ Object { }, "TableInput": Object { "Parameters": Object { - "classication": "json", + "classification": "json", }, "StorageDescriptor": Object { "Columns": Array [ @@ -1787,7 +1787,7 @@ Object { }, "TableInput": Object { "Parameters": Object { - "classication": "json", + "classification": "json", }, "StorageDescriptor": Object { "Columns": Array [ @@ -2412,7 +2412,7 @@ Object { }, "TableInput": Object { "Parameters": Object { - "classication": "json", + "classification": "json", }, "StorageDescriptor": Object { "Columns": Array [ @@ -3063,7 +3063,7 @@ Object { }, "TableInput": Object { "Parameters": Object { - "classication": "json", + "classification": "json", }, "StorageDescriptor": Object { "Columns": Array [ diff --git a/source/patterns/@aws-solutions-constructs/aws-kinesisstreams-gluejob/test/integ.existing-job.expected.json b/source/patterns/@aws-solutions-constructs/aws-kinesisstreams-gluejob/test/integ.existing-job.expected.json index 72f091270..733af9b6e 100644 --- a/source/patterns/@aws-solutions-constructs/aws-kinesisstreams-gluejob/test/integ.existing-job.expected.json +++ b/source/patterns/@aws-solutions-constructs/aws-kinesisstreams-gluejob/test/integ.existing-job.expected.json @@ -105,7 +105,7 @@ }, "TableInput": { "Parameters": { - "classication": "json" + "classification": "json" }, "StorageDescriptor": { "Columns": [ diff --git a/source/patterns/@aws-solutions-constructs/aws-kinesisstreams-gluejob/test/integ.no-arguments.expected.json b/source/patterns/@aws-solutions-constructs/aws-kinesisstreams-gluejob/test/integ.no-arguments.expected.json index 293f9e222..b1e22a519 100644 --- a/source/patterns/@aws-solutions-constructs/aws-kinesisstreams-gluejob/test/integ.no-arguments.expected.json +++ b/source/patterns/@aws-solutions-constructs/aws-kinesisstreams-gluejob/test/integ.no-arguments.expected.json @@ -519,7 +519,7 @@ }, "TableInput": { "Parameters": { - "classication": "json" + "classification": "json" }, "StorageDescriptor": { "Columns": [ diff --git a/source/patterns/@aws-solutions-constructs/aws-kinesisstreams-gluejob/test/test.kinesisstream-gluejob.test.ts b/source/patterns/@aws-solutions-constructs/aws-kinesisstreams-gluejob/test/test.kinesisstream-gluejob.test.ts index b7eb7de5e..c40254533 100644 --- a/source/patterns/@aws-solutions-constructs/aws-kinesisstreams-gluejob/test/test.kinesisstream-gluejob.test.ts +++ b/source/patterns/@aws-solutions-constructs/aws-kinesisstreams-gluejob/test/test.kinesisstream-gluejob.test.ts @@ -602,7 +602,7 @@ test('When database and table are not provided', () => { }, TableInput: { Parameters: { - classication: "json" + classification: "json" }, StorageDescriptor: { Columns: [ diff --git a/source/patterns/@aws-solutions-constructs/core/lib/glue-table-defaults.ts b/source/patterns/@aws-solutions-constructs/core/lib/glue-table-defaults.ts index 0777ee3f5..f28a07369 100644 --- a/source/patterns/@aws-solutions-constructs/core/lib/glue-table-defaults.ts +++ b/source/patterns/@aws-solutions-constructs/core/lib/glue-table-defaults.ts @@ -14,7 +14,7 @@ import * as glue from "@aws-cdk/aws-glue"; import { Aws } from "@aws-cdk/core"; -export function DefaultGlueTableProps(database: glue.CfnDatabase, fieldSchema: glue.CfnTable.ColumnProperty [], +export function DefaultGlueTableProps(database: glue.CfnDatabase, fieldSchema: glue.CfnTable.ColumnProperty[], sourceType?: string, parameters?: any): glue.CfnTableProps | any { let _tableProps: glue.CfnTableProps; @@ -50,7 +50,7 @@ export function DefaultGlueTableProps(database: glue.CfnDatabase, fieldSchema: g }, tableType: 'EXTERNAL_TABLE', parameters: { - classication: 'json' + classification: 'json' } } }; diff --git a/source/patterns/@aws-solutions-constructs/core/test/__snapshots__/glue-job-helper.test.js.snap b/source/patterns/@aws-solutions-constructs/core/test/__snapshots__/glue-job-helper.test.js.snap index 9b7870afd..e66cdd8ca 100644 --- a/source/patterns/@aws-solutions-constructs/core/test/__snapshots__/glue-job-helper.test.js.snap +++ b/source/patterns/@aws-solutions-constructs/core/test/__snapshots__/glue-job-helper.test.js.snap @@ -63,7 +63,7 @@ Object { }, "TableInput": Object { "Parameters": Object { - "classication": "json", + "classification": "json", }, "StorageDescriptor": Object { "Columns": Array [ @@ -188,7 +188,7 @@ Object { }, "TableInput": Object { "Parameters": Object { - "classication": "json", + "classification": "json", }, "StorageDescriptor": Object { "Columns": Array [ @@ -645,7 +645,7 @@ Object { }, "TableInput": Object { "Parameters": Object { - "classication": "json", + "classification": "json", }, "StorageDescriptor": Object { "Columns": Array [ @@ -1117,7 +1117,7 @@ Object { }, "TableInput": Object { "Parameters": Object { - "classication": "json", + "classification": "json", }, "StorageDescriptor": Object { "Columns": Array [ @@ -1561,7 +1561,7 @@ Object { }, "TableInput": Object { "Parameters": Object { - "classication": "json", + "classification": "json", }, "StorageDescriptor": Object { "Columns": Array [ diff --git a/source/patterns/@aws-solutions-constructs/core/test/__snapshots__/glue-table-helper.test.js.snap b/source/patterns/@aws-solutions-constructs/core/test/__snapshots__/glue-table-helper.test.js.snap index 16ed8dd69..c89cbdc2f 100644 --- a/source/patterns/@aws-solutions-constructs/core/test/__snapshots__/glue-table-helper.test.js.snap +++ b/source/patterns/@aws-solutions-constructs/core/test/__snapshots__/glue-table-helper.test.js.snap @@ -24,7 +24,7 @@ Object { }, "TableInput": Object { "Parameters": Object { - "classication": "json", + "classification": "json", }, "StorageDescriptor": Object { "Columns": Array [ diff --git a/source/patterns/@aws-solutions-constructs/core/test/glue-table-helper.test.ts b/source/patterns/@aws-solutions-constructs/core/test/glue-table-helper.test.ts index 4d2f173de..997c0af6b 100644 --- a/source/patterns/@aws-solutions-constructs/core/test/glue-table-helper.test.ts +++ b/source/patterns/@aws-solutions-constructs/core/test/glue-table-helper.test.ts @@ -121,7 +121,7 @@ test('Create table', () => { }, TableInput: { Parameters: { - classication: "json" + classification: "json" }, StorageDescriptor: { Columns: [