Interface LogRetentionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,LogRetentionProps
- All Known Implementing Classes:
LogRetentionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.807Z")
@Stability(Deprecated)
@Deprecated
public interface LogRetentionProps
extends software.amazon.jsii.JsiiSerializable, LogRetentionProps
Deprecated.
(deprecated) Construction properties for a LogRetention.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.iam.*; import software.amazon.awscdk.services.lambda.*; import software.amazon.awscdk.services.logs.*; import software.amazon.awscdk.core.*; Role role; LogRetentionProps logRetentionProps = LogRetentionProps.builder() .logGroupName("logGroupName") .retention(RetentionDays.ONE_DAY) // the properties below are optional .logGroupRegion("logGroupRegion") .logRetentionRetryOptions(LogRetentionRetryOptions.builder() .base(Duration.minutes(30)) .maxRetries(123) .build()) .role(role) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Deprecated.static final class
Deprecated. -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.logs.LogRetentionProps
getLogGroupName, getLogGroupRegion, getLogRetentionRetryOptions, getRetention, getRole
-
Method Details
-
builder
Deprecated.- Returns:
- a
LogRetentionProps.Builder
ofLogRetentionProps
-
LogRetentionProps
from '