Show / Hide Table of Contents

Class LogRetentionRetryOptions

Retry options for all AWS API calls.

Inheritance
System.Object
LogRetentionRetryOptions
Implements
ILogRetentionRetryOptions
Namespace: Amazon.CDK.AWS.Logs
Assembly: Amazon.CDK.AWS.Logs.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.AWS.Logs;
using Amazon.CDK;
var logRetentionRetryOptions = new LogRetentionRetryOptions {
    Base = Duration.Minutes(30),
    MaxRetries = 123
};

Synopsis

Constructors

LogRetentionRetryOptions()

Properties

Base

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

MaxRetries

The maximum amount of retries.

Constructors

LogRetentionRetryOptions()

public LogRetentionRetryOptions()

Properties

Base

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

public Duration Base { get; set; }
Property Value

Duration

Remarks

Default: Duration.millis(100) (AWS SDK default)

MaxRetries

The maximum amount of retries.

public Nullable<double> MaxRetries { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

Default: 3 (AWS SDK default)

Implements

ILogRetentionRetryOptions
Back to top Generated by DocFX