Skip to content
v2.273.0

LogRetentionRetryOptions Struct ​

Retry options for all AWS API calls.

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 ​

baseDurationbaseDurationbaseDurationBaseDurationBaseDuration= none, not used anymoredeprecated#
Unused since the upgrade to AWS SDK v3, which uses a different retry strategy
maxRetriesnumbermax_retriesint | floatmaxRetriesNumberMaxRetriesdoubleMaxRetries*float64= 5#
The maximum amount of retries.