Package | Description |
---|---|
software.amazon.awssdk.services.lambda |
|
software.amazon.awssdk.services.lambda.model |
Modifier and Type | Method and Description |
---|---|
default CreateFunctionResponse |
LambdaClient.createFunction(Consumer<CreateFunctionRequest.Builder> createFunctionRequest)
Creates a Lambda function.
|
default CompletableFuture<CreateFunctionResponse> |
LambdaAsyncClient.createFunction(Consumer<CreateFunctionRequest.Builder> createFunctionRequest)
Creates a Lambda function.
|
Modifier and Type | Method and Description |
---|---|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.architectures(Architecture... architectures)
The instruction set architecture that the function supports.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.architectures(Collection<Architecture> architectures)
The instruction set architecture that the function supports.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.architecturesWithStrings(Collection<String> architectures)
The instruction set architecture that the function supports.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.architecturesWithStrings(String... architectures)
The instruction set architecture that the function supports.
|
static CreateFunctionRequest.Builder |
CreateFunctionRequest.builder() |
default CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.code(Consumer<FunctionCode.Builder> code)
The code for the function.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.code(FunctionCode code)
The code for the function.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.codeSigningConfigArn(String codeSigningConfigArn)
To enable code signing for this function, specify the ARN of a code-signing configuration.
|
default CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.deadLetterConfig(Consumer<DeadLetterConfig.Builder> deadLetterConfig)
A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events
when they fail processing.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.deadLetterConfig(DeadLetterConfig deadLetterConfig)
A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events
when they fail processing.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.description(String description)
A description of the function.
|
default CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.environment(Consumer<Environment.Builder> environment)
Environment variables that are accessible from function code during execution.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.environment(Environment environment)
Environment variables that are accessible from function code during execution.
|
default CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.ephemeralStorage(Consumer<EphemeralStorage.Builder> ephemeralStorage)
The size of the function’s /tmp directory in MB.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.ephemeralStorage(EphemeralStorage ephemeralStorage)
The size of the function’s /tmp directory in MB.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.fileSystemConfigs(Collection<FileSystemConfig> fileSystemConfigs)
Connection settings for an Amazon EFS file system.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.fileSystemConfigs(Consumer<FileSystemConfig.Builder>... fileSystemConfigs)
Connection settings for an Amazon EFS file system.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.fileSystemConfigs(FileSystemConfig... fileSystemConfigs)
Connection settings for an Amazon EFS file system.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.functionName(String functionName)
The name of the Lambda function.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.handler(String handler)
The name of the method within your code that Lambda calls to execute your function.
|
default CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.imageConfig(Consumer<ImageConfig.Builder> imageConfig)
Container image configuration values that override the values in the container image Dockerfile.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.imageConfig(ImageConfig imageConfig)
Container image configuration values that override the values in the container image Dockerfile.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.kmsKeyArn(String kmsKeyArn)
The ARN of the Amazon Web Services Key Management Service (KMS) key that's used to encrypt your function's
environment variables.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.layers(Collection<String> layers)
A list of function
layers to add to the function's execution environment.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.layers(String... layers)
A list of function
layers to add to the function's execution environment.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.memorySize(Integer memorySize)
The amount of memory
available to the function at runtime.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.packageType(PackageType packageType)
The type of deployment package.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.packageType(String packageType)
The type of deployment package.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.publish(Boolean publish)
Set to true to publish the first version of the function during creation.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.role(String role)
The Amazon Resource Name (ARN) of the function's execution role.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.runtime(Runtime runtime)
The identifier of the function's runtime.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.runtime(String runtime)
The identifier of the function's runtime.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.tags(Map<String,String> tags)
A list of tags to apply to the
function.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.timeout(Integer timeout)
The amount of time (in seconds) that Lambda allows a function to run before stopping it.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.toBuilder() |
default CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.tracingConfig(Consumer<TracingConfig.Builder> tracingConfig)
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.tracingConfig(TracingConfig tracingConfig)
|
default CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and
subnets in the VPC.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.vpcConfig(VpcConfig vpcConfig)
For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and
subnets in the VPC.
|
Modifier and Type | Method and Description |
---|---|
static Class<? extends CreateFunctionRequest.Builder> |
CreateFunctionRequest.serializableBuilderClass() |
Copyright © 2022. All rights reserved.