@aws-cdk/aws-glue-alpha 2.1.0-alpha.0 → 2.5.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii CHANGED
@@ -8,7 +8,7 @@
8
8
  "url": "https://aws.amazon.com"
9
9
  },
10
10
  "dependencies": {
11
- "aws-cdk-lib": "^2.1.0",
11
+ "aws-cdk-lib": "^2.5.0",
12
12
  "constructs": "^10.0.0"
13
13
  },
14
14
  "dependencyClosure": {
@@ -105,6 +105,19 @@
105
105
  }
106
106
  }
107
107
  },
108
+ "aws-cdk-lib.aws_amplifyuibuilder": {
109
+ "targets": {
110
+ "dotnet": {
111
+ "namespace": "Amazon.CDK.AWS.AmplifyUIBuilder"
112
+ },
113
+ "java": {
114
+ "package": "software.amazon.awscdk.services.amplifyuibuilder"
115
+ },
116
+ "python": {
117
+ "module": "aws_cdk.aws_amplifyuibuilder"
118
+ }
119
+ }
120
+ },
108
121
  "aws-cdk-lib.aws_apigateway": {
109
122
  "targets": {
110
123
  "dotnet": {
@@ -1120,6 +1133,19 @@
1120
1133
  }
1121
1134
  }
1122
1135
  },
1136
+ "aws-cdk-lib.aws_evidently": {
1137
+ "targets": {
1138
+ "dotnet": {
1139
+ "namespace": "Amazon.CDK.AWS.Evidently"
1140
+ },
1141
+ "java": {
1142
+ "package": "software.amazon.awscdk.services.evidently"
1143
+ },
1144
+ "python": {
1145
+ "module": "aws_cdk.aws_evidently"
1146
+ }
1147
+ }
1148
+ },
1123
1149
  "aws-cdk-lib.aws_finspace": {
1124
1150
  "targets": {
1125
1151
  "dotnet": {
@@ -1601,6 +1627,19 @@
1601
1627
  }
1602
1628
  }
1603
1629
  },
1630
+ "aws-cdk-lib.aws_lex": {
1631
+ "targets": {
1632
+ "dotnet": {
1633
+ "namespace": "Amazon.CDK.AWS.Lex"
1634
+ },
1635
+ "java": {
1636
+ "package": "software.amazon.awscdk.services.lex"
1637
+ },
1638
+ "python": {
1639
+ "module": "aws_cdk.aws_lex"
1640
+ }
1641
+ }
1642
+ },
1604
1643
  "aws-cdk-lib.aws_licensemanager": {
1605
1644
  "targets": {
1606
1645
  "dotnet": {
@@ -2030,6 +2069,19 @@
2030
2069
  }
2031
2070
  }
2032
2071
  },
2072
+ "aws-cdk-lib.aws_refactorspaces": {
2073
+ "targets": {
2074
+ "dotnet": {
2075
+ "namespace": "Amazon.CDK.AWS.RefactorSpaces"
2076
+ },
2077
+ "java": {
2078
+ "package": "software.amazon.awscdk.services.refactorspaces"
2079
+ },
2080
+ "python": {
2081
+ "module": "aws_cdk.aws_refactorspaces"
2082
+ }
2083
+ }
2084
+ },
2033
2085
  "aws-cdk-lib.aws_rekognition": {
2034
2086
  "targets": {
2035
2087
  "dotnet": {
@@ -2043,6 +2095,19 @@
2043
2095
  }
2044
2096
  }
2045
2097
  },
2098
+ "aws-cdk-lib.aws_resiliencehub": {
2099
+ "targets": {
2100
+ "dotnet": {
2101
+ "namespace": "Amazon.CDK.AWS.ResilienceHub"
2102
+ },
2103
+ "java": {
2104
+ "package": "software.amazon.awscdk.services.resiliencehub"
2105
+ },
2106
+ "python": {
2107
+ "module": "aws_cdk.aws_resiliencehub"
2108
+ }
2109
+ }
2110
+ },
2046
2111
  "aws-cdk-lib.aws_resourcegroups": {
2047
2112
  "targets": {
2048
2113
  "dotnet": {
@@ -2147,6 +2212,19 @@
2147
2212
  }
2148
2213
  }
2149
2214
  },
