RemoteFunction

@cdk-cosmos/coreGlobalsRemoteFunction

Hierarchy

  • RemoteFunction

Index

Constructors

Properties

Methods

Constructors

constructor

+ new RemoteFunction(fn: IFunction & Construct, exportName: string, scope: Construct): RemoteFunction

Defined in packages/@cdk-cosmos/core/src/components/remote.ts:338

Parameters:

NameTypeDefault
fnIFunction & Construct-
exportNamestring-
scopeConstructfn

Returns: RemoteFunction

Properties

Readonly functionArn

functionArn: string

Defined in packages/@cdk-cosmos/core/src/components/remote.ts:338

Methods

Static import

import(scope: Construct, id: string, exportName: string): IFunction

Defined in packages/@cdk-cosmos/core/src/components/remote.ts:347

Parameters:

NameType
scopeConstruct
idstring
exportNamestring

Returns: IFunction