Package-level declarations

Types

Link copied to clipboard
class Alias : KotlinCustomResource

Creates a Lambda function alias. Creates an alias that points to the specified Lambda function version. For information about Lambda and how to use it, see What is AWS Lambda? For information about function aliases, see CreateAlias and AliasRoutingConfiguration in the API docs.

Link copied to clipboard
data class AliasArgs(val description: Output<String>? = null, val functionName: Output<String>? = null, val functionVersion: Output<String>? = null, val name: Output<String>? = null, val routingConfig: Output<AliasRoutingConfigArgs>? = null) : ConvertibleToJava<AliasArgs>

Creates a Lambda function alias. Creates an alias that points to the specified Lambda function version. For information about Lambda and how to use it, see What is AWS Lambda? For information about function aliases, see CreateAlias and AliasRoutingConfiguration in the API docs.

Link copied to clipboard

Builder for AliasArgs.

Link copied to clipboard
object AliasMapper : ResourceMapper<Alias>
Link copied to clipboard

Builder for Alias.

Link copied to clipboard
class CodeSigningConfig : KotlinCustomResource

Provides a Lambda Code Signing Config resource. A code signing configuration defines a list of allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment validation checks fail). For information about Lambda code signing configurations and how to use them, see configuring code signing for Lambda functions

Link copied to clipboard
data class CodeSigningConfigArgs(val allowedPublishers: Output<CodeSigningConfigAllowedPublishersArgs>? = null, val description: Output<String>? = null, val policies: Output<CodeSigningConfigPoliciesArgs>? = null) : ConvertibleToJava<CodeSigningConfigArgs>

Provides a Lambda Code Signing Config resource. A code signing configuration defines a list of allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment validation checks fail). For information about Lambda code signing configurations and how to use them, see configuring code signing for Lambda functions

Link copied to clipboard
object CodeSigningConfigMapper : ResourceMapper<CodeSigningConfig>
Link copied to clipboard
class EventSourceMapping : KotlinCustomResource

Provides a Lambda event source mapping. This allows Lambda functions to get events from Kinesis, DynamoDB, SQS, Amazon MQ and Managed Streaming for Apache Kafka (MSK). For information about Lambda and how to use it, see What is AWS Lambda?. For information about event source mappings, see CreateEventSourceMapping in the API docs.

Link copied to clipboard
data class EventSourceMappingArgs(val amazonManagedKafkaEventSourceConfig: Output<EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs>? = null, val batchSize: Output<Int>? = null, val bisectBatchOnFunctionError: Output<Boolean>? = null, val destinationConfig: Output<EventSourceMappingDestinationConfigArgs>? = null, val documentDbEventSourceConfig: Output<EventSourceMappingDocumentDbEventSourceConfigArgs>? = null, val enabled: Output<Boolean>? = null, val eventSourceArn: Output<String>? = null, val filterCriteria: Output<EventSourceMappingFilterCriteriaArgs>? = null, val functionName: Output<String>? = null, val functionResponseTypes: Output<List<String>>? = null, val maximumBatchingWindowInSeconds: Output<Int>? = null, val maximumRecordAgeInSeconds: Output<Int>? = null, val maximumRetryAttempts: Output<Int>? = null, val parallelizationFactor: Output<Int>? = null, val queues: Output<List<String>>? = null, val scalingConfig: Output<EventSourceMappingScalingConfigArgs>? = null, val selfManagedEventSource: Output<EventSourceMappingSelfManagedEventSourceArgs>? = null, val selfManagedKafkaEventSourceConfig: Output<EventSourceMappingSelfManagedKafkaEventSourceConfigArgs>? = null, val sourceAccessConfigurations: Output<List<EventSourceMappingSourceAccessConfigurationArgs>>? = null, val startingPosition: Output<String>? = null, val startingPositionTimestamp: Output<String>? = null, val topics: Output<List<String>>? = null, val tumblingWindowInSeconds: Output<Int>? = null) : ConvertibleToJava<EventSourceMappingArgs>

Provides a Lambda event source mapping. This allows Lambda functions to get events from Kinesis, DynamoDB, SQS, Amazon MQ and Managed Streaming for Apache Kafka (MSK). For information about Lambda and how to use it, see What is AWS Lambda?. For information about event source mappings, see CreateEventSourceMapping in the API docs.

Link copied to clipboard
Link copied to clipboard
class Function : KotlinCustomResource

