@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:31.739Z") @Stability(value=Experimental) public class LogRetention extends software.constructs.Construct
The log group is created if it doesn't already exist. The policy
is removed when retentionDays is undefined or equal to Infinity.
Log group can be created in the region that is different from stack region by
specifying logGroupRegion
| Modifier and Type | Class and Description |
|---|---|
static class |
LogRetention.Builder
(experimental) A fluent builder for
LogRetention. |
| Modifier | Constructor and Description |
|---|---|
|
LogRetention(software.constructs.Construct scope,
String id,
LogRetentionProps props) |
protected |
LogRetention(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
LogRetention(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLogGroupArn()
(experimental) The ARN of the LogGroup.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected LogRetention(software.amazon.jsii.JsiiObjectRef objRef)
protected LogRetention(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public LogRetention(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
LogRetentionProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public String getLogGroupArn()
Copyright © 2021. All rights reserved.