CodeConfig

class aws_cdk.aws_lambda.CodeConfig(*, inline_code=None, s3_location=None)

Bases: object

__init__(*, inline_code=None, s3_location=None)
Parameters
  • inline_code (Optional[str]) – Inline code (mutually exclusive with s3Location).

  • s3_location (Optional[Location]) – The location of the code in S3 (mutually exclusive with inlineCode).

Attributes

inline_code

Inline code (mutually exclusive with s3Location).

Return type

Optional[str]

s3_location

The location of the code in S3 (mutually exclusive with inlineCode).

Return type

Optional[Location]