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 |
---|---|
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.
|
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.
|
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.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.kmsKeyArn(String kmsKeyArn)
The ARN of the AWS Key Management Service (AWS 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 that your function has access to.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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 that Lambda allows a function to run before stopping it.
|
CreateFunctionRequest.Builder |
CreateFunctionRequest.toBuilder() |
default CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.tracingConfig(Consumer<TracingConfig.Builder> tracingConfig)
Set
Mode to Active to sample and trace a subset of incoming requests with AWS
X-Ray. |
CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.tracingConfig(TracingConfig tracingConfig)
Set
Mode to Active to sample and trace a subset of incoming requests with AWS
X-Ray. |
default CreateFunctionRequest.Builder |
CreateFunctionRequest.Builder.vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
For network connectivity to AWS 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 AWS 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 © 2020. All rights reserved.