Class CfnTransformerPropsMixin.ProcessorProperty
This structure contains the information about one processor in a log transformer.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnTransformerPropsMixin.ProcessorProperty : CfnTransformerPropsMixin.IProcessorProperty
Syntax (vb)
Public Class CfnTransformerPropsMixin.ProcessorProperty Implements CfnTransformerPropsMixin.IProcessorProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins;
var processorProperty = new ProcessorProperty {
AddKeys = new AddKeysProperty {
Entries = new [] { new AddKeyEntryProperty {
Key = "key",
OverwriteIfExists = false,
Value = "value"
} }
},
CopyValue = new CopyValueProperty {
Entries = new [] { new CopyValueEntryProperty {
OverwriteIfExists = false,
Source = "source",
Target = "target"
} }
},
Csv = new CsvProperty {
Columns = new [] { "columns" },
Delimiter = "delimiter",
QuoteCharacter = "quoteCharacter",
Source = "source"
},
DateTimeConverter = new DateTimeConverterProperty {
Locale = "locale",
MatchPatterns = new [] { "matchPatterns" },
Source = "source",
SourceTimezone = "sourceTimezone",
Target = "target",
TargetFormat = "targetFormat",
TargetTimezone = "targetTimezone"
},
DeleteKeys = new DeleteKeysProperty {
WithKeys = new [] { "withKeys" }
},
Grok = new GrokProperty {
Match = "match",
Source = "source"
},
ListToMap = new ListToMapProperty {
Flatten = false,
FlattenedElement = "flattenedElement",
Key = "key",
Source = "source",
Target = "target",
ValueKey = "valueKey"
},
LowerCaseString = new LowerCaseStringProperty {
WithKeys = new [] { "withKeys" }
},
MoveKeys = new MoveKeysProperty {
Entries = new [] { new MoveKeyEntryProperty {
OverwriteIfExists = false,
Source = "source",
Target = "target"
} }
},
ParseCloudfront = new ParseCloudfrontProperty {
Source = "source"
},
ParseJson = new ParseJSONProperty {
Destination = "destination",
Source = "source"
},
ParseKeyValue = new ParseKeyValueProperty {
Destination = "destination",
FieldDelimiter = "fieldDelimiter",
KeyPrefix = "keyPrefix",
KeyValueDelimiter = "keyValueDelimiter",
NonMatchValue = "nonMatchValue",
OverwriteIfExists = false,
Source = "source"
},
ParsePostgres = new ParsePostgresProperty {
Source = "source"
},
ParseRoute53 = new ParseRoute53Property {
Source = "source"
},
ParseToOcsf = new ParseToOCSFProperty {
EventSource = "eventSource",
MappingVersion = "mappingVersion",
OcsfVersion = "ocsfVersion",
Source = "source"
},
ParseVpc = new ParseVPCProperty {
Source = "source"
},
ParseWaf = new ParseWAFProperty {
Source = "source"
},
RenameKeys = new RenameKeysProperty {
Entries = new [] { new RenameKeyEntryProperty {
Key = "key",
OverwriteIfExists = false,
RenameTo = "renameTo"
} }
},
SplitString = new SplitStringProperty {
Entries = new [] { new SplitStringEntryProperty {
Delimiter = "delimiter",
Source = "source"
} }
},
SubstituteString = new SubstituteStringProperty {
Entries = new [] { new SubstituteStringEntryProperty {
From = "from",
Source = "source",
To = "to"
} }
},
TrimString = new TrimStringProperty {
WithKeys = new [] { "withKeys" }
},
TypeConverter = new TypeConverterProperty {
Entries = new [] { new TypeConverterEntryProperty {
Key = "key",
Type = "type"
} }
},
UpperCaseString = new UpperCaseStringProperty {
WithKeys = new [] { "withKeys" }
}
};
Synopsis
Constructors
| ProcessorProperty() | This structure contains the information about one processor in a log transformer. |
Properties
| AddKeys | Use this parameter to include the addKeys processor in your transformer. |
| CopyValue | Use this parameter to include the copyValue processor in your transformer. |
| Csv | Use this parameter to include the CSV processor in your transformer. |
| DateTimeConverter | Use this parameter to include the datetimeConverter processor in your transformer. |
| DeleteKeys | Use this parameter to include the deleteKeys processor in your transformer. |
| Grok | Use this parameter to include the grok processor in your transformer. |
| ListToMap | Use this parameter to include the listToMap processor in your transformer. |
| LowerCaseString | Use this parameter to include the lowerCaseString processor in your transformer. |
| MoveKeys | Use this parameter to include the moveKeys processor in your transformer. |
| ParseCloudfront | Use this parameter to include the parseCloudfront processor in your transformer. |
| ParseJson | Use this parameter to include the parseJSON processor in your transformer. |
| ParseKeyValue | Use this parameter to include the parseKeyValue processor in your transformer. |
| ParsePostgres | Use this parameter to include the parsePostGres processor in your transformer. |
| ParseRoute53 | Use this parameter to include the parseRoute53 processor in your transformer. |
| ParseToOcsf | Use this parameter to convert logs into Open Cybersecurity Schema (OCSF) format. |
| ParseVpc | Use this parameter to include the parseVPC processor in your transformer. |
| ParseWaf | Use this parameter to include the parseWAF processor in your transformer. |
| RenameKeys | Use this parameter to include the renameKeys processor in your transformer. |
| SplitString | Use this parameter to include the splitString processor in your transformer. |
| SubstituteString | Use this parameter to include the substituteString processor in your transformer. |
| TrimString | Use this parameter to include the trimString processor in your transformer. |
| TypeConverter | Use this parameter to include the typeConverter processor in your transformer. |
| UpperCaseString | Use this parameter to include the upperCaseString processor in your transformer. |
Constructors
ProcessorProperty()
This structure contains the information about one processor in a log transformer.
public ProcessorProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins;
var processorProperty = new ProcessorProperty {
AddKeys = new AddKeysProperty {
Entries = new [] { new AddKeyEntryProperty {
Key = "key",
OverwriteIfExists = false,
Value = "value"
} }
},
CopyValue = new CopyValueProperty {
Entries = new [] { new CopyValueEntryProperty {
OverwriteIfExists = false,
Source = "source",
Target = "target"
} }
},
Csv = new CsvProperty {
Columns = new [] { "columns" },
Delimiter = "delimiter",
QuoteCharacter = "quoteCharacter",
Source = "source"
},
DateTimeConverter = new DateTimeConverterProperty {
Locale = "locale",
MatchPatterns = new [] { "matchPatterns" },
Source = "source",
SourceTimezone = "sourceTimezone",
Target = "target",
TargetFormat = "targetFormat",
TargetTimezone = "targetTimezone"
},
DeleteKeys = new DeleteKeysProperty {
WithKeys = new [] { "withKeys" }
},
Grok = new GrokProperty {
Match = "match",
Source = "source"
},
ListToMap = new ListToMapProperty {
Flatten = false,
FlattenedElement = "flattenedElement",
Key = "key",
Source = "source",
Target = "target",
ValueKey = "valueKey"
},
LowerCaseString = new LowerCaseStringProperty {
WithKeys = new [] { "withKeys" }
},
MoveKeys = new MoveKeysProperty {
Entries = new [] { new MoveKeyEntryProperty {
OverwriteIfExists = false,
Source = "source",
Target = "target"
} }
},
ParseCloudfront = new ParseCloudfrontProperty {
Source = "source"
},
ParseJson = new ParseJSONProperty {
Destination = "destination",
Source = "source"
},
ParseKeyValue = new ParseKeyValueProperty {
Destination = "destination",
FieldDelimiter = "fieldDelimiter",
KeyPrefix = "keyPrefix",
KeyValueDelimiter = "keyValueDelimiter",
NonMatchValue = "nonMatchValue",
OverwriteIfExists = false,
Source = "source"
},
ParsePostgres = new ParsePostgresProperty {
Source = "source"
},
ParseRoute53 = new ParseRoute53Property {
Source = "source"
},
ParseToOcsf = new ParseToOCSFProperty {
EventSource = "eventSource",
MappingVersion = "mappingVersion",
OcsfVersion = "ocsfVersion",
Source = "source"
},
ParseVpc = new ParseVPCProperty {
Source = "source"
},
ParseWaf = new ParseWAFProperty {
Source = "source"
},
RenameKeys = new RenameKeysProperty {
Entries = new [] { new RenameKeyEntryProperty {
Key = "key",
OverwriteIfExists = false,
RenameTo = "renameTo"
} }
},
SplitString = new SplitStringProperty {
Entries = new [] { new SplitStringEntryProperty {
Delimiter = "delimiter",
Source = "source"
} }
},
SubstituteString = new SubstituteStringProperty {
Entries = new [] { new SubstituteStringEntryProperty {
From = "from",
Source = "source",
To = "to"
} }
},
TrimString = new TrimStringProperty {
WithKeys = new [] { "withKeys" }
},
TypeConverter = new TypeConverterProperty {
Entries = new [] { new TypeConverterEntryProperty {
Key = "key",
Type = "type"
} }
},
UpperCaseString = new UpperCaseStringProperty {
WithKeys = new [] { "withKeys" }
}
};
Properties
AddKeys
Use this parameter to include the addKeys processor in your transformer.
public object? AddKeys { get; set; }
Property Value
Remarks
CopyValue
Use this parameter to include the copyValue processor in your transformer.
public object? CopyValue { get; set; }
Property Value
Remarks
Csv
Use this parameter to include the CSV processor in your transformer.
public object? Csv { get; set; }
Property Value
Remarks
DateTimeConverter
Use this parameter to include the datetimeConverter processor in your transformer.
public object? DateTimeConverter { get; set; }
Property Value
Remarks
DeleteKeys
Use this parameter to include the deleteKeys processor in your transformer.
public object? DeleteKeys { get; set; }
Property Value
Remarks
Grok
Use this parameter to include the grok processor in your transformer.
public object? Grok { get; set; }
Property Value
Remarks
ListToMap
Use this parameter to include the listToMap processor in your transformer.
public object? ListToMap { get; set; }
Property Value
Remarks
LowerCaseString
Use this parameter to include the lowerCaseString processor in your transformer.
public object? LowerCaseString { get; set; }
Property Value
Remarks
MoveKeys
Use this parameter to include the moveKeys processor in your transformer.
public object? MoveKeys { get; set; }
Property Value
Remarks
ParseCloudfront
Use this parameter to include the parseCloudfront processor in your transformer.
public object? ParseCloudfront { get; set; }
Property Value
Remarks
If you use this processor, it must be the first processor in your transformer.
Type union: either IResolvable or CfnTransformerPropsMixin.IParseCloudfrontProperty
ParseJson
Use this parameter to include the parseJSON processor in your transformer.
public object? ParseJson { get; set; }
Property Value
Remarks
ParseKeyValue
Use this parameter to include the parseKeyValue processor in your transformer.
public object? ParseKeyValue { get; set; }
Property Value
Remarks
ParsePostgres
Use this parameter to include the parsePostGres processor in your transformer.
public object? ParsePostgres { get; set; }
Property Value
Remarks
If you use this processor, it must be the first processor in your transformer.
Type union: either IResolvable or CfnTransformerPropsMixin.IParsePostgresProperty
ParseRoute53
Use this parameter to include the parseRoute53 processor in your transformer.
public object? ParseRoute53 { get; set; }
Property Value
Remarks
If you use this processor, it must be the first processor in your transformer.
Type union: either IResolvable or CfnTransformerPropsMixin.IParseRoute53Property
ParseToOcsf
Use this parameter to convert logs into Open Cybersecurity Schema (OCSF) format.
public object? ParseToOcsf { get; set; }
Property Value
Remarks
ParseVpc
Use this parameter to include the parseVPC processor in your transformer.
public object? ParseVpc { get; set; }
Property Value
Remarks
If you use this processor, it must be the first processor in your transformer.
Type union: either IResolvable or CfnTransformerPropsMixin.IParseVPCProperty
ParseWaf
Use this parameter to include the parseWAF processor in your transformer.
public object? ParseWaf { get; set; }
Property Value
Remarks
If you use this processor, it must be the first processor in your transformer.
Type union: either IResolvable or CfnTransformerPropsMixin.IParseWAFProperty
RenameKeys
Use this parameter to include the renameKeys processor in your transformer.
public object? RenameKeys { get; set; }
Property Value
Remarks
SplitString
Use this parameter to include the splitString processor in your transformer.
public object? SplitString { get; set; }
Property Value
Remarks
SubstituteString
Use this parameter to include the substituteString processor in your transformer.
public object? SubstituteString { get; set; }
Property Value
Remarks
TrimString
Use this parameter to include the trimString processor in your transformer.
public object? TrimString { get; set; }
Property Value
Remarks
TypeConverter
Use this parameter to include the typeConverter processor in your transformer.
public object? TypeConverter { get; set; }
Property Value
Remarks
UpperCaseString
Use this parameter to include the upperCaseString processor in your transformer.
public object? UpperCaseString { get; set; }