Interface LoggingOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LoggingOptions.Jsii$Proxy
Example:
Domain domain = Domain.Builder.create(this, "Domain")
.version(EngineVersion.OPENSEARCH_1_0)
.enforceHttps(true)
.nodeToNodeEncryption(true)
.encryptionAtRest(EncryptionAtRestOptions.builder()
.enabled(true)
.build())
.fineGrainedAccessControl(AdvancedSecurityOptions.builder()
.masterUserName("master-user")
.build())
.logging(LoggingOptions.builder()
.auditLogEnabled(true)
.slowSearchLogEnabled(true)
.appLogEnabled(true)
.slowIndexLogEnabled(true)
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forLoggingOptionsstatic final classAn implementation forLoggingOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic LoggingOptions.Builderbuilder()default BooleanSpecify if Amazon OpenSearch Service application logging should be set up.default ILogGroupLog Amazon OpenSearch Service application logs to this log group.default BooleanSpecify if Amazon OpenSearch Service audit logging should be set up.default ILogGroupLog Amazon OpenSearch Service audit logs to this log group.default BooleanSpecify if slow index logging should be set up.default ILogGroupLog slow indices to this log group.default BooleanSpecify if slow search logging should be set up.default ILogGroupLog slow searches to this log group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAppLogEnabled
Specify if Amazon OpenSearch Service application logging should be set up.Requires Elasticsearch version 5.1 or later or OpenSearch version 1.0 or later. An explicit
falseis required when disabling it fromtrue.Default: - false
-
getAppLogGroup
Log Amazon OpenSearch Service application logs to this log group.Default: - a new log group is created if app logging is enabled
-
getAuditLogEnabled
Specify if Amazon OpenSearch Service audit logging should be set up.Requires Elasticsearch version 6.7 or later or OpenSearch version 1.0 or later and fine grained access control to be enabled.
Default: - false
-
getAuditLogGroup
Log Amazon OpenSearch Service audit logs to this log group.Default: - a new log group is created if audit logging is enabled
-
getSlowIndexLogEnabled
Specify if slow index logging should be set up.Requires Elasticsearch version 5.1 or later or OpenSearch version 1.0 or later. An explicit
falseis required when disabling it fromtrue.Default: - false
-
getSlowIndexLogGroup
Log slow indices to this log group.Default: - a new log group is created if slow index logging is enabled
-
getSlowSearchLogEnabled
Specify if slow search logging should be set up.Requires Elasticsearch version 5.1 or later or OpenSearch version 1.0 or later. An explicit
falseis required when disabling it fromtrue.Default: - false
-
getSlowSearchLogGroup
Log slow searches to this log group.Default: - a new log group is created if slow search logging is enabled
-
builder
- Returns:
- a
LoggingOptions.BuilderofLoggingOptions
-