Package io.github.cdklabs.awslambdarust
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRustFunctionProps.BuilderA builder forRustFunctionPropsstatic classRustFunctionProps.Jsii$ProxyAn implementation forRustFunctionProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static RustFunctionProps.Builderbuilder()default StringgetBinaryName()(experimental) The name of the binary to build, in case that it's different that the package's name.default BundlingOptionsgetBundling()(experimental) Bundling options.default StringgetEntry()(experimental) Path to the entry Cargo.toml file.default StringgetProjectRoot()(experimental) The path to the directory containing project Manifest file.default software.amazon.awscdk.services.lambda.RuntimegetRuntime()(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
-
-
-
-
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`
-
builder
@Stability(Experimental) static RustFunctionProps.Builder builder()
- Returns:
- a
RustFunctionProps.BuilderofRustFunctionProps
-
-