import { Value } from '../../cloudformation/Value';
import { TracingConfigProps } from './function/TracingConfigProps';
import { VpcConfigProps } from './function/VpcConfigProps';
import { RuntimeManagementConfigProps } from './function/RuntimeManagementConfigProps';
import { SnapStartProps } from './function/SnapStartProps';
import { FileSystemConfigProps } from './function/FileSystemConfigProps';
import { Tag } from '../Tag';
import { ImageConfigProps } from './function/ImageConfigProps';
import { DeadLetterConfigProps } from './function/DeadLetterConfigProps';
import { CodeProps } from './function/CodeProps';
import { EnvironmentProps } from './function/EnvironmentProps';
import { EphemeralStorageProps } from './function/EphemeralStorageProps';
import { SnapStartResponseProps } from './function/SnapStartResponseProps';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type FunctionAttributes = {
    SnapStartResponse_OptimizationStatus: Attribute<string>;
    SnapStartResponse_ApplyOn: Attribute<string>;
    SnapStartResponse: Attribute<SnapStartResponseProps>;
    Arn: Attribute<string>;
};
export type LambdaFunction = AwsResource<'AWS::Lambda::Function', FunctionProperties, FunctionAttributes>;
/**
  The <code>AWS::Lambda::Function</code> resource creates a Lambda function. To create a function, you need a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html">deployment package</a> and an <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-intro-execution-role.html">execution role</a>. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use AWS services, such as Amazon CloudWatch Logs for log streaming and AWS X-Ray for request tracing.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html">the AWS Docs</a>
*/
export declare function lambdaFunction(functionProps: FunctionProperties): LambdaFunction;
/**
  The <code>AWS::Lambda::Function</code> resource creates a Lambda function. To create a function, you need a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html">deployment package</a> and an <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-intro-execution-role.html">execution role</a>. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use AWS services, such as Amazon CloudWatch Logs for log streaming and AWS X-Ray for request tracing.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html">the AWS Docs</a>
*/
export interface FunctionProperties {
    /**  */
    policy?: Value<any>;
    /** <code>Description</code>  <a name="cfn-lambda-function-description"></a>
  A description of the function.<br />
  
  Required: No<br />
  
  Minimum: <code>0</code><br />
  
  Maximum: <code>256</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    description?: Value<string>;
    /** <code>TracingConfig</code>  <a name="cfn-lambda-function-tracingconfig"></a>
  Set <code>Mode</code> to <code>Active</code> to sample and trace a subset of incoming requests with <a href="https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html">X-Ray</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    tracingConfig?: TracingConfigProps;
    /** <code>VpcConfig</code>  <a name="cfn-lambda-function-vpcconfig"></a>
  For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html">Configuring a Lambda function to access resources in a VPC</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    vpcConfig?: VpcConfigProps;
    /** <code>RuntimeManagementConfig</code>  <a name="cfn-lambda-function-runtimemanagementconfig"></a>
  Sets the runtime management configuration for a function’s version. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html">Runtime updates</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    runtimeManagementConfig?: RuntimeManagementConfigProps;
    /** <code>ReservedConcurrentExecutions</code>  <a name="cfn-lambda-function-reservedconcurrentexecutions"></a>
  The number of simultaneous executions to reserve for the function.<br />
  
  Required: No<br />
  
  Minimum: <code>0</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    reservedConcurrentExecutions?: Value<number>;
    /** <code>SnapStart</code>  <a name="cfn-lambda-function-snapstart"></a>
  The function’s <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html">AWS Lambda SnapStart</a> setting.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    snapStart?: SnapStartProps;
    /** <code>FileSystemConfigs</code>  <a name="cfn-lambda-function-filesystemconfigs"></a>
  Connection settings for an Amazon EFS file system. To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html">AWS::EFS::MountTarget</a> resource, you must also specify a <code>DependsOn</code> attribute to ensure that the mount target is created or updated before the function.<br />
  For more information about using the <code>DependsOn</code> attribute, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html">DependsOn Attribute</a>.<br />
  
  Required: No<br />
  
  Maximum: <code>1</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    fileSystemConfigs?: FileSystemConfigProps[];
    /** <code>FunctionName</code>  <a name="cfn-lambda-function-functionname"></a>
  The name of the Lambda function, up to 64 characters in length. If you don’t specify a name, AWS CloudFormation generates one.<br />
  If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    functionName?: Value<string>;
    /** <code>Runtime</code>  <a name="cfn-lambda-function-runtime"></a>
  The identifier of the function’s <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime</a>. Runtime is required if the deployment package is a .zip file archive.<br />
  The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.<br />
  
  Required: No<br />
  
  Allowed values: <code>dotnet6 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | go1.x | java11 | java17 | java8 | java8.al2 | nodejs | nodejs10.x | nodejs12.x | nodejs14.x | nodejs16.x | nodejs18.x | nodejs4.3 | nodejs4.3-edge | nodejs6.10 | nodejs8.10 | provided | provided.al2 | python2.7 | python3.10 | python3.11 | python3.6 | python3.7 | python3.8 | python3.9 | ruby2.5 | ruby2.7 | ruby3.2</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    runtime?: Value<'dotnet6' | 'dotnetcore1.0' | 'dotnetcore2.0' | 'dotnetcore2.1' | 'dotnetcore3.1' | 'go1.x' | 'java11' | 'java17' | 'java8' | 'java8.al2' | 'nodejs' | 'nodejs10.x' | 'nodejs12.x' | 'nodejs14.x' | 'nodejs16.x' | 'nodejs18.x' | 'nodejs4.3' | 'nodejs4.3-edge' | 'nodejs6.10' | 'nodejs8.10' | 'provided' | 'provided.al2' | 'python2.7' | 'python3.10' | 'python3.11' | 'python3.6' | 'python3.7' | 'python3.8' | 'python3.9' | 'ruby2.5' | 'ruby2.7' | 'ruby3.2'>;
    /** <code>KmsKeyArn</code>  <a name="cfn-lambda-function-kmskeyarn"></a>
  The ARN of the AWS Key Management Service (AWS KMS) customer managed key that’s used to encrypt your function’s <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption">environment variables</a>. When <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html">Lambda SnapStart</a> is activated, Lambda also uses this key is to encrypt your function’s snapshot. If you deploy your function using a container image, Lambda also uses this key to encrypt your function when it’s deployed. Note that this is not the same key that’s used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). If you don’t provide a customer managed key, Lambda uses a default service key.<br />
  
  Required: No<br />
  
  Pattern: <code>(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    kmsKeyArn?: Value<string>;
    /** <code>PackageType</code>  <a name="cfn-lambda-function-packagetype"></a>
  The type of deployment package. Set to <code>Image</code> for container image and set <code>Zip</code> for .zip file archive.<br />
  
  Required: No<br />
  
  Allowed values: <code>Image | Zip</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    packageType?: Value<'Image' | 'Zip'>;
    /** <code>CodeSigningConfigArn</code>  <a name="cfn-lambda-function-codesigningconfigarn"></a>
  To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.<br />
  
  Required: No<br />
  
  Maximum: <code>200</code><br />
  
  Pattern: <code>arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\d{1}:\d{12}:code-signing-config:csc-[a-z0-9]{17}</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    codeSigningConfigArn?: Value<string>;
    /** <code>Layers</code>  <a name="cfn-lambda-function-layers"></a>
  A list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">function layers</a> to add to the function’s execution environment. Specify each layer by its ARN, including the version.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    layers?: Value<Value<string>[]>;
    /** <code>Tags</code>  <a name="cfn-lambda-function-tags"></a>
  A list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a> to apply to the function.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    tags?: Tag[];
    /** <code>ImageConfig</code>  <a name="cfn-lambda-function-imageconfig"></a>
  Configuration values that override the container image Dockerfile settings. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms">Container image settings</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    imageConfig?: ImageConfigProps;
    /** <code>MemorySize</code>  <a name="cfn-lambda-function-memorysize"></a>
  The amount of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console">memory available to the function</a> at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.<br />
  
  Required: No<br />
  
  Minimum: <code>128</code><br />
  
  Maximum: <code>10240</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    memorySize?: Value<number>;
    /** <code>DeadLetterConfig</code>  <a name="cfn-lambda-function-deadletterconfig"></a>
  A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq">Dead-letter queues</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    deadLetterConfig?: DeadLetterConfigProps;
    /** <code>Timeout</code>  <a name="cfn-lambda-function-timeout"></a>
  The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html">Lambda execution environment</a>.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    timeout?: Value<number>;
    /** <code>Handler</code>  <a name="cfn-lambda-function-handler"></a>
  The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html">Lambda programming model</a>.<br />
  
  Required: No<br />
  
  Maximum: <code>128</code><br />
  
  Pattern: <code>[^\s]+</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    handler?: Value<string>;
    /** <code>Code</code>  <a name="cfn-lambda-function-code"></a>
  The code for the function.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    code: CodeProps;
    /** <code>Role</code>  <a name="cfn-lambda-function-role"></a>
  The Amazon Resource Name (ARN) of the function’s execution role.<br />
  
  Required: Yes<br />
  
  Pattern: <code>arn:(aws[a-zA-Z-]*)?:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    role: Value<string>;
    /** <code>Environment</code>  <a name="cfn-lambda-function-environment"></a>
  Environment variables that are accessible from function code during execution.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    environment?: EnvironmentProps;
    /** <code>EphemeralStorage</code>  <a name="cfn-lambda-function-ephemeralstorage"></a>
  The size of the function’s <code>/tmp</code> directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    ephemeralStorage?: EphemeralStorageProps;
    /** <code>Architectures</code>  <a name="cfn-lambda-function-architectures"></a>
  The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64). The default value is <code>x86_64</code>.<br />
  
  Required: No<br />
  
  Maximum: <code>1</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    architectures?: Value<Value<string>[]>;
}
