Class LogRetentionProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.logs.LogRetentionProps.Jsii$Proxy
- All Implemented Interfaces:
LogRetentionProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
LogRetentionProps
@Stability(Stable)
@Internal
public static final class LogRetentionProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements LogRetentionProps
An implementation for
LogRetentionProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.logs.LogRetentionProps
LogRetentionProps.Builder, LogRetentionProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(LogRetentionProps.Builder builder) Constructor that initializes the object based on literal property values passed by theLogRetentionProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe log group name.final StringThe region where the log group should be created.final LogRetentionRetryOptionsRetry options for all AWS API calls.final RemovalPolicyThe removalPolicy for the log group when the stack is deleted.final RetentionDaysThe number of days log events are kept in CloudWatch Logs.final IRolegetRole()The IAM role for the Lambda function associated with the custom resource.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theLogRetentionProps.Builder.
-
-
Method Details
-
getLogGroupName
Description copied from interface:LogRetentionPropsThe log group name.- Specified by:
getLogGroupNamein interfaceLogRetentionProps
-
getRetention
Description copied from interface:LogRetentionPropsThe number of days log events are kept in CloudWatch Logs.- Specified by:
getRetentionin interfaceLogRetentionProps
-
getLogGroupRegion
Description copied from interface:LogRetentionPropsThe region where the log group should be created.Default: - same region as the stack
- Specified by:
getLogGroupRegionin interfaceLogRetentionProps
-
getLogRetentionRetryOptions
Description copied from interface:LogRetentionPropsRetry options for all AWS API calls.Default: - AWS SDK default retry options
- Specified by:
getLogRetentionRetryOptionsin interfaceLogRetentionProps
-
getRemovalPolicy
Description copied from interface:LogRetentionPropsThe removalPolicy for the log group when the stack is deleted.Default: RemovalPolicy.RETAIN
- Specified by:
getRemovalPolicyin interfaceLogRetentionProps
-
getRole
Description copied from interface:LogRetentionPropsThe IAM role for the Lambda function associated with the custom resource.Default: - A new role is created
- Specified by:
getRolein interfaceLogRetentionProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-