@Stability(value=Experimental) @Internal public static final class GoFunctionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GoFunctionProps
GoFunctionPropssoftware.amazon.jsii.JsiiObject.InitializationModeGoFunctionProps.Builder, GoFunctionProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String entry,
BundlingOptions bundling,
String moduleDir,
Runtime runtime,
Boolean allowAllOutbound,
Boolean allowPublicSubnet,
ICodeSigningConfig codeSigningConfig,
VersionOptions currentVersionOptions,
software.amazon.awscdk.services.sqs.IQueue deadLetterQueue,
Boolean deadLetterQueueEnabled,
String description,
Map<String,String> environment,
software.amazon.awscdk.services.kms.IKey environmentEncryption,
List<? extends IEventSource> events,
FileSystem filesystem,
String functionName,
List<? extends software.amazon.awscdk.services.iam.PolicyStatement> initialPolicy,
List<? extends ILayerVersion> layers,
software.amazon.awscdk.services.logs.RetentionDays logRetention,
LogRetentionRetryOptions logRetentionRetryOptions,
software.amazon.awscdk.services.iam.IRole logRetentionRole,
Number memorySize,
Boolean profiling,
software.amazon.awscdk.services.codeguruprofiler.IProfilingGroup profilingGroup,
Number reservedConcurrentExecutions,
software.amazon.awscdk.services.iam.IRole role,
software.amazon.awscdk.services.ec2.ISecurityGroup securityGroup,
List<? extends software.amazon.awscdk.services.ec2.ISecurityGroup> securityGroups,
Duration timeout,
Tracing tracing,
software.amazon.awscdk.services.ec2.IVpc vpc,
software.amazon.awscdk.services.ec2.SubnetSelection vpcSubnets,
Duration maxEventAge,
IDestination onFailure,
IDestination onSuccess,
Number retryAttempts)
Constructor that initializes the object based on literal property values passed by the
GoFunctionProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getAllowAllOutbound() |
Boolean |
getAllowPublicSubnet() |
BundlingOptions |
getBundling()
(experimental) Bundling options.
|
ICodeSigningConfig |
getCodeSigningConfig() |
VersionOptions |
getCurrentVersionOptions() |
software.amazon.awscdk.services.sqs.IQueue |
getDeadLetterQueue() |
Boolean |
getDeadLetterQueueEnabled() |
String |
getDescription() |
String |
getEntry()
(experimental) The path to the folder or file that contains the main application entry point files for the project.
|
Map<String,String> |
getEnvironment() |
software.amazon.awscdk.services.kms.IKey |
getEnvironmentEncryption() |
List<IEventSource> |
getEvents() |
FileSystem |
getFilesystem() |
String |
getFunctionName() |
List<software.amazon.awscdk.services.iam.PolicyStatement> |
getInitialPolicy() |
List<ILayerVersion> |
getLayers() |
software.amazon.awscdk.services.logs.RetentionDays |
getLogRetention() |
LogRetentionRetryOptions |
getLogRetentionRetryOptions() |
software.amazon.awscdk.services.iam.IRole |
getLogRetentionRole() |
Duration |
getMaxEventAge() |
Number |
getMemorySize() |
String |
getModuleDir()
(experimental) Directory containing your go.mod file.
|
IDestination |
getOnFailure() |
IDestination |
getOnSuccess() |
Boolean |
getProfiling() |
software.amazon.awscdk.services.codeguruprofiler.IProfilingGroup |
getProfilingGroup() |
Number |
getReservedConcurrentExecutions() |
Number |
getRetryAttempts() |
software.amazon.awscdk.services.iam.IRole |
getRole() |
Runtime |
getRuntime()
(experimental) The runtime environment.
|
software.amazon.awscdk.services.ec2.ISecurityGroup |
getSecurityGroup() |
List<software.amazon.awscdk.services.ec2.ISecurityGroup> |
getSecurityGroups() |
Duration |
getTimeout() |
Tracing |
getTracing() |
software.amazon.awscdk.services.ec2.IVpc |
getVpc() |
software.amazon.awscdk.services.ec2.SubnetSelection |
getVpcSubnets() |
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(String entry, BundlingOptions bundling, String moduleDir, Runtime runtime, Boolean allowAllOutbound, Boolean allowPublicSubnet, ICodeSigningConfig codeSigningConfig, VersionOptions currentVersionOptions, software.amazon.awscdk.services.sqs.IQueue deadLetterQueue, Boolean deadLetterQueueEnabled, String description, Map<String,String> environment, software.amazon.awscdk.services.kms.IKey environmentEncryption, List<? extends IEventSource> events, FileSystem filesystem, String functionName, List<? extends software.amazon.awscdk.services.iam.PolicyStatement> initialPolicy, List<? extends ILayerVersion> layers, software.amazon.awscdk.services.logs.RetentionDays logRetention, LogRetentionRetryOptions logRetentionRetryOptions, software.amazon.awscdk.services.iam.IRole logRetentionRole, Number memorySize, Boolean profiling, software.amazon.awscdk.services.codeguruprofiler.IProfilingGroup profilingGroup, Number reservedConcurrentExecutions, software.amazon.awscdk.services.iam.IRole role, software.amazon.awscdk.services.ec2.ISecurityGroup securityGroup, List<? extends software.amazon.awscdk.services.ec2.ISecurityGroup> securityGroups, Duration timeout, Tracing tracing, software.amazon.awscdk.services.ec2.IVpc vpc, software.amazon.awscdk.services.ec2.SubnetSelection vpcSubnets, Duration maxEventAge, IDestination onFailure, IDestination onSuccess, Number retryAttempts)
GoFunctionProps.Builder.public final String getEntry()
GoFunctionPropsThis accepts either a path to a directory or file.
If a directory path is provided then it will assume there is a Go entry file (i.e. main.go) and
will construct the build command using the directory path.
For example, if you provide the entry as:
entry: 'my-lambda-app/cmd/api'
Then the go build command would be:
`go build ./cmd/api`
If a path to a file is provided then it will use the filepath in the build command.
For example, if you provide the entry as:
entry: 'my-lambda-app/cmd/api/main.go'
Then the go build command would be:
`go build ./cmd/api/main.go`
getEntry in interface GoFunctionPropspublic final BundlingOptions getBundling()
GoFunctionPropsDefault: - use default bundling options
getBundling in interface GoFunctionPropspublic final String getModuleDir()
GoFunctionProps
This will accept either a directory path containing a go.mod file
or a filepath to your go.mod file (i.e. path/to/go.mod).
This will be used as the source of the volume mounted in the Docker
container and will be the directory where it will run go build from.
Default: - the path is found by walking up parent directories searching for a `go.mod` file from the location of `entry`
getModuleDir in interface GoFunctionPropspublic final Runtime getRuntime()
GoFunctionPropsOnly runtimes of the Golang family and provided family are supported.
Default: lambda.Runtime.PROVIDED_AL2
getRuntime in interface GoFunctionPropspublic final Boolean getAllowAllOutbound()
getAllowAllOutbound in interface FunctionOptionspublic final Boolean getAllowPublicSubnet()
getAllowPublicSubnet in interface FunctionOptionspublic final ICodeSigningConfig getCodeSigningConfig()
getCodeSigningConfig in interface FunctionOptionspublic final VersionOptions getCurrentVersionOptions()
getCurrentVersionOptions in interface FunctionOptionspublic final software.amazon.awscdk.services.sqs.IQueue getDeadLetterQueue()
getDeadLetterQueue in interface FunctionOptionspublic final Boolean getDeadLetterQueueEnabled()
getDeadLetterQueueEnabled in interface FunctionOptionspublic final String getDescription()
getDescription in interface FunctionOptionspublic final Map<String,String> getEnvironment()
getEnvironment in interface FunctionOptionspublic final software.amazon.awscdk.services.kms.IKey getEnvironmentEncryption()
getEnvironmentEncryption in interface FunctionOptionspublic final List<IEventSource> getEvents()
getEvents in interface FunctionOptionspublic final FileSystem getFilesystem()
getFilesystem in interface FunctionOptionspublic final String getFunctionName()
getFunctionName in interface FunctionOptionspublic final List<software.amazon.awscdk.services.iam.PolicyStatement> getInitialPolicy()
getInitialPolicy in interface FunctionOptionspublic final List<ILayerVersion> getLayers()
getLayers in interface FunctionOptionspublic final software.amazon.awscdk.services.logs.RetentionDays getLogRetention()
getLogRetention in interface FunctionOptionspublic final LogRetentionRetryOptions getLogRetentionRetryOptions()
getLogRetentionRetryOptions in interface FunctionOptionspublic final software.amazon.awscdk.services.iam.IRole getLogRetentionRole()
getLogRetentionRole in interface FunctionOptionspublic final Number getMemorySize()
getMemorySize in interface FunctionOptionspublic final Boolean getProfiling()
getProfiling in interface FunctionOptionspublic final software.amazon.awscdk.services.codeguruprofiler.IProfilingGroup getProfilingGroup()
getProfilingGroup in interface FunctionOptionspublic final Number getReservedConcurrentExecutions()
getReservedConcurrentExecutions in interface FunctionOptionspublic final software.amazon.awscdk.services.iam.IRole getRole()
getRole in interface FunctionOptionspublic final software.amazon.awscdk.services.ec2.ISecurityGroup getSecurityGroup()
getSecurityGroup in interface FunctionOptionspublic final List<software.amazon.awscdk.services.ec2.ISecurityGroup> getSecurityGroups()
getSecurityGroups in interface FunctionOptionspublic final Duration getTimeout()
getTimeout in interface FunctionOptionspublic final Tracing getTracing()
getTracing in interface FunctionOptionspublic final software.amazon.awscdk.services.ec2.IVpc getVpc()
getVpc in interface FunctionOptionspublic final software.amazon.awscdk.services.ec2.SubnetSelection getVpcSubnets()
getVpcSubnets in interface FunctionOptionspublic final Duration getMaxEventAge()
getMaxEventAge in interface EventInvokeConfigOptionspublic final IDestination getOnFailure()
getOnFailure in interface EventInvokeConfigOptionspublic final IDestination getOnSuccess()
getOnSuccess in interface EventInvokeConfigOptionspublic final Number getRetryAttempts()
getRetryAttempts in interface EventInvokeConfigOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.