interface CodeConfig
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Glue.CodeConfig |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsglue#CodeConfig |
Java | software.amazon.awscdk.services.glue.CodeConfig |
Python | aws_cdk.aws_glue.CodeConfig |
TypeScript (source) | aws-cdk-lib » aws_glue » CodeConfig |
Obtainable from
Asset.bind(), Code.bind(), S3.bind()
Result of binding Code into a Job.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const codeConfig: glue.CodeConfig = {
s3Location: {
bucketName: 'bucketName',
objectKey: 'objectKey',
// the properties below are optional
objectVersion: 'objectVersion',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| s3 | Location | The location of the code in S3. |
s3Location
Type:
Location
The location of the code in S3.

.NET
Go
Java
Python
TypeScript (