# LogRetentionRetryOptions

Retry options for all AWS API calls.

Extends: LogRetentionRetryOptions
Extends: LogRetentionRetryOptions

- Source: [`aws-lambda/lib/log-retention.ts`](https://github.com/aws/aws-cdk/blob/v2.273.0/packages/aws-cdk-lib/aws-lambda/lib/log-retention.ts#L7)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
import { aws_lambda as lambda } from 'aws-cdk-lib';
const logRetentionRetryOptions: lambda.LogRetentionRetryOptions = {
  base: cdk.Duration.minutes(30),
  maxRetries: 123,
};
```

## Properties

- `base`: [Duration](/cdk/api/v2/docs/aws-cdk-lib.Duration.html) = none, not used anymore — Unused since the upgrade to AWS SDK v3, which uses a different retry strategy

- `maxRetries`: number = 5 — The maximum amount of retries.
