ApiDefinitionS3Location

class aws_cdk.aws_apigateway.ApiDefinitionS3Location(*, bucket, key, version=None)

Bases: object

__init__(*, bucket, key, version=None)

S3 location of the API definition file.

Parameters
  • bucket (str) – The S3 bucket.

  • key (str) – The S3 key.

  • version (Optional[str]) – An optional version. Default: - latest version

stability :stability: experimental

Return type

None

Attributes

bucket

The S3 bucket.

stability :stability: experimental

Return type

str

key

The S3 key.

stability :stability: experimental

Return type

str

version

An optional version.

default :default: - latest version

stability :stability: experimental

Return type

Optional[str]