Provides a Lambda Function resource. Lambda allows you to trigger execution of code in response to events in AWS, enabling serverless backend solutions. The Lambda Function itself includes source code and runtime configuration. For information about Lambda and how to use it, see What is AWS Lambda?

Link copied to clipboard
data class FunctionArgs(val architectures: Output<List<String>>? = null, val code: Output<Archive>? = null, val codeSigningConfigArn: Output<String>? = null, val deadLetterConfig: Output<FunctionDeadLetterConfigArgs>? = null, val description: Output<String>? = null, val environment: Output<FunctionEnvironmentArgs>? = null, val ephemeralStorage: Output<FunctionEphemeralStorageArgs>? = null, val fileSystemConfig: Output<FunctionFileSystemConfigArgs>? = null, val handler: Output<String>? = null, val imageConfig: Output<FunctionImageConfigArgs>? = null, val imageUri: Output<String>? = null, val kmsKeyArn: Output<String>? = null, val layers: Output<List<String>>? = null, val memorySize: Output<Int>? = null, val name: Output<String>? = null, val packageType: Output<String>? = null, val publish: Output<Boolean>? = null, val replaceSecurityGroupsOnDestroy: Output<Boolean>? = null, val replacementSecurityGroupIds: Output<List<String>>? = null, val reservedConcurrentExecutions: Output<Int>? = null, val role: Output<String>? = null, val runtime: Output<Either<String, Runtime>>? = null, val s3Bucket: Output<String>? = null, val s3Key: Output<String>? = null, val s3ObjectVersion: Output<String>? = null, val skipDestroy: Output<Boolean>? = null, val snapStart: Output<FunctionSnapStartArgs>? = null, val sourceCodeHash: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val timeout: Output<Int>? = null, val tracingConfig: Output<FunctionTracingConfigArgs>? = null, val vpcConfig: Output<FunctionVpcConfigArgs>? = null) : ConvertibleToJava<FunctionArgs>

Provides a Lambda Function resource. Lambda allows you to trigger execution of code in response to events in AWS, enabling serverless backend solutions. The Lambda Function itself includes source code and runtime configuration. For information about Lambda and how to use it, see What is AWS Lambda?

Link copied to clipboard
Link copied to clipboard
class FunctionEventInvokeConfig : KotlinCustomResource

Manages an asynchronous invocation configuration for a Lambda Function or Alias. More information about asynchronous invocations and the configurable values can be found in the Lambda Developer Guide.

Link copied to clipboard
data class FunctionEventInvokeConfigArgs(val destinationConfig: Output<FunctionEventInvokeConfigDestinationConfigArgs>? = null, val functionName: Output<String>? = null, val maximumEventAgeInSeconds: Output<Int>? = null, val maximumRetryAttempts: Output<Int>? = null, val qualifier: Output<String>? = null) : ConvertibleToJava<FunctionEventInvokeConfigArgs>

Manages an asynchronous invocation configuration for a Lambda Function or Alias. More information about asynchronous invocations and the configurable values can be found in the Lambda Developer Guide.

Link copied to clipboard
object FunctionMapper : ResourceMapper<Function>
Link copied to clipboard
Link copied to clipboard
class FunctionUrl : KotlinCustomResource

Provides a Lambda function URL resource. A function URL is a dedicated HTTP(S) endpoint for a Lambda function. See the AWS Lambda documentation for more information.

Link copied to clipboard
data class FunctionUrlArgs(val authorizationType: Output<String>? = null, val cors: Output<FunctionUrlCorsArgs>? = null, val functionName: Output<String>? = null, val invokeMode: Output<String>? = null, val qualifier: Output<String>? = null) : ConvertibleToJava<FunctionUrlArgs>

Provides a Lambda function URL resource. A function URL is a dedicated HTTP(S) endpoint for a Lambda function. See the AWS Lambda documentation for more information.

Link copied to clipboard
Link copied to clipboard
object FunctionUrlMapper : ResourceMapper<FunctionUrl>
Link copied to clipboard
Link copied to clipboard
class Invocation : KotlinCustomResource

Use this resource to invoke a lambda function. The lambda function is invoked with the RequestResponse invocation type.

Link copied to clipboard
data class InvocationArgs(val functionName: Output<String>? = null, val input: Output<String>? = null, val qualifier: Output<String>? = null, val triggers: Output<Map<String, String>>? = null) : ConvertibleToJava<InvocationArgs>

