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]) – The base duration to use in the exponential backoff for operation retries. Default: Duration.millis(100) (AWS SDK default)

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

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.aws_logs as logs
import aws_cdk.core as cdk

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

Attributes

base

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

Default:

Duration.millis(100) (AWS SDK default)

max_retries

The maximum amount of retries.

Default:

3 (AWS SDK default)