CodeConfig

class aws_cdk.aws_glue.CodeConfig(*, s3_location)

Bases: object

Result of binding Code into a Job.

Parameters:

s3_location (Union[Location, Dict[str, Any]]) – The location of the code in S3.

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk.aws_s3 import Location
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue

code_config = glue.CodeConfig(
    s3_location=Location(
        bucket_name="bucketName",
        object_key="objectKey",

        # the properties below are optional
        object_version="objectVersion"
    )
)

Attributes

s3_location

The location of the code in S3.