Interface ParseToOCSFProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ParseToOCSFProperty.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:13.230Z")
@Stability(Stable)
public interface ParseToOCSFProperty
extends software.amazon.jsii.JsiiSerializable
Processor to parse events from CloudTrail, Route53Resolver, VPCFlow, EKSAudit and AWSWAF into OCSF V1.1 format.
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.logs.*;
ParseToOCSFProperty parseToOCSFProperty = ParseToOCSFProperty.builder()
.eventSource(OCSFSourceType.CLOUD_TRAIL)
.ocsfVersion(OCSFVersion.V1_1)
// the properties below are optional
.source("source")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forParseToOCSFPropertystatic final classAn implementation forParseToOCSFProperty -
Method Summary
Modifier and TypeMethodDescriptionstatic ParseToOCSFProperty.Builderbuilder()Type of input log event source to convert to OCSF format.Version of OCSF schema to convert to.default StringPath to the field in the log event that will be parsed.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEventSource
Type of input log event source to convert to OCSF format. -
getOcsfVersion
Version of OCSF schema to convert to. -
getSource
Path to the field in the log event that will be parsed.Use dot notation to access child fields.
Default: '@message'
-
builder
- Returns:
- a
ParseToOCSFProperty.BuilderofParseToOCSFProperty
-