Class LogGroupProps.Jsii$Proxy
- All Implemented Interfaces:
LogGroupProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
LogGroupProps
LogGroupProps-
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.LogGroupProps
LogGroupProps.Builder, LogGroupProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(LogGroupProps.Builder builder) Constructor that initializes the object based on literal property values passed by theLogGroupProps.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 DataProtectionPolicyData Protection Policy for this log group.final IKeyRefThe KMS customer managed key to encrypt the log group with.final List<FieldIndexPolicy> Field Index Policies for this log group.final LogGroupClassThe class of the log group.final StringName of the log group.final RemovalPolicyDetermine the removal policy of this log group.final RetentionDaysHow long, in days, the log contents will be retained.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 theLogGroupProps.Builder.
-
-
Method Details
-
getDataProtectionPolicy
Description copied from interface:LogGroupPropsData Protection Policy for this log group.Default: - no data protection policy
- Specified by:
getDataProtectionPolicyin interfaceLogGroupProps
-
getEncryptionKey
Description copied from interface:LogGroupPropsThe KMS customer managed key to encrypt the log group with.Default: Server-side encryption managed by the CloudWatch Logs service
- Specified by:
getEncryptionKeyin interfaceLogGroupProps
-
getFieldIndexPolicies
Description copied from interface:LogGroupPropsField Index Policies for this log group.Default: - no field index policies for this log group.
- Specified by:
getFieldIndexPoliciesin interfaceLogGroupProps
-
getLogGroupClass
Description copied from interface:LogGroupPropsThe class of the log group. Possible values are: STANDARD and INFREQUENT_ACCESS.INFREQUENT_ACCESS class provides customers a cost-effective way to consolidate logs which supports querying using Logs Insights. The logGroupClass property cannot be changed once the log group is created.
Default: LogGroupClass.STANDARD
- Specified by:
getLogGroupClassin interfaceLogGroupProps
-
getLogGroupName
Description copied from interface:LogGroupPropsName of the log group.Default: Automatically generated
- Specified by:
getLogGroupNamein interfaceLogGroupProps
-
getRemovalPolicy
Description copied from interface:LogGroupPropsDetermine the removal policy of this log group.Normally you want to retain the log group so you can diagnose issues from logs even after a deployment that no longer includes the log group. In that case, use the normal date-based retention policy to age out your logs.
Default: RemovalPolicy.Retain
- Specified by:
getRemovalPolicyin interfaceLogGroupProps
-
getRetention
Description copied from interface:LogGroupPropsHow long, in days, the log contents will be retained.To retain all logs, set this value to RetentionDays.INFINITE.
Default: RetentionDays.TWO_YEARS
- Specified by:
getRetentionin interfaceLogGroupProps
-
$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()
-