ApiDefinitionConfig

class aws_cdk.aws_apigateway.ApiDefinitionConfig(*, inline_definition=None, s3_location=None)

Bases: object

__init__(*, inline_definition=None, s3_location=None)

Post-Binding Configuration for a CDK construct.

Parameters
  • inline_definition (Optional[Any]) – Inline specification (mutually exclusive with s3Location). Default: - API definition is not defined inline

  • s3_location (Optional[ApiDefinitionS3Location]) – The location of the specification in S3 (mutually exclusive with inlineDefinition). Default: - API definition is not an S3 location

stability :stability: experimental

Return type

None

Attributes

inline_definition

Inline specification (mutually exclusive with s3Location).

default :default: - API definition is not defined inline

stability :stability: experimental

Return type

Any

s3_location

The location of the specification in S3 (mutually exclusive with inlineDefinition).

default :default: - API definition is not an S3 location

stability :stability: experimental

Return type

Optional[ApiDefinitionS3Location]