CodeConfig

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

Bases: object

Result of binding Code into a Function.

Parameters:
  • inline_code (Optional[str]) – Inline code (mutually exclusive with s3Location). Default: - code is not inline code

  • s3_location (Optional[str]) – The location of the code in S3 (mutually exclusive with inlineCode. Default: - code is not an s3 location

ExampleMetadata:

fixture=_generated

Example:

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

code_config = appsync.CodeConfig(
    inline_code="inlineCode",
    s3_location="s3Location"
)

Attributes

inline_code

Inline code (mutually exclusive with s3Location).

Default:
  • code is not inline code

s3_location

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

Default:
  • code is not an s3 location