Class PythonFunctionProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.python.PythonFunctionProps.Jsii$Proxy
All Implemented Interfaces:
software.amazon.awscdk.services.lambda.EventInvokeConfigOptions, software.amazon.awscdk.services.lambda.FunctionOptions, PythonFunctionProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
PythonFunctionProps

@Stability(Experimental) @Internal public static final class PythonFunctionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PythonFunctionProps
An implementation for PythonFunctionProps
  • 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

      protected Jsii$Proxy(PythonFunctionProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the PythonFunctionProps.Builder.
  • Method Details

    • getEntry

      public final String getEntry()
      Description copied from interface: PythonFunctionProps
      (experimental) Path to the source of the function or the location for dependencies.
      Specified by:
      getEntry in interface PythonFunctionProps
    • getRuntime

      public final software.amazon.awscdk.services.lambda.Runtime getRuntime()
      Description copied from interface: PythonFunctionProps
      (experimental) The runtime environment.

      Only runtimes of the Python family are supported.

      Default: Runtime.PYTHON_3_7

      Specified by:
      getRuntime in interface PythonFunctionProps
    • getBundling

      public final BundlingOptions getBundling()
      Description copied from interface: PythonFunctionProps
      (experimental) Bundling options to use for this function.

      Use this to specify custom bundling options like the bundling Docker image, asset hash type, custom hash, architecture, etc.

      Default: - Use the default bundling Docker image, with x86_64 architecture.

      Specified by:
      getBundling in interface PythonFunctionProps
    • getHandler

      public final String getHandler()
      Description copied from interface: PythonFunctionProps
      (experimental) The name of the exported handler in the index file.

      Default: handler

      Specified by:
      getHandler in interface PythonFunctionProps
    • getIndex

      public final String getIndex()
      Description copied from interface: PythonFunctionProps
      (experimental) The path (relative to entry) to the index file containing the exported handler.

      Default: index.py

      Specified by:
      getIndex in interface PythonFunctionProps
    • getAllowAllOutbound

      public final Boolean getAllowAllOutbound()
      Specified by:
      getAllowAllOutbound in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getAllowPublicSubnet

      public final Boolean getAllowPublicSubnet()
      Specified by:
      getAllowPublicSubnet in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getArchitecture

      public final software.amazon.awscdk.services.lambda.Architecture getArchitecture()
      Specified by:
      getArchitecture in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getArchitectures

      public final List<software.amazon.awscdk.services.lambda.Architecture> getArchitectures()
      Specified by:
      getArchitectures in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getCodeSigningConfig

      public final software.amazon.awscdk.services.lambda.ICodeSigningConfig getCodeSigningConfig()
      Specified by:
      getCodeSigningConfig in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getCurrentVersionOptions

      public final software.amazon.awscdk.services.lambda.VersionOptions getCurrentVersionOptions()
      Specified by:
      getCurrentVersionOptions in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getDeadLetterQueue

      public final software.amazon.awscdk.services.sqs.IQueue getDeadLetterQueue()
      Specified by:
      getDeadLetterQueue in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getDeadLetterQueueEnabled

      public final Boolean getDeadLetterQueueEnabled()
      Specified by:
      getDeadLetterQueueEnabled in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getDeadLetterTopic

      public final software.amazon.awscdk.services.sns.ITopic getDeadLetterTopic()
      Specified by:
      getDeadLetterTopic in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getDescription

      public final String getDescription()
      Specified by:
      getDescription in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getEnvironment

      public final Map<String,String> getEnvironment()
      Specified by:
      getEnvironment in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getEnvironmentEncryption

      public final software.amazon.awscdk.services.kms.IKey getEnvironmentEncryption()
      Specified by:
      getEnvironmentEncryption in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getEphemeralStorageSize

      public final software.amazon.awscdk.core.Size getEphemeralStorageSize()
      Specified by:
      getEphemeralStorageSize in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getEvents

      public final List<software.amazon.awscdk.services.lambda.IEventSource> getEvents()
      Specified by:
      getEvents in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getFilesystem

      public final software.amazon.awscdk.services.lambda.FileSystem getFilesystem()
      Specified by:
      getFilesystem in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getFunctionName

      public final String getFunctionName()
      Specified by:
      getFunctionName in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getInitialPolicy

      public final List<software.amazon.awscdk.services.iam.PolicyStatement> getInitialPolicy()
      Specified by:
      getInitialPolicy in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getInsightsVersion

      public final software.amazon.awscdk.services.lambda.LambdaInsightsVersion getInsightsVersion()
      Specified by:
      getInsightsVersion in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getLayers

      public final List<software.amazon.awscdk.services.lambda.ILayerVersion> getLayers()
      Specified by:
      getLayers in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getLogRetention

      public final software.amazon.awscdk.services.logs.RetentionDays getLogRetention()
      Specified by:
      getLogRetention in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getLogRetentionRetryOptions

      public final software.amazon.awscdk.services.lambda.LogRetentionRetryOptions getLogRetentionRetryOptions()
      Specified by:
      getLogRetentionRetryOptions in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getLogRetentionRole

      public final software.amazon.awscdk.services.iam.IRole getLogRetentionRole()
      Specified by:
      getLogRetentionRole in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getMemorySize

      public final Number getMemorySize()
      Specified by:
      getMemorySize in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getProfiling

      public final Boolean getProfiling()
      Specified by:
      getProfiling in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getProfilingGroup

      public final software.amazon.awscdk.services.codeguruprofiler.IProfilingGroup getProfilingGroup()
      Specified by:
      getProfilingGroup in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getReservedConcurrentExecutions

      public final Number getReservedConcurrentExecutions()
      Specified by:
      getReservedConcurrentExecutions in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getRole

      public final software.amazon.awscdk.services.iam.IRole getRole()
      Specified by:
      getRole in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getSecurityGroup

      public final ISecurityGroup getSecurityGroup()
      Specified by:
      getSecurityGroup in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getSecurityGroups

      public final List<ISecurityGroup> getSecurityGroups()
      Specified by:
      getSecurityGroups in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getTimeout

      public final software.amazon.awscdk.core.Duration getTimeout()
      Specified by:
      getTimeout in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getTracing

      public final software.amazon.awscdk.services.lambda.Tracing getTracing()
      Specified by:
      getTracing in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getVpc

      public final IVpc getVpc()
      Specified by:
      getVpc in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getVpcSubnets

      public final SubnetSelection getVpcSubnets()
      Specified by:
      getVpcSubnets in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getMaxEventAge

      public final software.amazon.awscdk.core.Duration getMaxEventAge()
      Specified by:
      getMaxEventAge in interface software.amazon.awscdk.services.lambda.EventInvokeConfigOptions
    • getOnFailure

      public final software.amazon.awscdk.services.lambda.IDestination getOnFailure()
      Specified by:
      getOnFailure in interface software.amazon.awscdk.services.lambda.EventInvokeConfigOptions
    • getOnSuccess

      public final software.amazon.awscdk.services.lambda.IDestination getOnSuccess()
      Specified by:
      getOnSuccess in interface software.amazon.awscdk.services.lambda.EventInvokeConfigOptions
    • getRetryAttempts

      public final Number getRetryAttempts()
      Specified by:
      getRetryAttempts in interface software.amazon.awscdk.services.lambda.EventInvokeConfigOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object