VendedLogParser Class
Parser processor for AWS vended logs.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';
const vendedLogParser = new logs.VendedLogParser({
logType: logs.VendedLogType.CLOUDFRONT,
// the properties below are optional
source: 'source',
});
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_logs as logs
vended_log_parser = logs.VendedLogParser(
log_type=logs.VendedLogType.CLOUDFRONT,
# the properties below are optional
source="source"
)
java
// 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.*;
VendedLogParser vendedLogParser = VendedLogParser.Builder.create()
.logType(VendedLogType.CLOUDFRONT)
// the properties below are optional
.source("source")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Logs;
var vendedLogParser = new VendedLogParser(new VendedLogParserProps {
LogType = VendedLogType.CLOUDFRONT,
// the properties below are optional
Source = "source"
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
vendedLogParser := awscdk.Aws_logs.NewVendedLogParser(&VendedLogParserProps{
LogType: awscdk.*Aws_logs.VendedLogType_CLOUDFRONT,
// the properties below are optional
Source: jsii.String("source"),
})
Initializer
ts
new VendedLogParser(props: VendedLogParserProps)
python
VendedLogParser(props: VendedLogParserProps)
java
new VendedLogParser(VendedLogParserProps props)
csharp
new VendedLogParser(VendedLogParserProps props)
go
NewVendedLogParser(Props VendedLogParserProps)
Properties
logTypeVendedLogTypelog_typeVendedLogTypelogTypeVendedLogTypeLogTypeVendedLogTypeLogTypeVendedLogTyperequired#The type of AWS vended log.