Interface RustFunctionProps

  • All Superinterfaces:
    software.amazon.awscdk.services.lambda.EventInvokeConfigOptions, software.amazon.awscdk.services.lambda.FunctionOptions, software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    RustFunctionProps.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.97.0 (build 729de35)",
               date="2024-05-06T06:07:14.574Z")
    @Stability(Experimental)
    public interface RustFunctionProps
    extends software.amazon.jsii.JsiiSerializable, software.amazon.awscdk.services.lambda.FunctionOptions
    (experimental) Properties for a RustFunction.
    • Method Summary

      All Methods Static Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      static RustFunctionProps.Builder builder()  
      default String getBinaryName()
      (experimental) The name of the binary to build, in case that it's different that the package's name.
      default BundlingOptions getBundling()
      (experimental) Bundling options.
      default String getEntry()
      (experimental) Path to the entry Cargo.toml file.
      default String getProjectRoot()
      (experimental) The path to the directory containing project Manifest file.
      default software.amazon.awscdk.services.lambda.Runtime getRuntime()
      (experimental) The runtime environment.
      • Methods inherited from interface software.amazon.awscdk.services.lambda.EventInvokeConfigOptions

        getMaxEventAge, getOnFailure, getOnSuccess, getRetryAttempts
      • Methods inherited from interface software.amazon.awscdk.services.lambda.FunctionOptions

        getAdotInstrumentation, getAllowAllOutbound, getAllowPublicSubnet, getApplicationLogLevel, getArchitecture, getCodeSigningConfig, getCurrentVersionOptions, getDeadLetterQueue, getDeadLetterQueueEnabled, getDeadLetterTopic, getDescription, getEnvironment, getEnvironmentEncryption, getEphemeralStorageSize, getEvents, getFilesystem, getFunctionName, getInitialPolicy, getInsightsVersion, getIpv6AllowedForDualStack, getLayers, getLogFormat, getLoggingFormat, getLogGroup, getLogRetention, getLogRetentionRetryOptions, getLogRetentionRole, getMemorySize, getParamsAndSecrets, getProfiling, getProfilingGroup, getReservedConcurrentExecutions, getRole, getRuntimeManagementMode, getSecurityGroups, getSnapStart, getSystemLogLevel, getTimeout, getTracing, getVpc, getVpcSubnets
      • Methods inherited from interface software.amazon.jsii.JsiiSerializable

        $jsii$toJson
    • Method Detail

      • getBinaryName

        @Stability(Experimental)
        @Nullable
        default String getBinaryName()
        (experimental) The name of the binary to build, in case that it's different that the package's name.

        Default: Build all binaries

      • getBundling

        @Stability(Experimental)
        @Nullable
        default BundlingOptions getBundling()
        (experimental) Bundling options.

        Default: - use default bundling options: all binaries and packages are bundled.

      • getEntry

        @Stability(Experimental)
        @Nullable
        default String getEntry()
        (experimental) Path to the entry Cargo.toml file.

        Default: - Derived from the name of the defining file and the construct's id. If the `RustsFunction` is defined in `stack.ts` with `my-binary` as id (`new RustFunction(this, 'my-binary')`), the construct will look at `stack.my-binary/Cargo.toml`

      • getProjectRoot

        @Stability(Experimental)
        @Nullable
        default String getProjectRoot()
        (experimental) The path to the directory containing project Manifest file.

        Default: - the directory containing the `depsLockFilePath`

      • getRuntime

        @Stability(Experimental)
        @Nullable
        default software.amazon.awscdk.services.lambda.Runtime getRuntime()
        (experimental) The runtime environment.

        Only OS-only runtimes are supported.

        Default: `Runtime.PROVIDED_AL2023`