aws-cdk-lib.aws_lambda.LogRetentionRetryOptions

interface LogRetentionRetryOptions

LanguageType name
.NETAmazon.CDK.AWS.Lambda.LogRetentionRetryOptions
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslambda#LogRetentionRetryOptions
Javasoftware.amazon.awscdk.services.lambda.LogRetentionRetryOptions
Pythonaws_cdk.aws_lambda.LogRetentionRetryOptions
TypeScript (source)aws-cdk-lib » aws_lambda » LogRetentionRetryOptions

Retry options for all AWS API calls.

Example

// 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

NameTypeDescription
base?DurationThe base duration to use in the exponential backoff for operation retries.
maxRetries?numberThe maximum amount of retries.

base?

Type: Duration (optional, default: Duration.millis(100) (AWS SDK default))

The base duration to use in the exponential backoff for operation retries.


maxRetries?

Type: number (optional, default: 3 (AWS SDK default))

The maximum amount of retries.