class S3Code
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Glue.S3Code |
![]() | software.amazon.awscdk.services.glue.S3Code |
![]() | aws_cdk.aws_glue.S3Code |
![]() | @aws-cdk/aws-glue » 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 from '@aws-cdk/aws-glue';
import * as s3 from '@aws-cdk/aws-s3';
declare const bucket: s3.Bucket;
const s3Code = new glue.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.