interface LogRetentionRetryOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Logs.LogRetentionRetryOptions |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#LogRetentionRetryOptions |
Java | software.amazon.awscdk.services.logs.LogRetentionRetryOptions |
Python | aws_cdk.aws_logs.LogRetentionRetryOptions |
TypeScript (source) | aws-cdk-lib » aws_logs » 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_logs as logs } from 'aws-cdk-lib';
const logRetentionRetryOptions: logs.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?
⚠️ Deprecated: Unused since the upgrade to AWS SDK v3, which uses a different retry strategy
Type:
Duration
(optional, default: none, not used anymore)
The base duration to use in the exponential backoff for operation retries.
maxRetries?
Type:
number
(optional, default: 5)
The maximum amount of retries.