Class GoFunctionProps.Jsii$Proxy
- All Implemented Interfaces:
EventInvokeConfigOptions,FunctionOptions,GoFunctionProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
GoFunctionProps
GoFunctionProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.go.GoFunctionProps
GoFunctionProps.Builder, GoFunctionProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(GoFunctionProps.Builder builder) Constructor that initializes the object based on literal property values passed by theGoFunctionProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal Booleanfinal Booleanfinal Architecturefinal List<Architecture>final BundlingOptions(experimental) Bundling options.final ICodeSigningConfigfinal VersionOptionsfinal software.amazon.awscdk.services.sqs.IQueuefinal Booleanfinal software.amazon.awscdk.services.sns.ITopicfinal Stringfinal StringgetEntry()(experimental) The path to the folder or file that contains the main application entry point files for the project.final software.amazon.awscdk.services.kms.IKeyfinal Sizefinal List<IEventSource>final FileSystemfinal Stringfinal List<software.amazon.awscdk.services.iam.PolicyStatement>final LambdaInsightsVersionfinal List<ILayerVersion>final software.amazon.awscdk.services.logs.RetentionDaysfinal LogRetentionRetryOptionsfinal software.amazon.awscdk.services.iam.IRolefinal Durationfinal Numberfinal String(experimental) Directory containing your go.mod file.final IDestinationfinal IDestinationfinal Booleanfinal software.amazon.awscdk.services.codeguruprofiler.IProfilingGroupfinal Numberfinal Numberfinal software.amazon.awscdk.services.iam.IRolegetRole()final Runtime(experimental) The runtime environment.final software.amazon.awscdk.services.ec2.ISecurityGroupfinal List<software.amazon.awscdk.services.ec2.ISecurityGroup>final Durationfinal Tracingfinal software.amazon.awscdk.services.ec2.IVpcgetVpc()final software.amazon.awscdk.services.ec2.SubnetSelectionfinal inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theGoFunctionProps.Builder.
-
-
Method Details
-
getEntry
Description copied from interface:GoFunctionProps(experimental) The path to the folder or file that contains the main application entry point files for the project.This 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 buildcommand 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 buildcommand would be:`go build ./cmd/api/main.go`
- Specified by:
getEntryin interfaceGoFunctionProps
-
getBundling
Description copied from interface:GoFunctionProps(experimental) Bundling options.Default: - use default bundling options
- Specified by:
getBundlingin interfaceGoFunctionProps
-
getModuleDir
Description copied from interface:GoFunctionProps(experimental) Directory containing your go.mod file.This will accept either a directory path containing a
go.modfile or a filepath to yourgo.modfile (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 buildfrom.Default: - the path is found by walking up parent directories searching for a `go.mod` file from the location of `entry`
- Specified by:
getModuleDirin interfaceGoFunctionProps
-
getRuntime
Description copied from interface:GoFunctionProps(experimental) The runtime environment.Only runtimes of the Golang family and provided family are supported.
Default: lambda.Runtime.PROVIDED_AL2
- Specified by:
getRuntimein interfaceGoFunctionProps
-
getAllowAllOutbound
- Specified by:
getAllowAllOutboundin interfaceFunctionOptions
-
getAllowPublicSubnet
- Specified by:
getAllowPublicSubnetin interfaceFunctionOptions
-
getArchitecture
- Specified by:
getArchitecturein interfaceFunctionOptions
-
getArchitectures
- Specified by:
getArchitecturesin interfaceFunctionOptions
-
getCodeSigningConfig
- Specified by:
getCodeSigningConfigin interfaceFunctionOptions
-
getCurrentVersionOptions
- Specified by:
getCurrentVersionOptionsin interfaceFunctionOptions
-
getDeadLetterQueue
public final software.amazon.awscdk.services.sqs.IQueue getDeadLetterQueue()- Specified by:
getDeadLetterQueuein interfaceFunctionOptions
-
getDeadLetterQueueEnabled
- Specified by:
getDeadLetterQueueEnabledin interfaceFunctionOptions
-
getDeadLetterTopic
public final software.amazon.awscdk.services.sns.ITopic getDeadLetterTopic()- Specified by:
getDeadLetterTopicin interfaceFunctionOptions
-
getDescription
- Specified by:
getDescriptionin interfaceFunctionOptions
-
getEnvironment
- Specified by:
getEnvironmentin interfaceFunctionOptions
-
getEnvironmentEncryption
public final software.amazon.awscdk.services.kms.IKey getEnvironmentEncryption()- Specified by:
getEnvironmentEncryptionin interfaceFunctionOptions
-
getEphemeralStorageSize
- Specified by:
getEphemeralStorageSizein interfaceFunctionOptions
-
getEvents
- Specified by:
getEventsin interfaceFunctionOptions
-
getFilesystem
- Specified by:
getFilesystemin interfaceFunctionOptions
-
getFunctionName
- Specified by:
getFunctionNamein interfaceFunctionOptions
-
getInitialPolicy
- Specified by:
getInitialPolicyin interfaceFunctionOptions
-
getInsightsVersion
- Specified by:
getInsightsVersionin interfaceFunctionOptions
-
getLayers
- Specified by:
getLayersin interfaceFunctionOptions
-
getLogRetention
public final software.amazon.awscdk.services.logs.RetentionDays getLogRetention()- Specified by:
getLogRetentionin interfaceFunctionOptions
-
getLogRetentionRetryOptions
- Specified by:
getLogRetentionRetryOptionsin interfaceFunctionOptions
-
getLogRetentionRole
public final software.amazon.awscdk.services.iam.IRole getLogRetentionRole()- Specified by:
getLogRetentionRolein interfaceFunctionOptions
-
getMemorySize
- Specified by:
getMemorySizein interfaceFunctionOptions
-
getProfiling
- Specified by:
getProfilingin interfaceFunctionOptions
-
getProfilingGroup
public final software.amazon.awscdk.services.codeguruprofiler.IProfilingGroup getProfilingGroup()- Specified by:
getProfilingGroupin interfaceFunctionOptions
-
getReservedConcurrentExecutions
- Specified by:
getReservedConcurrentExecutionsin interfaceFunctionOptions
-
getRole
public final software.amazon.awscdk.services.iam.IRole getRole()- Specified by:
getRolein interfaceFunctionOptions
-
getSecurityGroup
public final software.amazon.awscdk.services.ec2.ISecurityGroup getSecurityGroup()- Specified by:
getSecurityGroupin interfaceFunctionOptions
-
getSecurityGroups
- Specified by:
getSecurityGroupsin interfaceFunctionOptions
-
getTimeout
- Specified by:
getTimeoutin interfaceFunctionOptions
-
getTracing
- Specified by:
getTracingin interfaceFunctionOptions
-
getVpc
public final software.amazon.awscdk.services.ec2.IVpc getVpc()- Specified by:
getVpcin interfaceFunctionOptions
-
getVpcSubnets
public final software.amazon.awscdk.services.ec2.SubnetSelection getVpcSubnets()- Specified by:
getVpcSubnetsin interfaceFunctionOptions
-
getMaxEventAge
- Specified by:
getMaxEventAgein interfaceEventInvokeConfigOptions
-
getOnFailure
- Specified by:
getOnFailurein interfaceEventInvokeConfigOptions
-
getOnSuccess
- Specified by:
getOnSuccessin interfaceEventInvokeConfigOptions
-
getRetryAttempts
- Specified by:
getRetryAttemptsin interfaceEventInvokeConfigOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-