or run

npx @tessl/cli init
Log in

Version

Tile

Overview

Evals

Files

Files

docs

account-settings.mdalias-version-management.mdclient-management.mdconcurrency-performance.mdevent-source-mapping.mdfunction-invocation.mdfunction-management.mdfunction-url-management.mdhigh-level-invocation.mdindex.mdlayer-management.mdpermissions-policies.mdruntime-management.mdsecurity-code-signing.mdtagging.mdwaiters-polling.md

account-settings.mddocs/

0

# Account Settings and Limits

1

2

Account settings provide access to Lambda service configuration, regional limits, and usage statistics for your AWS account.

3

4

## Capabilities

5

6

### Get Account Settings

7

8

Retrieves account-level Lambda service limits, usage statistics, and regional configuration information.

9

10

```java { .api }

11

/**

12

* Retrieves details about your account's limits and usage in an Amazon Web Services Region

13

* @param getAccountSettingsRequest - Optional request parameters

14

* @return GetAccountSettingsResult containing account limits and usage data

15

*/

16

GetAccountSettingsResult getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest);

17

```

18

19

**Usage Example:**

20

21

```java

22

import com.amazonaws.services.lambda.*;

23

import com.amazonaws.services.lambda.model.*;

24

25

AWSLambda lambdaClient = AWSLambdaClientBuilder.standard()

26

.withRegion("us-east-1")

27

.build();

28

29

// Get account settings for the current region

30

GetAccountSettingsRequest request = new GetAccountSettingsRequest();

31

GetAccountSettingsResult result = lambdaClient.getAccountSettings(request);

32

33

AccountLimit limits = result.getAccountLimit();

34

AccountUsage usage = result.getAccountUsage();

35

36

System.out.println("Concurrent executions limit: " + limits.getConcurrentExecutions());

37

System.out.println("Total code size limit: " + limits.getTotalCodeSize());

38

System.out.println("Function count limit: " + limits.getFunctionCount());

39

40

System.out.println("Total code size used: " + usage.getTotalCodeSize());

41

System.out.println("Function count used: " + usage.getFunctionCount());

42

```

43

44

## Types

45

46

```java { .api }

47

// Account limits for Lambda service

48

public class AccountLimit {

49

private Long totalCodeSize;

50

private Long codeSizeUnzipped;

51

private Long codeSizeZipped;

52

private Integer concurrentExecutions;

53

private Integer unreservedConcurrentExecutions;

54

private Integer functionCount;

55

// ... getters and setters

56

}

57

58

// Current account usage statistics

59

public class AccountUsage {

60

private Long totalCodeSize;

61

private Integer functionCount;

62

// ... getters and setters

63

}

64

65

// Account settings request

66

public class GetAccountSettingsRequest {

67

// No required parameters - retrieves settings for current region

68

}

69

70

// Account settings result

71

public class GetAccountSettingsResult {

72

private AccountLimit accountLimit;

73

private AccountUsage accountUsage;

74

// ... getters and setters

75

}

76

```

77

78

## Account Limits

79

80

Lambda enforces several account-level limits that vary by region:

81

82

- **Concurrent Executions**: Maximum number of functions that can run simultaneously

83

- **Total Code Size**: Maximum total size of all function deployment packages

84

- **Function Count**: Maximum number of functions per region

85

- **Code Size (Unzipped)**: Maximum size of unzipped deployment package

86

- **Code Size (Zipped)**: Maximum size of zipped deployment package

87

88

These limits can be increased by contacting AWS support for most parameters.