Show / Hide Table of Contents

Class AssetApiDefinition

(experimental) OpenAPI specification from a local file.

Synopsis

Constructors

constructor(path, options)

Constructs a new instance of the AssetApiDefinition class

Methods

bind(scope)

(experimental) Called when the specification is initialized to allow this object to bind to the stack, add resources and have fun.

Constructors

constructor(path, options)

Constructs a new instance of the AssetApiDefinition class

Declaration
constructor(path: string, options?: s3_assets.AssetOptions);
Parameters
path string
options s3_assets.AssetOptions

Methods

bind(scope)

(experimental) Called when the specification is initialized to allow this object to bind to the stack, add resources and have fun.

Declaration
bind(scope: Construct): ApiDefinitionConfig;
Parameters
scope Construct
Returns

ApiDefinitionConfig

Back to top Generated by DocFX