Interface IDockerImageFunctionProps
Properties to configure a new DockerImageFunction construct.
Inherited Members
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.AWS.Lambda.dll
Syntax (csharp)
public interface IDockerImageFunctionProps : IFunctionOptions, IEventInvokeConfigOptions
Syntax (vb)
Public Interface IDockerImageFunctionProps
Inherits IFunctionOptions, IEventInvokeConfigOptions
Remarks
ExampleMetadata: infused
Examples
new DockerImageFunction(this, "AssetFunction", new DockerImageFunctionProps {
Code = DockerImageCode.FromImageAsset(Join(__dirname, "docker-handler"))
});
Synopsis
Properties
Code | The source code of your Lambda function. |
Properties
Code
The source code of your Lambda function.
DockerImageCode Code { get; }
Property Value
Remarks
You can point to a file in an Amazon Simple Storage Service (Amazon S3) bucket or specify your source code as inline text.