Use this resource to invoke a lambda function. The lambda function is invoked with the RequestResponse invocation type.

Link copied to clipboard
Link copied to clipboard
object InvocationMapper : ResourceMapper<Invocation>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class LayerVersion : KotlinCustomResource

Provides a Lambda Layer Version resource. Lambda Layers allow you to reuse shared bits of code across multiple lambda functions. For information about Lambda Layers and how to use them, see AWS Lambda Layers.

Link copied to clipboard
data class LayerVersionArgs(val code: Output<Archive>? = null, val compatibleArchitectures: Output<List<String>>? = null, val compatibleRuntimes: Output<List<String>>? = null, val description: Output<String>? = null, val layerName: Output<String>? = null, val licenseInfo: Output<String>? = null, val s3Bucket: Output<String>? = null, val s3Key: Output<String>? = null, val s3ObjectVersion: Output<String>? = null, val skipDestroy: Output<Boolean>? = null, val sourceCodeHash: Output<String>? = null) : ConvertibleToJava<LayerVersionArgs>

Provides a Lambda Layer Version resource. Lambda Layers allow you to reuse shared bits of code across multiple lambda functions. For information about Lambda Layers and how to use them, see AWS Lambda Layers.

Link copied to clipboard
Link copied to clipboard
object LayerVersionMapper : ResourceMapper<LayerVersion>
Link copied to clipboard
class LayerVersionPermission : KotlinCustomResource

Provides a Lambda Layer Version Permission resource. It allows you to share you own Lambda Layers to another account by account ID, to all accounts in AWS organization or even to all AWS accounts. For information about Lambda Layer Permissions and how to use them, see 1

Link copied to clipboard
data class LayerVersionPermissionArgs(val action: Output<String>? = null, val layerName: Output<String>? = null, val organizationId: Output<String>? = null, val principal: Output<String>? = null, val statementId: Output<String>? = null, val versionNumber: Output<Int>? = null) : ConvertibleToJava<LayerVersionPermissionArgs>

Provides a Lambda Layer Version Permission resource. It allows you to share you own Lambda Layers to another account by account ID, to all accounts in AWS organization or even to all AWS accounts. For information about Lambda Layer Permissions and how to use them, see 1

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Permission : KotlinCustomResource

Gives an external source (like an EventBridge Rule, SNS, or S3) permission to access the Lambda function.

Link copied to clipboard
data class PermissionArgs(val action: Output<String>? = null, val eventSourceToken: Output<String>? = null, val function: Output<String>? = null, val functionUrlAuthType: Output<String>? = null, val principal: Output<String>? = null, val principalOrgId: Output<String>? = null, val qualifier: Output<String>? = null, val sourceAccount: Output<String>? = null, val sourceArn: Output<String>? = null, val statementId: Output<String>? = null, val statementIdPrefix: Output<String>? = null) : ConvertibleToJava<PermissionArgs>

Gives an external source (like an EventBridge Rule, SNS, or S3) permission to access the Lambda function.

Link copied to clipboard
Link copied to clipboard
object PermissionMapper : ResourceMapper<Permission>
Link copied to clipboard
Link copied to clipboard
class ProvisionedConcurrencyConfig : KotlinCustomResource

Manages a Lambda Provisioned Concurrency Configuration.

Link copied to clipboard
data class ProvisionedConcurrencyConfigArgs(val functionName: Output<String>? = null, val provisionedConcurrentExecutions: Output<Int>? = null, val qualifier: Output<String>? = null) : ConvertibleToJava<ProvisionedConcurrencyConfigArgs>

Manages a Lambda Provisioned Concurrency Configuration.

Functions

Link copied to clipboard
fun alias(name: String): Alias
suspend fun alias(name: String, block: suspend AliasResourceBuilder.() -> Unit): Alias
Link copied to clipboard
suspend fun function(name: String, block: suspend FunctionResourceBuilder.() -> Unit): Function
Link copied to clipboard
suspend fun functionUrl(name: String, block: suspend FunctionUrlResourceBuilder.() -> Unit): FunctionUrl
Link copied to clipboard
suspend fun invocation(name: String, block: suspend InvocationResourceBuilder.() -> Unit): Invocation
Link copied to clipboard
Link copied to clipboard
suspend fun permission(name: String, block: suspend PermissionResourceBuilder.() -> Unit): Permission