@aws-cdk_aws-glue-alpha.S3Code

class S3Code 🔹

LanguageType name
.NETAmazon.CDK.AWS.Glue.Alpha.S3Code
Gogithub.com/aws/aws-cdk-go/awscdkgluealpha/v2#S3Code
Javasoftware.amazon.awscdk.services.glue.alpha.S3Code
Pythonaws_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

NameDescription
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

  • CodeConfig

Called when the Job is initialized to allow this object to bind.