RemoteFunction
@cdk-cosmos/core › Globals › RemoteFunction
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:
| Name | Type | Default |
|---|---|---|
fn | IFunction & Construct | - |
exportName | string | - |
scope | Construct | fn |
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:
| Name | Type |
|---|---|
scope | Construct |
id | string |
exportName | string |
Returns: IFunction