2215
+ "aws-cdk-lib.aws_rum": {
2216
+ "targets": {
2217
+ "dotnet": {
2218
+ "namespace": "Amazon.CDK.AWS.RUM"
2219
+ },
2220
+ "java": {
2221
+ "package": "software.amazon.awscdk.services.rum"
2222
+ },
2223
+ "python": {
2224
+ "module": "aws_cdk.aws_rum"
2225
+ }
2226
+ }
2227
+ },
2150
2228
  "aws-cdk-lib.aws_s3": {
2151
2229
  "targets": {
2152
2230
  "dotnet": {
@@ -2777,7 +2855,7 @@
2777
2855
  "stability": "experimental"
2778
2856
  },
2779
2857
  "homepage": "https://github.com/aws/aws-cdk",
2780
- "jsiiVersion": "1.46.0 (build cd08c55)",
2858
+ "jsiiVersion": "1.50.0 (build d1830a4)",
2781
2859
  "keywords": [
2782
2860
  "aws",
2783
2861
  "cdk",
@@ -2798,7 +2876,7 @@
2798
2876
  },
2799
2877
  "name": "@aws-cdk/aws-glue-alpha",
2800
2878
  "readme": {
2801
- "markdown": "# AWS Glue Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\nThis module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.\n\n## Job\n\nA `Job` encapsulates a script that connects to data sources, processes them, and then writes output to a data target.\n\nThere are 3 types of jobs supported by AWS Glue: Spark ETL, Spark Streaming, and Python Shell jobs.\n\nThe `glue.JobExecutable` allows you to specify the type of job, the language to use and the code assets required by the job.\n\n`glue.Code` allows you to refer to the different code assets required by the job, either from an existing S3 location or from a local file path.\n\n### Spark Jobs\n\nThese jobs run in an Apache Spark environment managed by AWS Glue.\n\n#### ETL Jobs\n\nAn ETL job processes data in batches using Apache Spark.\n\n```ts\ndeclare const bucket: s3.Bucket;\nnew glue.Job(this, 'ScalaSparkEtlJob', {\n executable: glue.JobExecutable.scalaEtl({\n glueVersion: glue.GlueVersion.V2_0,\n script: glue.Code.fromBucket(bucket, 'src/com/example/HelloWorld.scala'),\n className: 'com.example.HelloWorld',\n extraJars: [glue.Code.fromBucket(bucket, 'jars/HelloWorld.jar')],\n }),\n description: 'an example Scala ETL job',\n});\n```\n\n#### Streaming Jobs\n\nA Streaming job is similar to an ETL job, except that it performs ETL on data streams. It uses the Apache Spark Structured Streaming framework. Some Spark job features are not available to streaming ETL jobs.\n\n```ts\nnew glue.Job(this, 'PythonSparkStreamingJob', {\n executable: glue.JobExecutable.pythonStreaming({\n glueVersion: glue.GlueVersion.V2_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromAsset(path.join(__dirname, 'job-script/hello_world.py')),\n }),\n description: 'an example Python Streaming job',\n});\n```\n\n### Python Shell Jobs\n\nA Python shell job runs Python scripts as a shell and supports a Python version that depends on the AWS Glue version you are using.\nThis can be used to schedule and run tasks that don't require an Apache Spark environment.\n\n```ts\ndeclare const bucket: s3.Bucket;\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});\n```\n\nSee [documentation](https://docs.aws.amazon.com/glue/latest/dg/add-job.html) for more information on adding jobs in Glue.\n\n## Connection\n\nA `Connection` allows Glue jobs, crawlers and development endpoints to access certain types of data stores. For example, to create a network connection to connect to a data source within a VPC:\n\n```ts\ndeclare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\nnew glue.Connection(this, 'MyConnection', {\n type: glue.ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n securityGroups: [securityGroup],\n // The VPC subnet which contains the data source\n subnet,\n});\n```\n\nIf you need to use a connection type that doesn't exist as a static member on `ConnectionType`, you can instantiate a `ConnectionType` object, e.g: `new glue.ConnectionType('NEW_TYPE')`.\n\nSee [Adding a Connection to Your Data Store](https://docs.aws.amazon.com/glue/latest/dg/populate-add-connection.html) and [Connection Structure](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-connections.html#aws-glue-api-catalog-connections-Connection) documentation for more information on the supported data stores and their configurations.\n\n## SecurityConfiguration\n\nA `SecurityConfiguration` is a set of security properties that can be used by AWS Glue to encrypt data at rest.\n\n```ts\nnew glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});\n```\n\nBy default, a shared KMS key is created for use with the encryption configurations that require one. You can also supply your own key for each encryption config, for example, for CloudWatch encryption:\n\n```ts\ndeclare const key: kms.Key;\nnew glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n kmsKey: key,\n },\n});\n```\n\nSee [documentation](https://docs.aws.amazon.com/glue/latest/dg/encryption-security-configuration.html) for more info for Glue encrypting data written by Crawlers, Jobs, and Development Endpoints.\n\n## Database\n\nA `Database` is a logical grouping of `Tables` in the Glue Catalog.\n\n```ts\nnew glue.Database(this, 'MyDatabase', {\n databaseName: 'my_database',\n});\n```\n\n## Table\n\nA Glue table describes a table of data in S3: its structure (column names and types), location of data (S3 objects with a common prefix in a S3 bucket), and format for the files (Json, Avro, Parquet, etc.):\n\n```ts\ndeclare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }, {\n name: 'col2',\n type: glue.Schema.array(glue.Schema.STRING),\n comment: 'col2 is an array of strings' // comment is optional\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n```\n\nBy default, a S3 bucket will be created to store the table's data but you can manually pass the `bucket` and `s3Prefix`:\n\n```ts\ndeclare const myBucket: s3.Bucket;\ndeclare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n bucket: myBucket,\n s3Prefix: 'my-table/',\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n```\n\nBy default, an S3 bucket will be created to store the table's data and stored in the bucket root. You can also manually pass the `bucket` and `s3Prefix`:\n\n### Partitions\n\nTo improve query performance, a table can specify `partitionKeys` on which data is stored and queried separately. For example, you might partition a table by `year` and `month` to optimize queries based on a time window:\n\n```ts\ndeclare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n```\n\n## [Encryption](https://docs.aws.amazon.com/athena/latest/ug/encryption.html)\n\nYou can enable encryption on a Table's data:\n\n* `Unencrypted` - files are not encrypted. The default encryption setting.\n* [S3Managed](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html) - Server side encryption (`SSE-S3`) with an Amazon S3-managed key.\n\n```ts\ndeclare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.S3_MANAGED,\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n```\n\n* [Kms](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html) - Server-side encryption (`SSE-KMS`) with an AWS KMS Key managed by the account owner.\n\n```ts\ndeclare const myDatabase: glue.Database;\n// KMS key is created automatically\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.KMS,\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n\n// with an explicit KMS key\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.KMS,\n encryptionKey: new kms.Key(this, 'MyKey'),\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n```\n\n* [KmsManaged](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html) - Server-side encryption (`SSE-KMS`), like `Kms`, except with an AWS KMS Key managed by the AWS Key Management Service.\n\n```ts\ndeclare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.KMS_MANAGED,\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n```\n\n* [ClientSideKms](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html#client-side-encryption-kms-managed-master-key-intro) - Client-side encryption (`CSE-KMS`) with an AWS KMS Key managed by the account owner.\n\n```ts\ndeclare const myDatabase: glue.Database;\n// KMS key is created automatically\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.CLIENT_SIDE_KMS,\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n\n// with an explicit KMS key\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.CLIENT_SIDE_KMS,\n encryptionKey: new kms.Key(this, 'MyKey'),\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n```\n\n*Note: you cannot provide a `Bucket` when creating the `Table` if you wish to use server-side encryption (`KMS`, `KMS_MANAGED` or `S3_MANAGED`)*.\n\n## Types\n\nA table's schema is a collection of columns, each of which have a `name` and a `type`. Types are recursive structures, consisting of primitive and complex types:\n\n```ts\ndeclare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n columns: [{\n name: 'primitive_column',\n type: glue.Schema.STRING,\n }, {\n name: 'array_column',\n type: glue.Schema.array(glue.Schema.INTEGER),\n comment: 'array<integer>',\n }, {\n name: 'map_column',\n type: glue.Schema.map(\n glue.Schema.STRING,\n glue.Schema.TIMESTAMP),\n comment: 'map<string,string>',\n }, {\n name: 'struct_column',\n type: glue.Schema.struct([{\n name: 'nested_column',\n type: glue.Schema.DATE,\n comment: 'nested comment',\n }]),\n comment: \"struct<nested_column:date COMMENT 'nested comment'>\",\n }],\n // ...\n database: myDatabase,\n tableName: 'my_table',\n dataFormat: glue.DataFormat.JSON,\n});\n```\n\n### Primitives\n\n#### Numeric\n\n| Name \t| Type \t| Comments |\n|-----------\t|----------\t|------------------------------------------------------------------------------------------------------------------\t|\n| FLOAT \t| Constant \t| A 32-bit single-precision floating point number |\n| INTEGER \t| Constant \t| A 32-bit signed value in two's complement format, with a minimum value of -2^31 and a maximum value of 2^31-1 \t|\n| DOUBLE \t| Constant \t| A 64-bit double-precision floating point number |\n| BIG_INT \t| Constant \t| A 64-bit signed INTEGER in two’s complement format, with a minimum value of -2^63 and a maximum value of 2^63 -1 |\n| SMALL_INT \t| Constant \t| A 16-bit signed INTEGER in two’s complement format, with a minimum value of -2^15 and a maximum value of 2^15-1 |\n| TINY_INT \t| Constant \t| A 8-bit signed INTEGER in two’s complement format, with a minimum value of -2^7 and a maximum value of 2^7-1 |\n\n#### Date and time\n\n| Name \t| Type \t| Comments \t|\n|-----------\t|----------\t|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------\t|\n| DATE \t| Constant \t| A date in UNIX format, such as YYYY-MM-DD. \t|\n| TIMESTAMP \t| Constant \t| Date and time instant in the UNiX format, such as yyyy-mm-dd hh:mm:ss[.f...]. For example, TIMESTAMP '2008-09-15 03:04:05.324'. This format uses the session time zone. \t|\n\n#### String\n\n| Name \t| Type \t| Comments \t|\n|--------------------------------------------\t|----------\t|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\t|\n| STRING \t| Constant \t| A string literal enclosed in single or double quotes \t|\n| decimal(precision: number, scale?: number) \t| Function \t| `precision` is the total number of digits. `scale` (optional) is the number of digits in fractional part with a default of 0. For example, use these type definitions: decimal(11,5), decimal(15) \t|\n| char(length: number) \t| Function \t| Fixed length character data, with a specified length between 1 and 255, such as char(10) \t|\n| varchar(length: number) \t| Function \t| Variable length character data, with a specified length between 1 and 65535, such as varchar(10) \t|\n\n#### Miscellaneous\n\n| Name \t| Type \t| Comments \t|\n|---------\t|----------\t|-------------------------------\t|\n| BOOLEAN \t| Constant \t| Values are `true` and `false` \t|\n| BINARY \t| Constant \t| Value is in binary \t|\n\n### Complex\n\n| Name \t| Type \t| Comments \t|\n|-------------------------------------\t|----------\t|-------------------------------------------------------------------\t|\n| array(itemType: Type) \t| Function \t| An array of some other type \t|\n| map(keyType: Type, valueType: Type) \t| Function \t| A map of some primitive key type to any value type \t|\n| struct(collumns: Column[]) \t| Function \t| Nested structure containing individually named and typed collumns \t|\n"
2879
+ "markdown": "# AWS Glue Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\nThis module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.\n\n## Job\n\nA `Job` encapsulates a script that connects to data sources, processes them, and then writes output to a data target.\n\nThere are 3 types of jobs supported by AWS Glue: Spark ETL, Spark Streaming, and Python Shell jobs.\n\nThe `glue.JobExecutable` allows you to specify the type of job, the language to use and the code assets required by the job.\n\n`glue.Code` allows you to refer to the different code assets required by the job, either from an existing S3 location or from a local file path.\n\n### Spark Jobs\n\nThese jobs run in an Apache Spark environment managed by AWS Glue.\n\n#### ETL Jobs\n\nAn ETL job processes data in batches using Apache Spark.\n\n```ts\ndeclare const bucket: s3.Bucket;\nnew glue.Job(this, 'ScalaSparkEtlJob', {\n executable: glue.JobExecutable.scalaEtl({\n glueVersion: glue.GlueVersion.V2_0,\n script: glue.Code.fromBucket(bucket, 'src/com/example/HelloWorld.scala'),\n className: 'com.example.HelloWorld',\n extraJars: [glue.Code.fromBucket(bucket, 'jars/HelloWorld.jar')],\n }),\n description: 'an example Scala ETL job',\n});\n```\n\n#### Streaming Jobs\n\nA Streaming job is similar to an ETL job, except that it performs ETL on data streams. It uses the Apache Spark Structured Streaming framework. Some Spark job features are not available to streaming ETL jobs.\n\n```ts\nnew glue.Job(this, 'PythonSparkStreamingJob', {\n executable: glue.JobExecutable.pythonStreaming({\n glueVersion: glue.GlueVersion.V2_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromAsset(path.join(__dirname, 'job-script/hello_world.py')),\n }),\n description: 'an example Python Streaming job',\n});\n```\n\n### Python Shell Jobs\n\nA Python shell job runs Python scripts as a shell and supports a Python version that depends on the AWS Glue version you are using.\nThis can be used to schedule and run tasks that don't require an Apache Spark environment.\n\n```ts\ndeclare const bucket: s3.Bucket;\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});\n```\n\nSee [documentation](https://docs.aws.amazon.com/glue/latest/dg/add-job.html) for more information on adding jobs in Glue.\n\n## Connection\n\nA `Connection` allows Glue jobs, crawlers and development endpoints to access certain types of data stores. For example, to create a network connection to connect to a data source within a VPC:\n\n```ts\ndeclare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\nnew glue.Connection(this, 'MyConnection', {\n type: glue.ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n securityGroups: [securityGroup],\n // The VPC subnet which contains the data source\n subnet,\n});\n```\n\nIf you need to use a connection type that doesn't exist as a static member on `ConnectionType`, you can instantiate a `ConnectionType` object, e.g: `new glue.ConnectionType('NEW_TYPE')`.\n\nSee [Adding a Connection to Your Data Store](https://docs.aws.amazon.com/glue/latest/dg/populate-add-connection.html) and [Connection Structure](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-connections.html#aws-glue-api-catalog-connections-Connection) documentation for more information on the supported data stores and their configurations.\n\n## SecurityConfiguration\n\nA `SecurityConfiguration` is a set of security properties that can be used by AWS Glue to encrypt data at rest.\n\n```ts\nnew glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});\n```\n\nBy default, a shared KMS key is created for use with the encryption configurations that require one. You can also supply your own key for each encryption config, for example, for CloudWatch encryption:\n\n```ts\ndeclare const key: kms.Key;\nnew glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n kmsKey: key,\n },\n});\n```\n\nSee [documentation](https://docs.aws.amazon.com/glue/latest/dg/encryption-security-configuration.html) for more info for Glue encrypting data written by Crawlers, Jobs, and Development Endpoints.\n\n## Database\n\nA `Database` is a logical grouping of `Tables` in the Glue Catalog.\n\n```ts\nnew glue.Database(this, 'MyDatabase', {\n databaseName: 'my_database',\n});\n```\n\n## Table\n\nA Glue table describes a table of data in S3: its structure (column names and types), location of data (S3 objects with a common prefix in a S3 bucket), and format for the files (Json, Avro, Parquet, etc.):\n\n```ts\ndeclare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }, {\n name: 'col2',\n type: glue.Schema.array(glue.Schema.STRING),\n comment: 'col2 is an array of strings' // comment is optional\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n```\n\nBy default, a S3 bucket will be created to store the table's data but you can manually pass the `bucket` and `s3Prefix`:\n\n```ts\ndeclare const myBucket: s3.Bucket;\ndeclare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n bucket: myBucket,\n s3Prefix: 'my-table/',\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n```\n\nBy default, an S3 bucket will be created to store the table's data and stored in the bucket root. You can also manually pass the `bucket` and `s3Prefix`:\n\n### Partition Keys\n\nTo improve query performance, a table can specify `partitionKeys` on which data is stored and queried separately. For example, you might partition a table by `year` and `month` to optimize queries based on a time window:\n\n```ts\ndeclare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n```\n\n### Partition Indexes\n\nAnother way to improve query performance is to specify partition indexes. If no partition indexes are\npresent on the table, AWS Glue loads all partitions of the table and filters the loaded partitions using\nthe query expression. The query takes more time to run as the number of partitions increase. With an\nindex, the query will try to fetch a subset of the partitions instead of loading all partitions of the\ntable.\n\nThe keys of a partition index must be a subset of the partition keys of the table. You can have a\nmaximum of 3 partition indexes per table. To specify a partition index, you can use the `partitionIndexes`\nproperty:\n\n```ts\ndeclare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n partitionIndexes: [{\n indexName: 'my-index', // optional\n keyNames: ['year'],\n }], // supply up to 3 indexes\n dataFormat: glue.DataFormat.JSON,\n});\n```\n\nAlternatively, you can call the `addPartitionIndex()` function on a table:\n\n```ts\ndeclare const myTable: glue.Table;\nmyTable.addPartitionIndex({\n indexName: 'my-index',\n keyNames: ['year'],\n});\n```\n\n## [Encryption](https://docs.aws.amazon.com/athena/latest/ug/encryption.html)\n\nYou can enable encryption on a Table's data:\n\n* `Unencrypted` - files are not encrypted. The default encryption setting.\n* [S3Managed](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html) - Server side encryption (`SSE-S3`) with an Amazon S3-managed key.\n\n```ts\ndeclare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.S3_MANAGED,\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n```\n\n* [Kms](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html) - Server-side encryption (`SSE-KMS`) with an AWS KMS Key managed by the account owner.\n\n```ts\ndeclare const myDatabase: glue.Database;\n// KMS key is created automatically\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.KMS,\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n\n// with an explicit KMS key\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.KMS,\n encryptionKey: new kms.Key(this, 'MyKey'),\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n```\n\n* [KmsManaged](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html) - Server-side encryption (`SSE-KMS`), like `Kms`, except with an AWS KMS Key managed by the AWS Key Management Service.\n\n```ts\ndeclare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.KMS_MANAGED,\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n```\n\n* [ClientSideKms](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html#client-side-encryption-kms-managed-master-key-intro) - Client-side encryption (`CSE-KMS`) with an AWS KMS Key managed by the account owner.\n\n```ts\ndeclare const myDatabase: glue.Database;\n// KMS key is created automatically\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.CLIENT_SIDE_KMS,\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n\n// with an explicit KMS key\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.CLIENT_SIDE_KMS,\n encryptionKey: new kms.Key(this, 'MyKey'),\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});\n```\n\n*Note: you cannot provide a `Bucket` when creating the `Table` if you wish to use server-side encryption (`KMS`, `KMS_MANAGED` or `S3_MANAGED`)*.\n\n## Types\n\nA table's schema is a collection of columns, each of which have a `name` and a `type`. Types are recursive structures, consisting of primitive and complex types:\n\n```ts\ndeclare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n columns: [{\n name: 'primitive_column',\n type: glue.Schema.STRING,\n }, {\n name: 'array_column',\n type: glue.Schema.array(glue.Schema.INTEGER),\n comment: 'array<integer>',\n }, {\n name: 'map_column',\n type: glue.Schema.map(\n glue.Schema.STRING,\n glue.Schema.TIMESTAMP),\n comment: 'map<string,string>',\n }, {\n name: 'struct_column',\n type: glue.Schema.struct([{\n name: 'nested_column',\n type: glue.Schema.DATE,\n comment: 'nested comment',\n }]),\n comment: \"struct<nested_column:date COMMENT 'nested comment'>\",\n }],\n // ...\n database: myDatabase,\n tableName: 'my_table',\n dataFormat: glue.DataFormat.JSON,\n});\n```\n\n### Primitives\n\n#### Numeric\n\n| Name \t| Type \t| Comments |\n|-----------\t|----------\t|------------------------------------------------------------------------------------------------------------------\t|\n| FLOAT \t| Constant \t| A 32-bit single-precision floating point number |\n| INTEGER \t| Constant \t| A 32-bit signed value in two's complement format, with a minimum value of -2^31 and a maximum value of 2^31-1 \t|\n| DOUBLE \t| Constant \t| A 64-bit double-precision floating point number |\n| BIG_INT \t| Constant \t| A 64-bit signed INTEGER in two’s complement format, with a minimum value of -2^63 and a maximum value of 2^63 -1 |\n| SMALL_INT \t| Constant \t| A 16-bit signed INTEGER in two’s complement format, with a minimum value of -2^15 and a maximum value of 2^15-1 |\n| TINY_INT \t| Constant \t| A 8-bit signed INTEGER in two’s complement format, with a minimum value of -2^7 and a maximum value of 2^7-1 |\n\n#### Date and time\n\n| Name \t| Type \t| Comments \t|\n|-----------\t|----------\t|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------\t|\n| DATE \t| Constant \t| A date in UNIX format, such as YYYY-MM-DD. \t|\n| TIMESTAMP \t| Constant \t| Date and time instant in the UNiX format, such as yyyy-mm-dd hh:mm:ss[.f...]. For example, TIMESTAMP '2008-09-15 03:04:05.324'. This format uses the session time zone. \t|\n\n#### String\n\n| Name \t| Type \t| Comments \t|\n|--------------------------------------------\t|----------\t|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\t|\n| STRING \t| Constant \t| A string literal enclosed in single or double quotes \t|\n| decimal(precision: number, scale?: number) \t| Function \t| `precision` is the total number of digits. `scale` (optional) is the number of digits in fractional part with a default of 0. For example, use these type definitions: decimal(11,5), decimal(15) \t|\n| char(length: number) \t| Function \t| Fixed length character data, with a specified length between 1 and 255, such as char(10) \t|\n| varchar(length: number) \t| Function \t| Variable length character data, with a specified length between 1 and 65535, such as varchar(10) \t|\n\n#### Miscellaneous\n\n| Name \t| Type \t| Comments \t|\n|---------\t|----------\t|-------------------------------\t|\n| BOOLEAN \t| Constant \t| Values are `true` and `false` \t|\n| BINARY \t| Constant \t| Value is in binary \t|\n\n### Complex\n\n| Name \t| Type \t| Comments \t|\n|-------------------------------------\t|----------\t|-------------------------------------------------------------------\t|\n| array(itemType: Type) \t| Function \t| An array of some other type \t|\n| map(keyType: Type, valueType: Type) \t| Function \t| A map of some primitive key type to any value type \t|\n| struct(collumns: Column[]) \t| Function \t| Nested structure containing individually named and typed collumns \t|\n"
2802
2880
  },
2803
2881
  "repository": {
2804
2882
  "directory": "packages/individual-packages/aws-glue",
@@ -2842,7 +2920,7 @@
2842
2920
  "docs": {
2843
2921
  "stability": "experimental",
2844
2922
  "summary": "Job Code from a local file.",
2845
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport * as cdk from 'aws-cdk-lib';\nimport { aws_iam as iam } from 'aws-cdk-lib';\n\ndeclare const dockerImage: cdk.DockerImage;\ndeclare const grantable: iam.IGrantable;\ndeclare const localBundling: cdk.ILocalBundling;\n\nconst assetCode = new glue_alpha.AssetCode('path', /* all optional props */ {\n assetHash: 'assetHash',\n assetHashType: cdk.AssetHashType.SOURCE,\n bundling: {\n image: dockerImage,\n\n // the properties below are optional\n command: ['command'],\n entrypoint: ['entrypoint'],\n environment: {\n environmentKey: 'environment',\n },\n local: localBundling,\n outputType: cdk.BundlingOutput.ARCHIVED,\n securityOpt: 'securityOpt',\n user: 'user',\n volumes: [{\n containerPath: 'containerPath',\n hostPath: 'hostPath',\n\n // the properties below are optional\n consistency: cdk.DockerVolumeConsistency.CONSISTENT,\n }],\n workingDirectory: 'workingDirectory',\n },\n exclude: ['exclude'],\n followSymlinks: cdk.SymlinkFollowMode.NEVER,\n ignoreMode: cdk.IgnoreMode.GLOB,\n readers: [grantable],\n});",
2923
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport * as cdk from 'aws-cdk-lib';\nimport { aws_iam as iam } from 'aws-cdk-lib';\n\ndeclare const dockerImage: cdk.DockerImage;\ndeclare const grantable: iam.IGrantable;\ndeclare const localBundling: cdk.ILocalBundling;\nconst assetCode = new glue_alpha.AssetCode('path', /* all optional props */ {\n assetHash: 'assetHash',\n assetHashType: cdk.AssetHashType.SOURCE,\n bundling: {\n image: dockerImage,\n\n // the properties below are optional\n command: ['command'],\n entrypoint: ['entrypoint'],\n environment: {\n environmentKey: 'environment',\n },\n local: localBundling,\n outputType: cdk.BundlingOutput.ARCHIVED,\n securityOpt: 'securityOpt',\n user: 'user',\n volumes: [{\n containerPath: 'containerPath',\n hostPath: 'hostPath',\n\n // the properties below are optional\n consistency: cdk.DockerVolumeConsistency.CONSISTENT,\n }],\n workingDirectory: 'workingDirectory',\n },\n exclude: ['exclude'],\n followSymlinks: cdk.SymlinkFollowMode.NEVER,\n ignoreMode: cdk.IgnoreMode.GLOB,\n readers: [grantable],\n});",
2846
2924
  "custom": {
2847
2925
  "exampleMetadata": "fixture=_generated"
2848
2926
  }
@@ -2922,7 +3000,7 @@
2922
3000
  "see": "https://docs.aws.amazon.com/glue/latest/dg/add-classifier.html#classifier-built-in",
2923
3001
  "stability": "experimental",
2924
3002
  "summary": "Classification string given to tables with this data format.",
2925
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n\nconst classificationString = glue_alpha.ClassificationString.AVRO;",
3003
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nconst classificationString = glue_alpha.ClassificationString.AVRO;",
2926
3004
  "custom": {
2927
3005
  "exampleMetadata": "fixture=_generated"
2928
3006
  }
@@ -3038,34 +3116,34 @@
3038
3116
  }
3039
3117
  },
3040
3118
  {
3119
+ "const": true,
3041
3120
  "docs": {
3121
+ "see": "https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-format.html#aws-glue-programming-etl-format-xml",
3042
3122
  "stability": "experimental"
3043
3123
  },
3044
3124
  "immutable": true,
3045
3125
  "locationInModule": {
3046
3126
  "filename": "lib/data-format.ts",
3047
- "line": 176
3127
+ "line": 164
3048
3128
  },
3049
- "name": "value",
3129
+ "name": "XML",
3130
+ "static": true,
3050
3131
  "type": {
3051
- "primitive": "string"
3132
+ "fqn": "@aws-cdk/aws-glue-alpha.ClassificationString"
3052
3133
  }
3053
3134
  },
3054
3135
  {
3055
- "const": true,
3056
3136
  "docs": {
3057
- "see": "https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-format.html#aws-glue-programming-etl-format-xml",
3058
3137
  "stability": "experimental"
3059
3138
  },
3060
3139
  "immutable": true,
3061
3140
  "locationInModule": {
3062
3141
  "filename": "lib/data-format.ts",
3063
- "line": 164
3142
+ "line": 176
3064
3143
  },
3065
- "name": "XML",
3066
- "static": true,
3144
+ "name": "value",
3067
3145
  "type": {
3068
- "fqn": "@aws-cdk/aws-glue-alpha.ClassificationString"
3146
+ "primitive": "string"
3069
3147
  }
3070
3148
  }
3071
3149
  ],
@@ -3075,6 +3153,9 @@
3075
3153
  "assembly": "@aws-cdk/aws-glue-alpha",
3076
3154
  "datatype": true,
3077
3155
  "docs": {
3156
+ "custom": {
3157
+ "exampleMetadata": "infused"
3158
+ },
3078
3159
  "example": "new glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});",
3079
3160
  "stability": "experimental",
3080
3161
  "summary": "CloudWatch Logs encryption configuration."
@@ -3127,6 +3208,10 @@
3127
3208
  "@aws-cdk/aws-glue-alpha.CloudWatchEncryptionMode": {
3128
3209
  "assembly": "@aws-cdk/aws-glue-alpha",
3129
3210
  "docs": {
3211
+ "custom": {
3212
+ "exampleMetadata": "infused"
3213
+ },
3214
+ "example": "new glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});",
3130
3215
  "see": "https://docs.aws.amazon.com/glue/latest/webapi/API_CloudWatchEncryption.html#Glue-Type-CloudWatchEncryption-CloudWatchEncryptionMode",
3131
3216
  "stability": "experimental",
3132
3217
  "summary": "Encryption mode for CloudWatch Logs."
@@ -3148,12 +3233,15 @@
3148
3233
  }
3149
3234
  ],
3150
3235
  "name": "CloudWatchEncryptionMode",
3151
- "symbolId": "lib/security-configuration:CloudWatchEncryptionMode.KMS"
3236
+ "symbolId": "lib/security-configuration:CloudWatchEncryptionMode"
3152
3237
  },
3153
3238
  "@aws-cdk/aws-glue-alpha.Code": {
3154
3239
  "abstract": true,
3155
3240
  "assembly": "@aws-cdk/aws-glue-alpha",
3156
3241
  "docs": {
3242
+ "custom": {
3243
+ "exampleMetadata": "infused"
3244
+ },
3157
3245
  "example": "declare const bucket: s3.Bucket;\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});",
3158
3246
  "stability": "experimental",
3159
3247
  "summary": "Represents a Glue Job's Code assets (an asset can be a scripts, a jar, a python file or any other file)."
@@ -3170,37 +3258,6 @@
3170
3258
  "line": 12
3171
3259
  },
3172
3260
  "methods": [
3173
- {
3174
- "abstract": true,
3175
- "docs": {
3176
- "stability": "experimental",
3177
- "summary": "Called when the Job is initialized to allow this object to bind."
3178
- },
3179
- "locationInModule": {
3180
- "filename": "lib/code.ts",
3181
- "line": 35
3182
- },
3183
- "name": "bind",
3184
- "parameters": [
3185
- {
3186
- "name": "scope",
3187
- "type": {
3188
- "fqn": "constructs.Construct"
3189
- }
3190
- },
3191
- {
3192
- "name": "grantable",
3193
- "type": {
3194
- "fqn": "aws-cdk-lib.aws_iam.IGrantable"
3195
- }
3196
- }
3197
- ],
3198
- "returns": {
3199
- "type": {
3200
- "fqn": "@aws-cdk/aws-glue-alpha.CodeConfig"
3201
- }
3202
- }
3203
- },
3204
3261
  {
3205
3262
  "docs": {
3206
3263
  "stability": "experimental",
@@ -3272,6 +3329,37 @@
3272
3329
  }
3273
3330
  },
3274
3331
  "static": true
3332
+ },
3333
+ {
3334
+ "abstract": true,
3335
+ "docs": {
3336
+ "stability": "experimental",
3337
+ "summary": "Called when the Job is initialized to allow this object to bind."
3338
+ },
3339
+ "locationInModule": {
3340
+ "filename": "lib/code.ts",
3341
+ "line": 35
3342
+ },
3343
+ "name": "bind",
3344
+ "parameters": [
3345
+ {
3346
+ "name": "scope",
3347
+ "type": {
3348
+ "fqn": "constructs.Construct"
3349
+ }
3350
+ },
3351
+ {
3352
+ "name": "grantable",
3353
+ "type": {
3354
+ "fqn": "aws-cdk-lib.aws_iam.IGrantable"
3355
+ }
3356
+ }
3357
+ ],
3358
+ "returns": {
3359
+ "type": {
3360
+ "fqn": "@aws-cdk/aws-glue-alpha.CodeConfig"
3361
+ }
3362
+ }
3275
3363
  }
3276
3364
  ],
3277
3365
  "name": "Code",
@@ -3283,7 +3371,7 @@
3283
3371
  "docs": {
3284
3372
  "stability": "experimental",
3285
3373
  "summary": "Result of binding `Code` into a `Job`.",
3286
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n\nconst codeConfig: glue_alpha.CodeConfig = {\n s3Location: {\n bucketName: 'bucketName',\n objectKey: 'objectKey',\n\n // the properties below are optional\n objectVersion: 'objectVersion',\n },\n};",
3374
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nconst codeConfig: glue_alpha.CodeConfig = {\n s3Location: {\n bucketName: 'bucketName',\n objectKey: 'objectKey',\n\n // the properties below are optional\n objectVersion: 'objectVersion',\n },\n};",
3287
3375
  "custom": {
3288
3376
  "exampleMetadata": "fixture=_generated"
3289
3377
  }
@@ -3321,7 +3409,7 @@
3321
3409
  "docs": {
3322
3410
  "stability": "experimental",
3323
3411
  "summary": "A column of a table.",
3324
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n\nconst column: glue_alpha.Column = {\n name: 'name',\n type: {\n inputString: 'inputString',\n isPrimitive: false,\n },\n\n // the properties below are optional\n comment: 'comment',\n};",
3412
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nconst column: glue_alpha.Column = {\n name: 'name',\n type: {\n inputString: 'inputString',\n isPrimitive: false,\n },\n\n // the properties below are optional\n comment: 'comment',\n};",
3325
3413
  "custom": {
3326
3414
  "exampleMetadata": "fixture=_generated"
3327
3415
  }
@@ -3337,17 +3425,15 @@
3337
3425
  {
3338
3426
  "abstract": true,
3339
3427
  "docs": {
3340
- "default": "none",
3341
3428
  "stability": "experimental",
3342
- "summary": "Coment describing the column."
3429
+ "summary": "Name of the column."
3343
3430
  },
3344
3431
  "immutable": true,
3345
3432
  "locationInModule": {
3346
3433
  "filename": "lib/schema.ts",
3347
- "line": 20
3434
+ "line": 8
3348
3435
  },
3349
- "name": "comment",
3350
- "optional": true,
3436
+ "name": "name",
3351
3437
  "type": {
3352
3438
  "primitive": "string"
3353
3439
  }
@@ -3356,32 +3442,34 @@
3356
3442
  "abstract": true,
3357
3443
  "docs": {
3358
3444
  "stability": "experimental",
3359
- "summary": "Name of the column."
3445
+ "summary": "Type of the column."
3360
3446
  },
3361
3447
  "immutable": true,
3362
3448
  "locationInModule": {
3363
3449
  "filename": "lib/schema.ts",
3364
- "line": 8
3450
+ "line": 13
3365
3451
  },
3366
- "name": "name",
3452
+ "name": "type",
3367
3453
  "type": {
3368
- "primitive": "string"
3454
+ "fqn": "@aws-cdk/aws-glue-alpha.Type"
3369
3455
  }
3370
3456
  },
3371
3457
  {
3372
3458
  "abstract": true,
3373
3459
  "docs": {
3460
+ "default": "none",
3374
3461
  "stability": "experimental",
3375
- "summary": "Type of the column."
3462
+ "summary": "Coment describing the column."
3376
3463
  },
3377
3464
  "immutable": true,
3378
3465
  "locationInModule": {
3379
3466
  "filename": "lib/schema.ts",
3380
- "line": 13
3467
+ "line": 20
3381
3468
  },
3382
- "name": "type",
3469
+ "name": "comment",
3470
+ "optional": true,
3383
3471
  "type": {
3384
- "fqn": "@aws-cdk/aws-glue-alpha.Type"
3472
+ "primitive": "string"
3385
3473
  }
3386
3474
  }
3387
3475
  ],
@@ -3391,6 +3479,9 @@
3391
3479
  "assembly": "@aws-cdk/aws-glue-alpha",
3392
3480
  "base": "aws-cdk-lib.Resource",
3393
3481
  "docs": {
3482
+ "custom": {
3483
+ "exampleMetadata": "infused"
3484
+ },
3394
3485
  "example": "declare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\nnew glue.Connection(this, 'MyConnection', {\n type: glue.ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n securityGroups: [securityGroup],\n // The VPC subnet which contains the data source\n subnet,\n});",
3395
3486
  "stability": "experimental",
3396
3487
  "summary": "An AWS Glue connection to a data source."
@@ -3601,7 +3692,7 @@
3601
3692
  "docs": {
3602
3693
  "stability": "experimental",
3603
3694
  "summary": "Base Connection Options.",
3604
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_ec2 as ec2 } from 'aws-cdk-lib';\n\ndeclare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\n\nconst connectionOptions: glue_alpha.ConnectionOptions = {\n connectionName: 'connectionName',\n description: 'description',\n matchCriteria: ['matchCriteria'],\n properties: {\n propertiesKey: 'properties',\n },\n securityGroups: [securityGroup],\n subnet: subnet,\n};",
3695
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_ec2 as ec2 } from 'aws-cdk-lib';\n\ndeclare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\nconst connectionOptions: glue_alpha.ConnectionOptions = {\n connectionName: 'connectionName',\n description: 'description',\n matchCriteria: ['matchCriteria'],\n properties: {\n propertiesKey: 'properties',\n },\n securityGroups: [securityGroup],\n subnet: subnet,\n};",
3605
3696
  "custom": {
3606
3697
  "exampleMetadata": "fixture=_generated"
3607
3698
  }
@@ -3747,6 +3838,9 @@
3747
3838
  "assembly": "@aws-cdk/aws-glue-alpha",
3748
3839
  "datatype": true,
3749
3840
  "docs": {
3841
+ "custom": {
3842
+ "exampleMetadata": "infused"
3843
+ },
3750
3844
  "example": "declare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\nnew glue.Connection(this, 'MyConnection', {\n type: glue.ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n securityGroups: [securityGroup],\n // The VPC subnet which contains the data source\n subnet,\n});",
3751
3845
  "stability": "experimental",
3752
3846
  "summary": "Construction properties for {@link Connection}."
@@ -3784,6 +3878,9 @@
3784
3878
  "@aws-cdk/aws-glue-alpha.ConnectionType": {
3785
3879
  "assembly": "@aws-cdk/aws-glue-alpha",
3786
3880
  "docs": {
3881
+ "custom": {
3882
+ "exampleMetadata": "infused"
3883
+ },
3787
3884
  "example": "declare const securityGroup: ec2.SecurityGroup;\ndeclare const subnet: ec2.Subnet;\nnew glue.Connection(this, 'MyConnection', {\n type: glue.ConnectionType.NETWORK,\n // The security groups granting AWS Glue inbound access to the data source within the VPC\n securityGroups: [securityGroup],\n // The VPC subnet which contains the data source\n subnet,\n});",
3788
3885
  "remarks": "If you need to use a connection type that doesn't exist as a static member, you\ncan instantiate a `ConnectionType` object, e.g: `new ConnectionType('NEW_TYPE')`.",
3789
3886
  "stability": "experimental",
@@ -3925,7 +4022,7 @@
3925
4022
  "see": "https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html",
3926
4023
  "stability": "experimental",
3927
4024
  "summary": "Properties for enabling Continuous Logging for Glue Jobs.",
3928
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_logs as logs } from 'aws-cdk-lib';\n\ndeclare const logGroup: logs.LogGroup;\n\nconst continuousLoggingProps: glue_alpha.ContinuousLoggingProps = {\n enabled: false,\n\n // the properties below are optional\n conversionPattern: 'conversionPattern',\n logGroup: logGroup,\n logStreamPrefix: 'logStreamPrefix',\n quiet: false,\n};",
4025
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_logs as logs } from 'aws-cdk-lib';\n\ndeclare const logGroup: logs.LogGroup;\nconst continuousLoggingProps: glue_alpha.ContinuousLoggingProps = {\n enabled: false,\n\n // the properties below are optional\n conversionPattern: 'conversionPattern',\n logGroup: logGroup,\n logStreamPrefix: 'logStreamPrefix',\n quiet: false,\n};",
3929
4026
  "custom": {
3930
4027
  "exampleMetadata": "fixture=_generated"
3931
4028
  }
@@ -3941,36 +4038,36 @@
3941
4038
  {
3942
4039
  "abstract": true,
3943
4040
  "docs": {
3944
- "default": "`%d{yy/MM/dd HH:mm:ss} %p %c{1}: %m%n`",
3945
- "remarks": "This is a Log4j Conversion Pattern to customize driver and executor logs.",
3946
4041
  "stability": "experimental",
3947
- "summary": "Apply the provided conversion pattern."
4042
+ "summary": "Enable continouous logging."
3948
4043
  },
3949
4044
  "immutable": true,
3950
4045
  "locationInModule": {
3951
4046
  "filename": "lib/job.ts",
3952
- "line": 418
4047
+ "line": 388
3953
4048
  },
3954
- "name": "conversionPattern",
3955
- "optional": true,
4049
+ "name": "enabled",
3956
4050
  "type": {
3957
- "primitive": "string"
4051
+ "primitive": "boolean"
3958
4052
  }
3959
4053
  },
3960
4054
  {
3961
4055
  "abstract": true,
3962
4056
  "docs": {
4057
+ "default": "`%d{yy/MM/dd HH:mm:ss} %p %c{1}: %m%n`",
4058
+ "remarks": "This is a Log4j Conversion Pattern to customize driver and executor logs.",
3963
4059
  "stability": "experimental",
3964
- "summary": "Enable continouous logging."
4060
+ "summary": "Apply the provided conversion pattern."
3965
4061
  },
3966
4062
  "immutable": true,
3967
4063
  "locationInModule": {
3968
4064
  "filename": "lib/job.ts",
3969
- "line": 388
4065
+ "line": 418
3970
4066
  },
3971
- "name": "enabled",
4067
+ "name": "conversionPattern",
4068
+ "optional": true,
3972
4069
  "type": {
3973
- "primitive": "boolean"
4070
+ "primitive": "string"
3974
4071
  }
3975
4072
  },
3976
4073
  {
@@ -4033,6 +4130,9 @@
4033
4130
  "@aws-cdk/aws-glue-alpha.DataFormat": {
4034
4131
  "assembly": "@aws-cdk/aws-glue-alpha",
4035
4132
  "docs": {
4133
+ "custom": {
4134
+ "exampleMetadata": "infused"
4135
+ },
4036
4136
  "example": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n});",
4037
4137
  "stability": "experimental",
4038
4138
  "summary": "Defines the input/output formats and ser/de for a single DataFormat."
@@ -4296,7 +4396,7 @@
4296
4396
  "docs": {
4297
4397
  "stability": "experimental",
4298
4398
  "summary": "Properties of a DataFormat instance.",
4299
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n\ndeclare const classificationString: glue_alpha.ClassificationString;\ndeclare const inputFormat: glue_alpha.InputFormat;\ndeclare const outputFormat: glue_alpha.OutputFormat;\ndeclare const serializationLibrary: glue_alpha.SerializationLibrary;\n\nconst dataFormatProps: glue_alpha.DataFormatProps = {\n inputFormat: inputFormat,\n outputFormat: outputFormat,\n serializationLibrary: serializationLibrary,\n\n // the properties below are optional\n classificationString: classificationString,\n};",
4399
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n\ndeclare const classificationString: glue_alpha.ClassificationString;\ndeclare const inputFormat: glue_alpha.InputFormat;\ndeclare const outputFormat: glue_alpha.OutputFormat;\ndeclare const serializationLibrary: glue_alpha.SerializationLibrary;\nconst dataFormatProps: glue_alpha.DataFormatProps = {\n inputFormat: inputFormat,\n outputFormat: outputFormat,\n serializationLibrary: serializationLibrary,\n\n // the properties below are optional\n classificationString: classificationString,\n};",
4300
4400
  "custom": {
4301
4401
  "exampleMetadata": "fixture=_generated"
4302
4402
  }
@@ -4309,24 +4409,6 @@
4309
4409
  },
4310
4410
  "name": "DataFormatProps",
4311
4411
  "properties": [
4312
- {
4313
- "abstract": true,
4314
- "docs": {
4315
- "default": "- No classification is specified.",
4316
- "stability": "experimental",
4317
- "summary": "Classification string given to tables with this data format."
4318
- },
4319
- "immutable": true,
4320
- "locationInModule": {
4321
- "filename": "lib/data-format.ts",
4322
- "line": 203
4323
- },
4324
- "name": "classificationString",
4325
- "optional": true,
4326
- "type": {
4327
- "fqn": "@aws-cdk/aws-glue-alpha.ClassificationString"
4328
- }
4329
- },
4330
4412
  {
4331
4413
  "abstract": true,
4332
4414
  "docs": {
@@ -4374,6 +4456,24 @@
4374
4456
  "type": {
4375
4457
  "fqn": "@aws-cdk/aws-glue-alpha.SerializationLibrary"
4376
4458
  }
4459
+ },
4460
+ {
4461
+ "abstract": true,
4462
+ "docs": {
4463
+ "default": "- No classification is specified.",
4464
+ "stability": "experimental",
4465
+ "summary": "Classification string given to tables with this data format."
4466
+ },
4467
+ "immutable": true,
4468
+ "locationInModule": {
4469
+ "filename": "lib/data-format.ts",
4470
+ "line": 203
4471
+ },
4472
+ "name": "classificationString",
4473
+ "optional": true,
4474
+ "type": {
4475
+ "fqn": "@aws-cdk/aws-glue-alpha.ClassificationString"
4476
+ }
4377
4477
  }
4378
4478
  ],
4379
4479
  "symbolId": "lib/data-format:DataFormatProps"
@@ -4382,6 +4482,9 @@
4382
4482
  "assembly": "@aws-cdk/aws-glue-alpha",
4383
4483
  "base": "aws-cdk-lib.Resource",
4384
4484
  "docs": {
4485
+ "custom": {
4486
+ "exampleMetadata": "infused"
4487
+ },
4385
4488
  "example": "new glue.Database(this, 'MyDatabase', {\n databaseName: 'my_database',\n});",
4386
4489
  "stability": "experimental",
4387
4490
  "summary": "A Glue database."
@@ -4551,6 +4654,9 @@
4551
4654
  "assembly": "@aws-cdk/aws-glue-alpha",
4552
4655
  "datatype": true,
4553
4656
  "docs": {
4657
+ "custom": {
4658
+ "exampleMetadata": "infused"
4659
+ },
4554
4660
  "example": "new glue.Database(this, 'MyDatabase', {\n databaseName: 'my_database',\n});",
4555
4661
  "stability": "experimental"
4556
4662
  },
@@ -4603,6 +4709,9 @@
4603
4709
  "@aws-cdk/aws-glue-alpha.GlueVersion": {
4604
4710
  "assembly": "@aws-cdk/aws-glue-alpha",
4605
4711
  "docs": {
4712
+ "custom": {
4713
+ "exampleMetadata": "infused"
4714
+ },
4606
4715
  "example": "declare const bucket: s3.Bucket;\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});",
4607
4716
  "see": "https://docs.aws.amazon.com/glue/latest/dg/add-job.html.\n\nIf you need to use a GlueVersion that doesn't exist as a static member, you\ncan instantiate a `GlueVersion` object, e.g: `GlueVersion.of('1.5')`.",
4608
4717
  "stability": "experimental",
@@ -4646,21 +4755,6 @@
4646
4755
  ],
4647
4756
  "name": "GlueVersion",
4648
4757
  "properties": [
4649
- {
4650
- "docs": {
4651
- "stability": "experimental",
4652
- "summary": "The name of this GlueVersion, as expected by Job resource."
4653
- },
4654
- "immutable": true,
4655
- "locationInModule": {
4656
- "filename": "lib/job-executable.ts",
4657
- "line": 43
4658
- },
4659
- "name": "name",
4660
- "type": {
4661
- "primitive": "string"
4662
- }
4663
- },
4664
4758
  {
4665
4759
  "const": true,
4666
4760
  "docs": {
@@ -4728,8 +4822,23 @@
4728
4822
  "type": {
4729
4823
  "fqn": "@aws-cdk/aws-glue-alpha.GlueVersion"
4730
4824
  }
4731
- }
4732
- ],
4825
+ },
4826
+ {
4827
+ "docs": {
4828
+ "stability": "experimental",
4829
+ "summary": "The name of this GlueVersion, as expected by Job resource."
4830
+ },
4831
+ "immutable": true,
4832
+ "locationInModule": {
4833
+ "filename": "lib/job-executable.ts",
4834
+ "line": 43
4835
+ },
4836
+ "name": "name",
4837
+ "type": {
4838
+ "primitive": "string"
4839
+ }
4840
+ }
4841
+ ],
4733
4842
  "symbolId": "lib/job-executable:GlueVersion"
4734
4843
  },
4735
4844
  "@aws-cdk/aws-glue-alpha.IConnection": {
@@ -5288,7 +5397,7 @@
5288
5397
  "kind": "interface",
5289
5398
  "locationInModule": {
5290
5399
  "filename": "lib/table.ts",
5291
- "line": 11
5400
+ "line": 31
5292
5401
  },
5293
5402
  "name": "ITable",
5294
5403
  "properties": [
@@ -5303,7 +5412,7 @@
5303
5412
  "immutable": true,
5304
5413
  "locationInModule": {
5305
5414
  "filename": "lib/table.ts",
5306
- "line": 15
5415
+ "line": 35
5307
5416
  },
5308
5417
  "name": "tableArn",
5309
5418
  "type": {
@@ -5321,7 +5430,7 @@
5321
5430
  "immutable": true,
5322
5431
  "locationInModule": {
5323
5432
  "filename": "lib/table.ts",
5324
- "line": 20
5433
+ "line": 40
5325
5434
  },
5326
5435
  "name": "tableName",
5327
5436
  "type": {
@@ -5336,7 +5445,7 @@
5336
5445
  "docs": {
5337
5446
  "stability": "experimental",
5338
5447
  "summary": "Absolute class name of the Hadoop `InputFormat` to use when reading table files.",
5339
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n\nconst inputFormat = glue_alpha.InputFormat.AVRO;",
5448
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nconst inputFormat = glue_alpha.InputFormat.AVRO;",
5340
5449
  "custom": {
5341
5450
  "exampleMetadata": "fixture=_generated"
5342
5451
  }
@@ -5384,20 +5493,6 @@
5384
5493
  "fqn": "@aws-cdk/aws-glue-alpha.InputFormat"
5385
5494
  }
5386
5495
  },
5387
- {
5388
- "docs": {
5389
- "stability": "experimental"
5390
- },
5391
- "immutable": true,
5392
- "locationInModule": {
5393
- "filename": "lib/data-format.ts",
5394
- "line": 43
5395
- },
5396
- "name": "className",
5397
- "type": {
5398
- "primitive": "string"
5399
- }
5400
- },
5401
5496
  {
5402
5497
  "const": true,
5403
5498
  "docs": {
@@ -5470,6 +5565,20 @@
5470
5565
  "type": {
5471
5566
  "fqn": "@aws-cdk/aws-glue-alpha.InputFormat"
5472
5567
  }
5568
+ },
5569
+ {
5570
+ "docs": {
5571
+ "stability": "experimental"
5572
+ },
5573
+ "immutable": true,
5574
+ "locationInModule": {
5575
+ "filename": "lib/data-format.ts",
5576
+ "line": 43
5577
+ },
5578
+ "name": "className",
5579
+ "type": {
5580
+ "primitive": "string"
5581
+ }
5473
5582
  }
5474
5583
  ],
5475
5584
  "symbolId": "lib/data-format:InputFormat"
@@ -5478,6 +5587,9 @@
5478
5587
  "assembly": "@aws-cdk/aws-glue-alpha",
5479
5588
  "base": "aws-cdk-lib.Resource",
5480
5589
  "docs": {
5590
+ "custom": {
5591
+ "exampleMetadata": "infused"
5592
+ },
5481
5593
  "example": "declare const bucket: s3.Bucket;\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});",
5482
5594
  "stability": "experimental",
5483
5595
  "summary": "A Glue Job."
@@ -5992,7 +6104,7 @@
5992
6104
  "docs": {
5993
6105
  "stability": "experimental",
5994
6106
  "summary": "Attributes for importing {@link Job}.",
5995
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_iam as iam } from 'aws-cdk-lib';\n\ndeclare const role: iam.Role;\n\nconst jobAttributes: glue_alpha.JobAttributes = {\n jobName: 'jobName',\n\n // the properties below are optional\n role: role,\n};",
6107
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_iam as iam } from 'aws-cdk-lib';\n\ndeclare const role: iam.Role;\nconst jobAttributes: glue_alpha.JobAttributes = {\n jobName: 'jobName',\n\n // the properties below are optional\n role: role,\n};",
5996
6108
  "custom": {
5997
6109
  "exampleMetadata": "fixture=_generated"
5998
6110
  }
@@ -6046,6 +6158,9 @@
6046
6158
  "assembly": "@aws-cdk/aws-glue-alpha",
6047
6159
  "datatype": true,
6048
6160
  "docs": {
6161
+ "custom": {
6162
+ "exampleMetadata": "infused"
6163
+ },
6049
6164
  "example": "new glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});",
6050
6165
  "stability": "experimental",
6051
6166
  "summary": "Job bookmarks encryption configuration."
@@ -6098,6 +6213,10 @@
6098
6213
  "@aws-cdk/aws-glue-alpha.JobBookmarksEncryptionMode": {
6099
6214
  "assembly": "@aws-cdk/aws-glue-alpha",
6100
6215
  "docs": {
6216
+ "custom": {
6217
+ "exampleMetadata": "infused"
6218
+ },
6219
+ "example": "new glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});",
6101
6220
  "see": "https://docs.aws.amazon.com/glue/latest/webapi/API_JobBookmarksEncryption.html#Glue-Type-JobBookmarksEncryption-JobBookmarksEncryptionMode",
6102
6221
  "stability": "experimental",
6103
6222
  "summary": "Encryption mode for Job Bookmarks."
@@ -6119,11 +6238,14 @@
6119
6238
  }
6120
6239
  ],
6121
6240
  "name": "JobBookmarksEncryptionMode",
6122
- "symbolId": "lib/security-configuration:JobBookmarksEncryptionMode.CLIENT_SIDE_KMS"
6241
+ "symbolId": "lib/security-configuration:JobBookmarksEncryptionMode"
6123
6242
  },
6124
6243
  "@aws-cdk/aws-glue-alpha.JobExecutable": {
6125
6244
  "assembly": "@aws-cdk/aws-glue-alpha",
6126
6245
  "docs": {
6246
+ "custom": {
6247
+ "exampleMetadata": "infused"
6248
+ },
6127
6249
  "example": "declare const bucket: s3.Bucket;\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});",
6128
6250
  "stability": "experimental",
6129
6251
  "summary": "The executable properties related to the Glue job's GlueVersion, JobType and code."
@@ -6329,7 +6451,7 @@
6329
6451
  "docs": {
6330
6452
  "stability": "experimental",
6331
6453
  "summary": "Result of binding a `JobExecutable` into a `Job`.",
6332
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n\ndeclare const code: glue_alpha.Code;\ndeclare const glueVersion: glue_alpha.GlueVersion;\ndeclare const jobType: glue_alpha.JobType;\n\nconst jobExecutableConfig: glue_alpha.JobExecutableConfig = {\n glueVersion: glueVersion,\n language: glue_alpha.JobLanguage.SCALA,\n script: code,\n type: jobType,\n\n // the properties below are optional\n className: 'className',\n extraFiles: [code],\n extraJars: [code],\n extraJarsFirst: false,\n extraPythonFiles: [code],\n pythonVersion: glue_alpha.PythonVersion.TWO,\n};",
6454
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n\ndeclare const code: glue_alpha.Code;\ndeclare const glueVersion: glue_alpha.GlueVersion;\ndeclare const jobType: glue_alpha.JobType;\nconst jobExecutableConfig: glue_alpha.JobExecutableConfig = {\n glueVersion: glueVersion,\n language: glue_alpha.JobLanguage.SCALA,\n script: code,\n type: jobType,\n\n // the properties below are optional\n className: 'className',\n extraFiles: [code],\n extraJars: [code],\n extraJarsFirst: false,\n extraPythonFiles: [code],\n pythonVersion: glue_alpha.PythonVersion.TWO,\n};",
6333
6455
  "custom": {
6334
6456
  "exampleMetadata": "fixture=_generated"
6335
6457
  }
@@ -6342,6 +6464,72 @@
6342
6464
  },
6343
6465
  "name": "JobExecutableConfig",
6344
6466
  "properties": [
6467
+ {
6468
+ "abstract": true,
6469
+ "docs": {
6470
+ "see": "https://docs.aws.amazon.com/glue/latest/dg/release-notes.html",
6471
+ "stability": "experimental",
6472
+ "summary": "Glue version."
6473
+ },
6474
+ "immutable": true,
6475
+ "locationInModule": {
6476
+ "filename": "lib/job-executable.ts",
6477
+ "line": 323
6478
+ },
6479
+ "name": "glueVersion",
6480
+ "type": {
6481
+ "fqn": "@aws-cdk/aws-glue-alpha.GlueVersion"
6482
+ }
6483
+ },
6484
+ {
6485
+ "abstract": true,
6486
+ "docs": {
6487
+ "see": "`--job-language` in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html",
6488
+ "stability": "experimental",
6489
+ "summary": "The language of the job (Scala or Python)."
6490
+ },
6491
+ "immutable": true,
6492
+ "locationInModule": {
6493
+ "filename": "lib/job-executable.ts",
6494
+ "line": 330
6495
+ },
6496
+ "name": "language",
6497
+ "type": {
6498
+ "fqn": "@aws-cdk/aws-glue-alpha.JobLanguage"
6499
+ }
6500
+ },
6501
+ {
6502
+ "abstract": true,
6503
+ "docs": {
6504
+ "stability": "experimental",
6505
+ "summary": "The script that is executed by a job."
6506
+ },
6507
+ "immutable": true,
6508
+ "locationInModule": {
6509
+ "filename": "lib/job-executable.ts",
6510
+ "line": 347
6511
+ },
6512
+ "name": "script",
6513
+ "type": {
6514
+ "fqn": "@aws-cdk/aws-glue-alpha.Code"
6515
+ }
6516
+ },
6517
+ {
6518
+ "abstract": true,
6519
+ "docs": {
6520
+ "stability": "experimental",
6521
+ "summary": "Specify the type of the job whether it's an Apache Spark ETL or streaming one or if it's a Python shell job."
6522
+ },
6523
+ "immutable": true,
6524
+ "locationInModule": {
6525
+ "filename": "lib/job-executable.ts",
6526
+ "line": 335
6527
+ },
6528
+ "name": "type",
6529
+ "type": {
6530
+ "fqn": "@aws-cdk/aws-glue-alpha.JobType"
6531
+ }
6532
+ },
6345
6533
  {
6346
6534
  "abstract": true,
6347
6535
  "docs": {
@@ -6453,40 +6641,6 @@
6453
6641
  }
6454
6642
  }
6455
6643
  },
6456
- {
6457
- "abstract": true,
6458
- "docs": {
6459
- "see": "https://docs.aws.amazon.com/glue/latest/dg/release-notes.html",
6460
- "stability": "experimental",
6461
- "summary": "Glue version."
6462
- },
6463
- "immutable": true,
6464
- "locationInModule": {
6465
- "filename": "lib/job-executable.ts",
6466
- "line": 323
6467
- },
6468
- "name": "glueVersion",
6469
- "type": {
6470
- "fqn": "@aws-cdk/aws-glue-alpha.GlueVersion"
6471
- }
6472
- },
6473
- {
6474
- "abstract": true,
6475
- "docs": {
6476
- "see": "`--job-language` in https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html",
6477
- "stability": "experimental",
6478
- "summary": "The language of the job (Scala or Python)."
6479
- },
6480
- "immutable": true,
6481
- "locationInModule": {
6482
- "filename": "lib/job-executable.ts",
6483
- "line": 330
6484
- },
6485
- "name": "language",
6486
- "type": {
6487
- "fqn": "@aws-cdk/aws-glue-alpha.JobLanguage"
6488
- }
6489
- },
6490
6644
  {
6491
6645
  "abstract": true,
6492
6646
  "docs": {
@@ -6504,38 +6658,6 @@
6504
6658
  "type": {
6505
6659
  "fqn": "@aws-cdk/aws-glue-alpha.PythonVersion"
6506
6660
  }
6507
- },
6508
- {
6509
- "abstract": true,
6510
- "docs": {
6511
- "stability": "experimental",
6512
- "summary": "The script that is executed by a job."
6513
- },
6514
- "immutable": true,
6515
- "locationInModule": {
6516
- "filename": "lib/job-executable.ts",
6517
- "line": 347
6518
- },
6519
- "name": "script",
6520
- "type": {
6521
- "fqn": "@aws-cdk/aws-glue-alpha.Code"
6522
- }
6523
- },
6524
- {
6525
- "abstract": true,
6526
- "docs": {
6527
- "stability": "experimental",
6528
- "summary": "Specify the type of the job whether it's an Apache Spark ETL or streaming one or if it's a Python shell job."
6529
- },
6530
- "immutable": true,
6531
- "locationInModule": {
6532
- "filename": "lib/job-executable.ts",
6533
- "line": 335
6534
- },
6535
- "name": "type",
6536
- "type": {
6537
- "fqn": "@aws-cdk/aws-glue-alpha.JobType"
6538
- }
6539
6661
  }
6540
6662
  ],
6541
6663
  "symbolId": "lib/job-executable:JobExecutableConfig"
@@ -6556,16 +6678,16 @@
6556
6678
  {
6557
6679
  "docs": {
6558
6680
  "stability": "experimental",
6559
- "summary": "Python."
6681
+ "summary": "Scala."
6560
6682
  },
6561
- "name": "PYTHON"
6683
+ "name": "SCALA"
6562
6684
  },
6563
6685
  {
6564
6686
  "docs": {
6565
6687
  "stability": "experimental",
6566
- "summary": "Scala."
6688
+ "summary": "Python."
6567
6689
  },
6568
- "name": "SCALA"
6690
+ "name": "PYTHON"
6569
6691
  }
6570
6692
  ],
6571
6693
  "name": "JobLanguage",
@@ -6575,6 +6697,9 @@
6575
6697
  "assembly": "@aws-cdk/aws-glue-alpha",
6576
6698
  "datatype": true,
6577
6699
  "docs": {
6700
+ "custom": {
6701
+ "exampleMetadata": "infused"
6702
+ },
6578
6703
  "example": "declare const bucket: s3.Bucket;\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});",
6579
6704
  "stability": "experimental",
6580
6705
  "summary": "Construction properties for {@link Job}."
@@ -7009,7 +7134,7 @@
7009
7134
  "remarks": "If you need to use a JobType that doesn't exist as a static member, you\ncan instantiate a `JobType` object, e.g: `JobType.of('other name')`.",
7010
7135
  "stability": "experimental",
7011
7136
  "summary": "The job type.",
7012
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n\nconst jobType = glue_alpha.JobType.ETL;",
7137
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nconst jobType = glue_alpha.JobType.ETL;",
7013
7138
  "custom": {
7014
7139
  "exampleMetadata": "fixture=_generated"
7015
7140
  }
@@ -7070,52 +7195,52 @@
7070
7195
  }
7071
7196
  },
7072
7197
  {
7198
+ "const": true,
7073
7199
  "docs": {
7074
7200
  "stability": "experimental",
7075
- "summary": "The name of this JobType, as expected by Job resource."
7201
+ "summary": "Command for running a Glue python shell job."
7076
7202
  },
7077
7203
  "immutable": true,
7078
7204
  "locationInModule": {
7079
7205
  "filename": "lib/job-executable.ts",
7080
- "line": 113
7206
+ "line": 100
7081
7207
  },
7082
- "name": "name",
7208
+ "name": "PYTHON_SHELL",
7209
+ "static": true,
7083
7210
  "type": {
7084
- "primitive": "string"
7211
+ "fqn": "@aws-cdk/aws-glue-alpha.JobType"
7085
7212
  }
7086
7213
  },
7087
7214
  {
7088
7215
  "const": true,
7089
7216
  "docs": {
7090
7217
  "stability": "experimental",
7091
- "summary": "Command for running a Glue python shell job."
7218
+ "summary": "Command for running a Glue streaming job."
7092
7219
  },
7093
7220
  "immutable": true,
7094
7221
  "locationInModule": {
7095
7222
  "filename": "lib/job-executable.ts",
7096
- "line": 100
7223
+ "line": 95
7097
7224
  },
7098
- "name": "PYTHON_SHELL",
7225
+ "name": "STREAMING",
7099
7226
  "static": true,
7100
7227
  "type": {
7101
7228
  "fqn": "@aws-cdk/aws-glue-alpha.JobType"
7102
7229
  }
7103
7230
  },
7104
7231
  {
7105
- "const": true,
7106
7232
  "docs": {
7107
7233
  "stability": "experimental",
7108
- "summary": "Command for running a Glue streaming job."
7234
+ "summary": "The name of this JobType, as expected by Job resource."
7109
7235
  },
7110
7236
  "immutable": true,
7111
7237
  "locationInModule": {
7112
7238
  "filename": "lib/job-executable.ts",
7113
- "line": 95
7239
+ "line": 113
7114
7240
  },
7115
- "name": "STREAMING",
7116
- "static": true,
7241
+ "name": "name",
7117
7242
  "type": {
7118
- "fqn": "@aws-cdk/aws-glue-alpha.JobType"
7243
+ "primitive": "string"
7119
7244
  }
7120
7245
  }
7121
7246
  ],
@@ -7158,7 +7283,7 @@
7158
7283
  "docs": {
7159
7284
  "stability": "experimental",
7160
7285
  "summary": "Absolute class name of the Hadoop `OutputFormat` to use when writing table files.",
7161
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n\nconst outputFormat = new glue_alpha.OutputFormat('className');",
7286
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nconst outputFormat = new glue_alpha.OutputFormat('className');",
7162
7287
  "custom": {
7163
7288
  "exampleMetadata": "fixture=_generated"
7164
7289
  }
@@ -7206,20 +7331,6 @@
7206
7331
  "fqn": "@aws-cdk/aws-glue-alpha.InputFormat"
7207
7332
  }
7208
7333
  },
7209
- {
7210
- "docs": {
7211
- "stability": "experimental"
7212
- },
7213
- "immutable": true,
7214
- "locationInModule": {
7215
- "filename": "lib/data-format.ts",
7216
- "line": 78
7217
- },
7218
- "name": "className",
7219
- "type": {
7220
- "primitive": "string"
7221
- }
7222
- },
7223
7334
  {
7224
7335
  "const": true,
7225
7336
  "docs": {
@@ -7257,30 +7368,109 @@
7257
7368
  }
7258
7369
  },
7259
7370
  {
7260
- "const": true,
7371
+ "const": true,
7372
+ "docs": {
7373
+ "see": "https://hive.apache.org/javadocs/r1.2.2/api/org/apache/hadoop/hive/ql/io/parquet/MapredParquetOutputFormat.html",
7374
+ "stability": "experimental",
7375
+ "summary": "OutputFormat for Parquet files."
7376
+ },
7377
+ "immutable": true,
7378
+ "locationInModule": {
7379
+ "filename": "lib/data-format.ts",
7380
+ "line": 76
7381
+ },
7382
+ "name": "PARQUET",
7383
+ "static": true,
7384
+ "type": {
7385
+ "fqn": "@aws-cdk/aws-glue-alpha.OutputFormat"
7386
+ }
7387
+ },
7388
+ {
7389
+ "docs": {
7390
+ "stability": "experimental"
7391
+ },
7392
+ "immutable": true,
7393
+ "locationInModule": {
7394
+ "filename": "lib/data-format.ts",
7395
+ "line": 78
7396
+ },
7397
+ "name": "className",
7398
+ "type": {
7399
+ "primitive": "string"
7400
+ }
7401
+ }
7402
+ ],
7403
+ "symbolId": "lib/data-format:OutputFormat"
7404
+ },
7405
+ "@aws-cdk/aws-glue-alpha.PartitionIndex": {
7406
+ "assembly": "@aws-cdk/aws-glue-alpha",
7407
+ "datatype": true,
7408
+ "docs": {
7409
+ "custom": {
7410
+ "exampleMetadata": "infused"
7411
+ },
7412
+ "example": "declare const myTable: glue.Table;\nmyTable.addPartitionIndex({\n indexName: 'my-index',\n keyNames: ['year'],\n});",
7413
+ "stability": "experimental",
7414
+ "summary": "Properties of a Partition Index."
7415
+ },
7416
+ "fqn": "@aws-cdk/aws-glue-alpha.PartitionIndex",
7417
+ "kind": "interface",
7418
+ "locationInModule": {
7419
+ "filename": "lib/table.ts",
7420
+ "line": 16
7421
+ },
7422
+ "name": "PartitionIndex",
7423
+ "properties": [
7424
+ {
7425
+ "abstract": true,
7426
+ "docs": {
7427
+ "remarks": "The names must correspond to a name in the\ntable's partition keys.",
7428
+ "stability": "experimental",
7429
+ "summary": "The partition key names that comprise the partition index."
7430
+ },
7431
+ "immutable": true,
7432
+ "locationInModule": {
7433
+ "filename": "lib/table.ts",
7434
+ "line": 29
7435
+ },
7436
+ "name": "keyNames",
7437
+ "type": {
7438
+ "collection": {
7439
+ "elementtype": {
7440
+ "primitive": "string"
7441
+ },
7442
+ "kind": "array"
7443
+ }
7444
+ }
7445
+ },
7446
+ {
7447
+ "abstract": true,
7261
7448
  "docs": {
7262
- "see": "https://hive.apache.org/javadocs/r1.2.2/api/org/apache/hadoop/hive/ql/io/parquet/MapredParquetOutputFormat.html",
7449
+ "default": "- a name will be generated for you.",
7263
7450
  "stability": "experimental",
7264
- "summary": "OutputFormat for Parquet files."
7451
+ "summary": "The name of the partition index."
7265
7452
  },
7266
7453
  "immutable": true,
7267
7454
  "locationInModule": {
7268
- "filename": "lib/data-format.ts",
7269
- "line": 76
7455
+ "filename": "lib/table.ts",
7456
+ "line": 22
7270
7457
  },
7271
- "name": "PARQUET",
7272
- "static": true,
7458
+ "name": "indexName",
7459
+ "optional": true,
7273
7460
  "type": {
7274
- "fqn": "@aws-cdk/aws-glue-alpha.OutputFormat"
7461
+ "primitive": "string"
7275
7462
  }
7276
7463
  }
7277
7464
  ],
7278
- "symbolId": "lib/data-format:OutputFormat"
7465
+ "symbolId": "lib/table:PartitionIndex"
7279
7466
  },
7280
7467
  "@aws-cdk/aws-glue-alpha.PythonShellExecutableProps": {
7281
7468
  "assembly": "@aws-cdk/aws-glue-alpha",
7282
7469
  "datatype": true,
7283
7470
  "docs": {
7471
+ "custom": {
7472
+ "exampleMetadata": "infused"
7473
+ },
7284
7474
  "example": "declare const bucket: s3.Bucket;\nnew glue.Job(this, 'PythonShellJob', {\n executable: glue.JobExecutable.pythonShell({\n glueVersion: glue.GlueVersion.V1_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromBucket(bucket, 'script.py'),\n }),\n description: 'an example Python Shell job',\n});",
7285
7475
  "stability": "experimental",
7286
7476
  "summary": "Props for creating a Python shell job executable."
@@ -7399,6 +7589,9 @@
7399
7589
  "assembly": "@aws-cdk/aws-glue-alpha",
7400
7590
  "datatype": true,
7401
7591
  "docs": {
7592
+ "custom": {
7593
+ "exampleMetadata": "infused"
7594
+ },
7402
7595
  "example": "new glue.Job(this, 'PythonSparkStreamingJob', {\n executable: glue.JobExecutable.pythonStreaming({\n glueVersion: glue.GlueVersion.V2_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromAsset(path.join(__dirname, 'job-script/hello_world.py')),\n }),\n description: 'an example Python Streaming job',\n});",
7403
7596
  "stability": "experimental",
7404
7597
  "summary": "Props for creating a Python Spark (ETL or Streaming) job executable."
@@ -7559,6 +7752,9 @@
7559
7752
  "@aws-cdk/aws-glue-alpha.PythonVersion": {
7560
7753
  "assembly": "@aws-cdk/aws-glue-alpha",
7561
7754
  "docs": {
7755
+ "custom": {
7756
+ "exampleMetadata": "infused"
7757
+ },
7562
7758
  "example": "new glue.Job(this, 'PythonSparkStreamingJob', {\n executable: glue.JobExecutable.pythonStreaming({\n glueVersion: glue.GlueVersion.V2_0,\n pythonVersion: glue.PythonVersion.THREE,\n script: glue.Code.fromAsset(path.join(__dirname, 'job-script/hello_world.py')),\n }),\n description: 'an example Python Streaming job',\n});",
7563
7759
  "stability": "experimental",
7564
7760
  "summary": "Python version."
@@ -7573,16 +7769,16 @@
7573
7769
  {
7574
7770
  "docs": {
7575
7771
  "stability": "experimental",
7576
- "summary": "Python 3 (the exact version depends on GlueVersion and JobCommand used)."
7772
+ "summary": "Python 2 (the exact version depends on GlueVersion and JobCommand used)."
7577
7773
  },
7578
- "name": "THREE"
7774
+ "name": "TWO"
7579
7775
  },
7580
7776
  {
7581
7777
  "docs": {
7582
7778
  "stability": "experimental",
7583
- "summary": "Python 2 (the exact version depends on GlueVersion and JobCommand used)."
7779
+ "summary": "Python 3 (the exact version depends on GlueVersion and JobCommand used)."
7584
7780
  },
7585
- "name": "TWO"
7781
+ "name": "THREE"
7586
7782
  }
7587
7783
  ],
7588
7784
  "name": "PythonVersion",
@@ -7594,7 +7790,7 @@
7594
7790
  "docs": {
7595
7791
  "stability": "experimental",
7596
7792
  "summary": "Glue job Code from an S3 bucket.",
7597
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\n\nconst s3Code = new glue_alpha.S3Code(bucket, 'key');",
7793
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\nconst s3Code = new glue_alpha.S3Code(bucket, 'key');",
7598
7794
  "custom": {
7599
7795
  "exampleMetadata": "fixture=_generated"
7600
7796
  }
@@ -7668,6 +7864,9 @@
7668
7864
  "assembly": "@aws-cdk/aws-glue-alpha",
7669
7865
  "datatype": true,
7670
7866
  "docs": {
7867
+ "custom": {
7868
+ "exampleMetadata": "infused"
7869
+ },
7671
7870
  "example": "new glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});",
7672
7871
  "stability": "experimental",
7673
7872
  "summary": "S3 encryption configuration."
@@ -7720,6 +7919,9 @@
7720
7919
  "@aws-cdk/aws-glue-alpha.S3EncryptionMode": {
7721
7920
  "assembly": "@aws-cdk/aws-glue-alpha",
7722
7921
  "docs": {
7922
+ "custom": {
7923
+ "exampleMetadata": "infused"
7924
+ },
7723
7925
  "example": "new glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});",
7724
7926
  "see": "https://docs.aws.amazon.com/glue/latest/webapi/API_S3Encryption.html#Glue-Type-S3Encryption-S3EncryptionMode",
7725
7927
  "stability": "experimental",
@@ -7756,6 +7958,9 @@
7756
7958
  "assembly": "@aws-cdk/aws-glue-alpha",
7757
7959
  "datatype": true,
7758
7960
  "docs": {
7961
+ "custom": {
7962
+ "exampleMetadata": "infused"
7963
+ },
7759
7964
  "example": "declare const bucket: s3.Bucket;\nnew glue.Job(this, 'ScalaSparkEtlJob', {\n executable: glue.JobExecutable.scalaEtl({\n glueVersion: glue.GlueVersion.V2_0,\n script: glue.Code.fromBucket(bucket, 'src/com/example/HelloWorld.scala'),\n className: 'com.example.HelloWorld',\n extraJars: [glue.Code.fromBucket(bucket, 'jars/HelloWorld.jar')],\n }),\n description: 'an example Scala ETL job',\n});",
7760
7965
  "stability": "experimental",
7761
7966
  "summary": "Props for creating a Scala Spark (ETL or Streaming) job executable."
@@ -7892,6 +8097,9 @@
7892
8097
  "@aws-cdk/aws-glue-alpha.Schema": {
7893
8098
  "assembly": "@aws-cdk/aws-glue-alpha",
7894
8099
  "docs": {
8100
+ "custom": {
8101
+ "exampleMetadata": "infused"
8102
+ },
7895
8103
  "example": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n});",
7896
8104
  "see": "https://docs.aws.amazon.com/athena/latest/ug/data-types.html",
7897
8105
  "stability": "experimental"
@@ -8294,6 +8502,9 @@
8294
8502
  "assembly": "@aws-cdk/aws-glue-alpha",
8295
8503
  "base": "aws-cdk-lib.Resource",
8296
8504
  "docs": {
8505
+ "custom": {
8506
+ "exampleMetadata": "infused"
8507
+ },
8297
8508
  "example": "new glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});",
8298
8509
  "remarks": "The following scenarios show some of the ways that you can use a security configuration.\n- Attach a security configuration to an AWS Glue crawler to write encrypted Amazon CloudWatch Logs.\n- Attach a security configuration to an extract, transform, and load (ETL) job to write encrypted Amazon Simple Storage Service (Amazon S3) targets and encrypted CloudWatch Logs.\n- Attach a security configuration to an ETL job to write its jobs bookmarks as encrypted Amazon S3 data.\n- Attach a security configuration to a development endpoint to write encrypted Amazon S3 targets.",
8299
8510
  "stability": "experimental",
@@ -8461,6 +8672,9 @@
8461
8672
  "assembly": "@aws-cdk/aws-glue-alpha",
8462
8673
  "datatype": true,
8463
8674
  "docs": {
8675
+ "custom": {
8676
+ "exampleMetadata": "infused"
8677
+ },
8464
8678
  "example": "new glue.SecurityConfiguration(this, 'MySecurityConfiguration', {\n securityConfigurationName: 'name',\n cloudWatchEncryption: {\n mode: glue.CloudWatchEncryptionMode.KMS,\n },\n jobBookmarksEncryption: {\n mode: glue.JobBookmarksEncryptionMode.CLIENT_SIDE_KMS,\n },\n s3Encryption: {\n mode: glue.S3EncryptionMode.KMS,\n },\n});",
8465
8679
  "stability": "experimental",
8466
8680
  "summary": "Constructions properties of {@link SecurityConfiguration}."
@@ -8552,7 +8766,7 @@
8552
8766
  "see": "https://cwiki.apache.org/confluence/display/Hive/SerDe",
8553
8767
  "stability": "experimental",
8554
8768
  "summary": "Serialization library to use when serializing/deserializing (SerDe) table records.",
8555
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n\nconst serializationLibrary = glue_alpha.SerializationLibrary.AVRO;",
8769
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nconst serializationLibrary = glue_alpha.SerializationLibrary.AVRO;",
8556
8770
  "custom": {
8557
8771
  "exampleMetadata": "fixture=_generated"
8558
8772
  }
@@ -8599,20 +8813,6 @@
8599
8813
  "fqn": "@aws-cdk/aws-glue-alpha.SerializationLibrary"
8600
8814
  }
8601
8815
  },
8602
- {
8603
- "docs": {
8604
- "stability": "experimental"
8605
- },
8606
- "immutable": true,
8607
- "locationInModule": {
8608
- "filename": "lib/data-format.ts",
8609
- "line": 137
8610
- },
8611
- "name": "className",
8612
- "type": {
8613
- "primitive": "string"
8614
- }
8615
- },
8616
8816
  {
8617
8817
  "const": true,
8618
8818
  "docs": {
@@ -8765,6 +8965,20 @@
8765
8965
  "type": {
8766
8966
  "fqn": "@aws-cdk/aws-glue-alpha.SerializationLibrary"
8767
8967
  }
8968
+ },
8969
+ {
8970
+ "docs": {
8971
+ "stability": "experimental"
8972
+ },
8973
+ "immutable": true,
8974
+ "locationInModule": {
8975
+ "filename": "lib/data-format.ts",
8976
+ "line": 137
8977
+ },
8978
+ "name": "className",
8979
+ "type": {
8980
+ "primitive": "string"
8981
+ }
8768
8982
  }
8769
8983
  ],
8770
8984
  "symbolId": "lib/data-format:SerializationLibrary"
@@ -8776,7 +8990,7 @@
8776
8990
  "see": "https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html",
8777
8991
  "stability": "experimental",
8778
8992
  "summary": "The Spark UI logging location.",
8779
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\n\nconst sparkUILoggingLocation: glue_alpha.SparkUILoggingLocation = {\n bucket: bucket,\n\n // the properties below are optional\n prefix: 'prefix',\n};",
8993
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\nconst sparkUILoggingLocation: glue_alpha.SparkUILoggingLocation = {\n bucket: bucket,\n\n // the properties below are optional\n prefix: 'prefix',\n};",
8780
8994
  "custom": {
8781
8995
  "exampleMetadata": "fixture=_generated"
8782
8996
  }
@@ -8833,7 +9047,7 @@
8833
9047
  "see": "https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-glue-arguments.html",
8834
9048
  "stability": "experimental",
8835
9049
  "summary": "Properties for enabling Spark UI monitoring feature for Spark-based Glue jobs.",
8836
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\n\nconst sparkUIProps: glue_alpha.SparkUIProps = {\n enabled: false,\n\n // the properties below are optional\n bucket: bucket,\n prefix: 'prefix',\n};",
9050
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nimport { aws_s3 as s3 } from 'aws-cdk-lib';\n\ndeclare const bucket: s3.Bucket;\nconst sparkUIProps: glue_alpha.SparkUIProps = {\n enabled: false,\n\n // the properties below are optional\n bucket: bucket,\n prefix: 'prefix',\n};",
8837
9051
  "custom": {
8838
9052
  "exampleMetadata": "fixture=_generated"
8839
9053
  }
@@ -8849,35 +9063,35 @@
8849
9063
  {
8850
9064
  "abstract": true,
8851
9065
  "docs": {
8852
- "default": "a new bucket will be created.",
8853
9066
  "stability": "experimental",
8854
- "summary": "The bucket where the Glue job stores the logs."
9067
+ "summary": "Enable Spark UI."
8855
9068
  },
8856
9069
  "immutable": true,
8857
9070
  "locationInModule": {
8858
9071
  "filename": "lib/job.ts",
8859
- "line": 348
9072
+ "line": 341
8860
9073
  },
8861
- "name": "bucket",
8862
- "optional": true,
9074
+ "name": "enabled",
8863
9075
  "type": {
8864
- "fqn": "aws-cdk-lib.aws_s3.IBucket"
9076
+ "primitive": "boolean"
8865
9077
  }
8866
9078
  },
8867
9079
  {
8868
9080
  "abstract": true,
8869
9081
  "docs": {
9082
+ "default": "a new bucket will be created.",
8870
9083
  "stability": "experimental",
8871
- "summary": "Enable Spark UI."
9084
+ "summary": "The bucket where the Glue job stores the logs."
8872
9085
  },
8873
9086
  "immutable": true,
8874
9087
  "locationInModule": {
8875
9088
  "filename": "lib/job.ts",
8876
- "line": 341
9089
+ "line": 348
8877
9090
  },
8878
- "name": "enabled",
9091
+ "name": "bucket",
9092
+ "optional": true,
8879
9093
  "type": {
8880
- "primitive": "boolean"
9094
+ "fqn": "aws-cdk-lib.aws_s3.IBucket"
8881
9095
  }
8882
9096
  },
8883
9097
  {
@@ -8905,6 +9119,9 @@
8905
9119
  "assembly": "@aws-cdk/aws-glue-alpha",
8906
9120
  "base": "aws-cdk-lib.Resource",
8907
9121
  "docs": {
9122
+ "custom": {
9123
+ "exampleMetadata": "infused"
9124
+ },
8908
9125
  "example": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n});",
8909
9126
  "stability": "experimental",
8910
9127
  "summary": "A Glue table."
@@ -8916,7 +9133,7 @@
8916
9133
  },
8917
9134
  "locationInModule": {
8918
9135
  "filename": "lib/table.ts",
8919
- "line": 233
9136
+ "line": 274
8920
9137
  },
8921
9138
  "parameters": [
8922
9139
  {
@@ -8945,7 +9162,7 @@
8945
9162
  "kind": "class",
8946
9163
  "locationInModule": {
8947
9164
  "filename": "lib/table.ts",
8948
- "line": 151
9165
+ "line": 180
8949
9166
  },
8950
9167
  "methods": [
8951
9168
  {
@@ -8954,7 +9171,7 @@
8954
9171
  },
8955
9172
  "locationInModule": {
8956
9173
  "filename": "lib/table.ts",
8957
- "line": 153
9174
+ "line": 182
8958
9175
  },
8959
9176
  "name": "fromTableArn",
8960
9177
  "parameters": [
@@ -8991,7 +9208,7 @@
8991
9208
  },
8992
9209
  "locationInModule": {
8993
9210
  "filename": "lib/table.ts",
8994
- "line": 169
9211
+ "line": 198
8995
9212
  },
8996
9213
  "name": "fromTableAttributes",
8997
9214
  "parameters": [
@@ -9030,6 +9247,62 @@
9030
9247
  },
9031
9248
  "static": true
9032
9249
  },
9250
+ {
9251
+ "docs": {
9252
+ "remarks": "You can have a maximum of 3 partition\nindexes to a table. Partition index keys must be a subset of the table's\npartition keys.",
9253
+ "see": "https://docs.aws.amazon.com/glue/latest/dg/partition-indexes.html",
9254
+ "stability": "experimental",
9255
+ "summary": "Add a partition index to the table."
9256
+ },
9257
+ "locationInModule": {
9258
+ "filename": "lib/table.ts",
9259
+ "line": 346
9260
+ },
9261
+ "name": "addPartitionIndex",
9262
+ "parameters": [
9263
+ {
9264
+ "name": "index",
9265
+ "type": {
9266
+ "fqn": "@aws-cdk/aws-glue-alpha.PartitionIndex"
9267
+ }
9268
+ }
9269
+ ]
9270
+ },
9271
+ {
9272
+ "docs": {
9273
+ "stability": "experimental",
9274
+ "summary": "Grant the given identity custom permissions."
9275
+ },
9276
+ "locationInModule": {
9277
+ "filename": "lib/table.ts",
9278
+ "line": 443
9279
+ },
9280
+ "name": "grant",
9281
+ "parameters": [
9282
+ {
9283
+ "name": "grantee",
9284
+ "type": {
9285
+ "fqn": "aws-cdk-lib.aws_iam.IGrantable"
9286
+ }
9287
+ },
9288
+ {
9289
+ "name": "actions",
9290
+ "type": {
9291
+ "collection": {
9292
+ "elementtype": {
9293
+ "primitive": "string"
9294
+ },
9295
+ "kind": "array"
9296
+ }
9297
+ }
9298
+ }
9299
+ ],
9300
+ "returns": {
9301
+ "type": {
9302
+ "fqn": "aws-cdk-lib.aws_iam.Grant"
9303
+ }
9304
+ }
9305
+ },
9033
9306
  {
9034
9307
  "docs": {
9035
9308
  "stability": "experimental",
@@ -9037,7 +9310,7 @@
9037
9310
  },
9038
9311
  "locationInModule": {
9039
9312
  "filename": "lib/table.ts",
9040
- "line": 297
9313
+ "line": 409
9041
9314
  },
9042
9315
  "name": "grantRead",
9043
9316
  "parameters": [
@@ -9064,7 +9337,7 @@
9064
9337
  },
9065
9338
  "locationInModule": {
9066
9339
  "filename": "lib/table.ts",
9067
- "line": 321
9340
+ "line": 433
9068
9341
  },
9069
9342
  "name": "grantReadWrite",
9070
9343
  "parameters": [
@@ -9084,6 +9357,42 @@
9084
9357
  }
9085
9358
  }
9086
9359
  },
9360
+ {
9361
+ "docs": {
9362
+ "remarks": "Permissions will be granted to the catalog, the database, and the table.",
9363
+ "stability": "experimental",
9364
+ "summary": "Grant the given identity custom permissions to ALL underlying resources of the table."
9365
+ },
9366
+ "locationInModule": {
9367
+ "filename": "lib/table.ts",
9368
+ "line": 455
9369
+ },
9370
+ "name": "grantToUnderlyingResources",
9371
+ "parameters": [
9372
+ {
9373
+ "name": "grantee",
9374
+ "type": {
9375
+ "fqn": "aws-cdk-lib.aws_iam.IGrantable"
9376
+ }
9377
+ },
9378
+ {
9379
+ "name": "actions",
9380
+ "type": {
9381
+ "collection": {
9382
+ "elementtype": {
9383
+ "primitive": "string"
9384
+ },
9385
+ "kind": "array"
9386
+ }
9387
+ }
9388
+ }
9389
+ ],
9390
+ "returns": {
9391
+ "type": {
9392
+ "fqn": "aws-cdk-lib.aws_iam.Grant"
9393
+ }
9394
+ }
9395
+ },
9087
9396
  {
9088
9397
  "docs": {
9089
9398
  "stability": "experimental",
@@ -9091,7 +9400,7 @@
9091
9400
  },
9092
9401
  "locationInModule": {
9093
9402
  "filename": "lib/table.ts",
9094
- "line": 309
9403
+ "line": 421
9095
9404
  },
9096
9405
  "name": "grantWrite",
9097
9406
  "parameters": [
@@ -9122,7 +9431,7 @@
9122
9431
  "immutable": true,
9123
9432
  "locationInModule": {
9124
9433
  "filename": "lib/table.ts",
9125
- "line": 201
9434
+ "line": 230
9126
9435
  },
9127
9436
  "name": "bucket",
9128
9437
  "type": {
@@ -9137,7 +9446,7 @@
9137
9446
  "immutable": true,
9138
9447
  "locationInModule": {
9139
9448
  "filename": "lib/table.ts",
9140
- "line": 226
9449
+ "line": 255
9141
9450
  },
9142
9451
  "name": "columns",
9143
9452
  "type": {
@@ -9157,7 +9466,7 @@
9157
9466
  "immutable": true,
9158
9467
  "locationInModule": {
9159
9468
  "filename": "lib/table.ts",
9160
- "line": 186
9469
+ "line": 215
9161
9470
  },
9162
9471
  "name": "compressed",
9163
9472
  "type": {
@@ -9172,7 +9481,7 @@
9172
9481
  "immutable": true,
9173
9482
  "locationInModule": {
9174
9483
  "filename": "lib/table.ts",
9175
- "line": 181
9484
+ "line": 210
9176
9485
  },
9177
9486
  "name": "database",
9178
9487
  "type": {
@@ -9187,7 +9496,7 @@
9187
9496
  "immutable": true,
9188
9497
  "locationInModule": {
9189
9498
  "filename": "lib/table.ts",
9190
- "line": 221
9499
+ "line": 250
9191
9500
  },
9192
9501
  "name": "dataFormat",
9193
9502
  "type": {
@@ -9202,7 +9511,7 @@
9202
9511
  "immutable": true,
9203
9512
  "locationInModule": {
9204
9513
  "filename": "lib/table.ts",
9205
- "line": 191
9514
+ "line": 220
9206
9515
  },
9207
9516
  "name": "encryption",
9208
9517
  "type": {
@@ -9217,7 +9526,7 @@
9217
9526
  "immutable": true,
9218
9527
  "locationInModule": {
9219
9528
  "filename": "lib/table.ts",
9220
- "line": 206
9529
+ "line": 235
9221
9530
  },
9222
9531
  "name": "s3Prefix",
9223
9532
  "type": {
@@ -9232,7 +9541,7 @@
9232
9541
  "immutable": true,
9233
9542
  "locationInModule": {
9234
9543
  "filename": "lib/table.ts",
9235
- "line": 216
9544
+ "line": 245
9236
9545
  },
9237
9546
  "name": "tableArn",
9238
9547
  "overrides": "@aws-cdk/aws-glue-alpha.ITable",
@@ -9248,7 +9557,7 @@
9248
9557
  "immutable": true,
9249
9558
  "locationInModule": {
9250
9559
  "filename": "lib/table.ts",
9251
- "line": 211
9560
+ "line": 240
9252
9561
  },
9253
9562
  "name": "tableName",
9254
9563
  "overrides": "@aws-cdk/aws-glue-alpha.ITable",
@@ -9265,7 +9574,7 @@
9265
9574
  "immutable": true,
9266
9575
  "locationInModule": {
9267
9576
  "filename": "lib/table.ts",
9268
- "line": 196
9577
+ "line": 225
9269
9578
  },
9270
9579
  "name": "encryptionKey",
9271
9580
  "optional": true,
@@ -9273,6 +9582,27 @@
9273
9582
  "fqn": "aws-cdk-lib.aws_kms.IKey"
9274
9583
  }
9275
9584
  },
9585
+ {
9586
+ "docs": {
9587
+ "stability": "experimental",
9588
+ "summary": "This table's partition indexes."
9589
+ },
9590
+ "immutable": true,
9591
+ "locationInModule": {
9592
+ "filename": "lib/table.ts",
9593
+ "line": 265
9594
+ },
9595
+ "name": "partitionIndexes",
9596
+ "optional": true,
9597
+ "type": {
9598
+ "collection": {
9599
+ "elementtype": {
9600
+ "fqn": "@aws-cdk/aws-glue-alpha.PartitionIndex"
9601
+ },
9602
+ "kind": "array"
9603
+ }
9604
+ }
9605
+ },
9276
9606
  {
9277
9607
  "docs": {
9278
9608
  "stability": "experimental",
@@ -9281,7 +9611,7 @@
9281
9611
  "immutable": true,
9282
9612
  "locationInModule": {
9283
9613
  "filename": "lib/table.ts",
9284
- "line": 231
9614
+ "line": 260
9285
9615
  },
9286
9616
  "name": "partitionKeys",
9287
9617
  "optional": true,
@@ -9302,7 +9632,7 @@
9302
9632
  "datatype": true,
9303
9633
  "docs": {
9304
9634
  "stability": "experimental",
9305
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n\nconst tableAttributes: glue_alpha.TableAttributes = {\n tableArn: 'tableArn',\n tableName: 'tableName',\n};",
9635
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nconst tableAttributes: glue_alpha.TableAttributes = {\n tableArn: 'tableArn',\n tableName: 'tableName',\n};",
9306
9636
  "custom": {
9307
9637
  "exampleMetadata": "fixture=_generated"
9308
9638
  }
@@ -9311,7 +9641,7 @@
9311
9641
  "kind": "interface",
9312
9642
  "locationInModule": {
9313
9643
  "filename": "lib/table.ts",
9314
- "line": 58
9644
+ "line": 78
9315
9645
  },
9316
9646
  "name": "TableAttributes",
9317
9647
  "properties": [
@@ -9323,7 +9653,7 @@
9323
9653
  "immutable": true,
9324
9654
  "locationInModule": {
9325
9655
  "filename": "lib/table.ts",
9326
- "line": 59
9656
+ "line": 79
9327
9657
  },
9328
9658
  "name": "tableArn",
9329
9659
  "type": {
@@ -9338,7 +9668,7 @@
9338
9668
  "immutable": true,
9339
9669
  "locationInModule": {
9340
9670
  "filename": "lib/table.ts",
9341
- "line": 60
9671
+ "line": 80
9342
9672
  },
9343
9673
  "name": "tableName",
9344
9674
  "type": {
@@ -9351,6 +9681,9 @@
9351
9681
  "@aws-cdk/aws-glue-alpha.TableEncryption": {
9352
9682
  "assembly": "@aws-cdk/aws-glue-alpha",
9353
9683
  "docs": {
9684
+ "custom": {
9685
+ "exampleMetadata": "infused"
9686
+ },
9354
9687
  "example": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n encryption: glue.TableEncryption.S3_MANAGED,\n // ...\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n dataFormat: glue.DataFormat.JSON,\n});",
9355
9688
  "see": "https://docs.aws.amazon.com/athena/latest/ug/encryption.html",
9356
9689
  "stability": "experimental",
@@ -9360,7 +9693,7 @@
9360
9693
  "kind": "enum",
9361
9694
  "locationInModule": {
9362
9695
  "filename": "lib/table.ts",
9363
- "line": 28
9696
+ "line": 48
9364
9697
  },
9365
9698
  "members": [
9366
9699
  {
@@ -9408,6 +9741,9 @@
9408
9741
  "assembly": "@aws-cdk/aws-glue-alpha",
9409
9742
  "datatype": true,
9410
9743
  "docs": {
9744
+ "custom": {
9745
+ "exampleMetadata": "infused"
9746
+ },
9411
9747
  "example": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n});",
9412
9748
  "stability": "experimental"
9413
9749
  },
@@ -9415,7 +9751,7 @@
9415
9751
  "kind": "interface",
9416
9752
  "locationInModule": {
9417
9753
  "filename": "lib/table.ts",
9418
- "line": 63
9754
+ "line": 83
9419
9755
  },
9420
9756
  "name": "TableProps",
9421
9757
  "properties": [
@@ -9428,7 +9764,7 @@
9428
9764
  "immutable": true,
9429
9765
  "locationInModule": {
9430
9766
  "filename": "lib/table.ts",
9431
- "line": 98
9767
+ "line": 118
9432
9768
  },
9433
9769
  "name": "columns",
9434
9770
  "type": {
@@ -9449,7 +9785,7 @@
9449
9785
  "immutable": true,
9450
9786
  "locationInModule": {
9451
9787
  "filename": "lib/table.ts",
9452
- "line": 79
9788
+ "line": 99
9453
9789
  },
9454
9790
  "name": "database",
9455
9791
  "type": {
@@ -9465,7 +9801,7 @@
9465
9801
  "immutable": true,
9466
9802
  "locationInModule": {
9467
9803
  "filename": "lib/table.ts",
9468
- "line": 110
9804
+ "line": 139
9469
9805
  },
9470
9806
  "name": "dataFormat",
9471
9807
  "type": {
@@ -9481,7 +9817,7 @@
9481
9817
  "immutable": true,
9482
9818
  "locationInModule": {
9483
9819
  "filename": "lib/table.ts",
9484
- "line": 67
9820
+ "line": 87
9485
9821
  },
9486
9822
  "name": "tableName",
9487
9823
  "type": {
@@ -9498,7 +9834,7 @@
9498
9834
  "immutable": true,
9499
9835
  "locationInModule": {
9500
9836
  "filename": "lib/table.ts",
9501
- "line": 86
9837
+ "line": 106
9502
9838
  },
9503
9839
  "name": "bucket",
9504
9840
  "optional": true,
@@ -9516,7 +9852,7 @@
9516
9852
  "immutable": true,
9517
9853
  "locationInModule": {
9518
9854
  "filename": "lib/table.ts",
9519
- "line": 117
9855
+ "line": 146
9520
9856
  },
9521
9857
  "name": "compressed",
9522
9858
  "optional": true,
@@ -9534,7 +9870,7 @@
9534
9870
  "immutable": true,
9535
9871
  "locationInModule": {
9536
9872
  "filename": "lib/table.ts",
9537
- "line": 74
9873
+ "line": 94
9538
9874
  },
9539
9875
  "name": "description",
9540
9876
  "optional": true,
@@ -9553,7 +9889,7 @@
9553
9889
  "immutable": true,
9554
9890
  "locationInModule": {
9555
9891
  "filename": "lib/table.ts",
9556
- "line": 129
9892
+ "line": 158
9557
9893
  },
9558
9894
  "name": "encryption",
9559
9895
  "optional": true,
@@ -9572,7 +9908,7 @@
9572
9908
  "immutable": true,
9573
9909
  "locationInModule": {
9574
9910
  "filename": "lib/table.ts",
9575
- "line": 138
9911
+ "line": 167
9576
9912
  },
9577
9913
  "name": "encryptionKey",
9578
9914
  "optional": true,
@@ -9580,6 +9916,30 @@
9580
9916
  "fqn": "aws-cdk-lib.aws_kms.IKey"
9581
9917
  }
9582
9918
  },
9919
+ {
9920
+ "abstract": true,
9921
+ "docs": {
9922
+ "default": "table has no partition indexes",
9923
+ "remarks": "A maximum of 3 indexes\nare allowed on a table. Keys in the index must be part\nof the table's partition keys.",
9924
+ "stability": "experimental",
9925
+ "summary": "Partition indexes on the table."
9926
+ },
9927
+ "immutable": true,
9928
+ "locationInModule": {
9929
+ "filename": "lib/table.ts",
9930
+ "line": 134
9931
+ },
9932
+ "name": "partitionIndexes",
9933
+ "optional": true,
9934
+ "type": {
9935
+ "collection": {
9936
+ "elementtype": {
9937
+ "fqn": "@aws-cdk/aws-glue-alpha.PartitionIndex"
9938
+ },
9939
+ "kind": "array"
9940
+ }
9941
+ }
9942
+ },
9583
9943
  {
9584
9944
  "abstract": true,
9585
9945
  "docs": {
@@ -9590,7 +9950,7 @@
9590
9950
  "immutable": true,
9591
9951
  "locationInModule": {
9592
9952
  "filename": "lib/table.ts",
9593
- "line": 105
9953
+ "line": 125
9594
9954
  },
9595
9955
  "name": "partitionKeys",
9596
9956
  "optional": true,
@@ -9613,7 +9973,7 @@
9613
9973
  "immutable": true,
9614
9974
  "locationInModule": {
9615
9975
  "filename": "lib/table.ts",
9616
- "line": 93
9976
+ "line": 113
9617
9977
  },
9618
9978
  "name": "s3Prefix",
9619
9979
  "optional": true,
@@ -9631,7 +9991,7 @@
9631
9991
  "immutable": true,
9632
9992
  "locationInModule": {
9633
9993
  "filename": "lib/table.ts",
9634
- "line": 145
9994
+ "line": 174
9635
9995
  },
9636
9996
  "name": "storedAsSubDirectories",
9637
9997
  "optional": true,
@@ -9646,6 +10006,9 @@
9646
10006
  "assembly": "@aws-cdk/aws-glue-alpha",
9647
10007
  "datatype": true,
9648
10008
  "docs": {
10009
+ "custom": {
10010
+ "exampleMetadata": "infused"
10011
+ },
9649
10012
  "example": "declare const myDatabase: glue.Database;\nnew glue.Table(this, 'MyTable', {\n database: myDatabase,\n tableName: 'my_table',\n columns: [{\n name: 'col1',\n type: glue.Schema.STRING,\n }],\n partitionKeys: [{\n name: 'year',\n type: glue.Schema.SMALL_INT,\n }, {\n name: 'month',\n type: glue.Schema.SMALL_INT,\n }],\n dataFormat: glue.DataFormat.JSON,\n});",
9650
10013
  "stability": "experimental",
9651
10014
  "summary": "Represents a type of a column in a table schema."
@@ -9699,7 +10062,7 @@
9699
10062
  "remarks": "If you need to use a WorkerType that doesn't exist as a static member, you\ncan instantiate a `WorkerType` object, e.g: `WorkerType.of('other type')`.",
9700
10063
  "stability": "experimental",
9701
10064
  "summary": "The type of predefined worker that is allocated when a job runs.",
9702
- "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\n\nconst workerType = glue_alpha.WorkerType.G_1X;",
10065
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as glue_alpha from '@aws-cdk/aws-glue-alpha';\nconst workerType = glue_alpha.WorkerType.G_1X;",
9703
10066
  "custom": {
9704
10067
  "exampleMetadata": "fixture=_generated"
9705
10068
  }
@@ -9779,41 +10142,41 @@
9779
10142
  }
9780
10143
  },
9781
10144
  {
10145
+ "const": true,
9782
10146
  "docs": {
9783
10147
  "stability": "experimental",
9784
- "summary": "The name of this WorkerType, as expected by Job resource."
10148
+ "summary": "Each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker."
9785
10149
  },
9786
10150
  "immutable": true,
9787
10151
  "locationInModule": {
9788
10152
  "filename": "lib/job.ts",
9789
- "line": 46
10153
+ "line": 23
9790
10154
  },
9791
- "name": "name",
10155
+ "name": "STANDARD",
10156
+ "static": true,
9792
10157
  "type": {
9793
- "primitive": "string"
10158
+ "fqn": "@aws-cdk/aws-glue-alpha.WorkerType"
9794
10159
  }
9795
10160
  },
9796
10161
  {
9797
- "const": true,
9798
10162
  "docs": {
9799
10163
  "stability": "experimental",
9800
- "summary": "Each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker."
10164
+ "summary": "The name of this WorkerType, as expected by Job resource."
9801
10165
  },
9802
10166
  "immutable": true,
9803
10167
  "locationInModule": {
9804
10168
  "filename": "lib/job.ts",
9805
- "line": 23
10169
+ "line": 46
9806
10170
  },
9807
- "name": "STANDARD",
9808
- "static": true,
10171
+ "name": "name",
9809
10172
  "type": {
9810
- "fqn": "@aws-cdk/aws-glue-alpha.WorkerType"
10173
+ "primitive": "string"
9811
10174
  }
9812
10175
  }
9813
10176
  ],
9814
10177
  "symbolId": "lib/job:WorkerType"
9815
10178
  }
9816
10179
  },
9817
- "version": "2.1.0-alpha.0",
10180
+ "version": "2.5.0-alpha.0",
9818
10181
  "fingerprint": "**********"
9819
10182
  }