Class GoFunction
(experimental) A Golang Lambda function.
Implements
Constructs.IConstruct
Inherited Members
Namespace: Amazon.CDK.AWS.Lambda.Go
Assembly: Amazon.CDK.AWS.Lambda.Go.dll
Syntax (csharp)
public class GoFunction : Function, IFunction, IResource, IConstruct, IDependable, IConnectable, IGrantable, IClientVpnConnectionHandler
Syntax (vb)
Public Class GoFunction
Inherits
Function Implements IFunction, IResource, IConstruct, IDependable, IConnectable, IGrantable, IClientVpnConnectionHandler
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
new GoFunction(this, "handler", new GoFunctionProps {
Entry = "app/cmd/api",
Bundling = new BundlingOptions {
DockerImage = DockerImage.FromBuild("/path/to/Dockerfile")
}
});
Synopsis
Constructors
GoFunction(Construct, String, IGoFunctionProps) | |
GoFunction(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
GoFunction(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
GOOGLE_GOPROXY | (experimental) The address of the Google Go proxy. |
Constructors
GoFunction(Construct, String, IGoFunctionProps)
public GoFunction(Construct scope, string id, IGoFunctionProps props)
Parameters
- scope Construct
- id System.String
- props IGoFunctionProps
Remarks
Stability: Experimental
GoFunction(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected GoFunction(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
GoFunction(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected GoFunction(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
GOOGLE_GOPROXY
(experimental) The address of the Google Go proxy.
public static string GOOGLE_GOPROXY { get; }
Property Value
System.String
Remarks
Stability: Experimental
Implements
Constructs.IConstruct