class S3Code
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.Glue.Alpha.S3Code | 
  Go | github.com/aws/aws-cdk-go/awscdkgluealpha/v2#S3Code | 
  Java | software.amazon.awscdk.services.glue.alpha.S3Code | 
  Python | aws_cdk.aws_glue_alpha.S3Code | 
  TypeScript (source) | @aws-cdk/aws-glue-alpha » S3Code | 
Extends
Code
Glue job Code from an S3 bucket.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as glue_alpha from '@aws-cdk/aws-glue-alpha';
import { aws_s3 as s3 } from 'aws-cdk-lib';
declare const bucket: s3.Bucket;
const s3Code = new glue_alpha.S3Code(bucket, 'key');
Initializer
new S3Code(bucket: IBucket, key: string)
Parameters
- bucket 
IBucket - key 
string 
Methods
| Name | Description | 
|---|---|
| bind(_scope, grantable) | Called when the Job is initialized to allow this object to bind. | 
bind(_scope, grantable)
public bind(_scope: Construct, grantable: IGrantable): CodeConfig
Parameters
- _scope 
Construct - grantable 
IGrantable 
Returns
Called when the Job is initialized to allow this object to bind.

 .NET
 Go
 Java
 Python
 TypeScript (