LogRetentionRetryOptions
- class aws_cdk.aws_lambda.LogRetentionRetryOptions(*, base=None, max_retries=None)
Bases:
LogRetentionRetryOptions
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 anymoremax_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_lambda as lambda_ log_retention_retry_options = lambda.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