Class LogTransformerTransformerConfigListToMap
- java.lang.Object
-
- com.pulumi.aws.cloudwatch.outputs.LogTransformerTransformerConfigListToMap
-
public final class LogTransformerTransformerConfigListToMap extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogTransformerTransformerConfigListToMap.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogTransformerTransformerConfigListToMap.Builderbuilder()static LogTransformerTransformerConfigListToMap.Builderbuilder(LogTransformerTransformerConfigListToMap defaults)java.util.Optional<java.lang.Boolean>flatten()java.util.Optional<java.lang.String>flattenedElement()java.lang.Stringkey()java.lang.Stringsource()java.util.Optional<java.lang.String>target()java.util.Optional<java.lang.String>valueKey()
-
-
-
Method Detail
-
flatten
public java.util.Optional<java.lang.Boolean> flatten()
- Returns:
- Specifies whether the list will be flattened into single items. Defaults to `false`.
-
flattenedElement
public java.util.Optional<java.lang.String> flattenedElement()
- Returns:
- Required if `flatten` is set to true. Specifies the element to keep. Allowed values are `first` and `last`.
-
key
public java.lang.String key()
- Returns:
- Specifies the key of the field to be extracted as keys in the generated map.
-
source
public java.lang.String source()
- Returns:
- Specifies the key in the log event that has a list of objects that will be converted to a map.
-
target
public java.util.Optional<java.lang.String> target()
- Returns:
- Specifies the key of the field that will hold the generated map.
-
valueKey
public java.util.Optional<java.lang.String> valueKey()
- Returns:
- Specifies the values that will be extracted from the source objects and put into the values of the generated map. If omitted, original objects in the source list will be put into the values of the generated map.
-
builder
public static LogTransformerTransformerConfigListToMap.Builder builder()
-
builder
public static LogTransformerTransformerConfigListToMap.Builder builder(LogTransformerTransformerConfigListToMap defaults)
-
-