LogRetentionRetryOptions

class aws_cdk.aws_logs.LogRetentionRetryOptions(*, base=None, max_retries=None)

Bases: object

Retry options for all AWS API calls.

Parameters:
  • base (Optional[Duration]) – (deprecated) The base duration to use in the exponential backoff for operation retries. Default: - none, not used anymore

  • max_retries (Union[int, float, None]) – The maximum amount of retries. Default: 5

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk
from aws_cdk import aws_logs as logs

log_retention_retry_options = logs.LogRetentionRetryOptions(
    base=cdk.Duration.minutes(30),
    max_retries=123
)

Attributes

base

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

Default:
  • none, not used anymore

Deprecated:

Unused since the upgrade to AWS SDK v3, which uses a different retry strategy

Stability:

deprecated

max_retries

The maximum amount of retries.

Default:

5