Class LogRetentionRetryOptions
Retry options for all AWS API calls.
Inheritance
System.Object
LogRetentionRetryOptions
Implements
Namespace: Amazon.CDK.AWS.Logs
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LogRetentionRetryOptions : Object, ILogRetentionRetryOptions
Syntax (vb)
Public Class LogRetentionRetryOptions
Inherits Object
Implements ILogRetentionRetryOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
using Amazon.CDK.AWS.Logs;
var logRetentionRetryOptions = new LogRetentionRetryOptions {
Base = Duration.Minutes(30),
MaxRetries = 123
};
Synopsis
Constructors
LogRetentionRetryOptions() |
Properties
Base | (deprecated) The base duration to use in the exponential backoff for operation retries. |
MaxRetries | The maximum amount of retries. |
Constructors
LogRetentionRetryOptions()
public LogRetentionRetryOptions()
Properties
Base
(deprecated) The base duration to use in the exponential backoff for operation retries.
public Duration Base { get; set; }
Property Value
Remarks
Default: - none, not used anymore
Stability: Deprecated
MaxRetries
The maximum amount of retries.
public Nullable<double> MaxRetries { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Default: 5