-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Expand file tree
/
Copy pathconfig.schema.yaml
More file actions
42 lines (42 loc) · 2.14 KB
/
config.schema.yaml
File metadata and controls
42 lines (42 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
$defs:
s_3_config:
description: S3Config defines configuration options for the S3 Lambda trigger. It supersedes the sharedConfig for the s3 key. sharedConfig is embedded with mapstructure:",squash" so the "encoding" key remains at the top level of the s3 block in YAML — fully backwards-compatible.
type: object
properties:
encoding:
description: Encoding defines the encoding to decode incoming Lambda invocation data.
type: string
encodings:
description: Encodings defines multiple encoding entries for S3 path-based routing (multi-format mode). Each entry maps a path_pattern prefix to an encoding extension. Mutually exclusive with sharedConfig.Encoding.
type: array
items:
$ref: s_3_encoding
s_3_encoding:
description: S3Encoding defines one entry in the S3 multi-encoding routing table.
type: object
properties:
encoding:
description: Encoding is the extension ID for decoding (e.g. "awslogs_encoding/vpcflow"). If empty, content is passed through as-is using the built-in raw decoder.
type: string
name:
description: Name identifies the encoding. For known names (vpcflow, cloudtrail, elbaccess, waf, networkfirewall) the default path_pattern is applied automatically.
type: string
path_pattern:
description: 'PathPattern is matched as a prefix against the S3 object key. "*" matches exactly one path segment. Example: "AWSLogs/*/vpcflowlogs" If empty, the default pattern for a known Name is used.'
type: string
description: Config is the top-level configuration for the awslambda receiver.
type: object
properties:
cloudwatch:
description: CloudWatch defines configuration for the CloudWatch Logs Lambda trigger.
type: object
properties:
encoding:
description: Encoding defines the encoding to decode incoming Lambda invocation data.
type: string
failure_bucket_arn:
description: FailureBucketARN is the ARN of the S3 bucket used to store failed Lambda event records.
type: string
s3:
description: S3 defines configuration for the S3 Lambda trigger.
$ref: s_3_config