interface LogRetentionRetryOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lambda.LogRetentionRetryOptions |
Java | software.amazon.awscdk.services.lambda.LogRetentionRetryOptions |
Python | aws_cdk.aws_lambda.LogRetentionRetryOptions |
TypeScript (source) | @aws-cdk/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 lambda from '@aws-cdk/aws-lambda';
import * as cdk from '@aws-cdk/core';
const logRetentionRetryOptions: lambda.LogRetentionRetryOptions = {
base: cdk.Duration.minutes(30),
maxRetries: 123,
};
Properties
Name | Type | Description |
---|---|---|
base? | Duration | The base duration to use in the exponential backoff for operation retries. |
max | number | The 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.