VendedLogParserProps Struct
Properties for creating AWS vended log parsers.
| Source | aws-logs/lib/transformer.ts |
|---|---|
| Type last changed |
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 vendedLogParserProps: logs.VendedLogParserProps = {
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_props = logs.VendedLogParserProps(
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.*;
VendedLogParserProps vendedLogParserProps = VendedLogParserProps.builder()
.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 vendedLogParserProps = 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"
vendedLogParserProps := &VendedLogParserProps{
LogType: awscdk.Aws_logs.VendedLogType_CLOUDFRONT,
// the properties below are optional
Source: jsii.String("source"),
}
Properties
logTypeVendedLogTypelog_typeVendedLogTypelogTypeVendedLogTypeLogTypeVendedLogTypeLogTypeVendedLogType required #The type of AWS vended log to parse.
sourceoptionalstringsourceoptionalstrsourceoptionalStringSourceoptionalstringSourceoptional*string #Source field to parse.