aws-cdk-lib.aws_logs.LogRetentionRetryOptions

interface LogRetentionRetryOptions

LanguageType name
.NETAmazon.CDK.AWS.Logs.LogRetentionRetryOptions
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslogs#LogRetentionRetryOptions
Javasoftware.amazon.awscdk.services.logs.LogRetentionRetryOptions
Pythonaws_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

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.