@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.330Z") @Stability(value=Stable) public abstract class LogGroupTargetInput extends software.amazon.jsii.JsiiObject
Example:
// Example automatically generated from non-compiling source. May contain errors.
import software.amazon.awscdk.services.logs.*;
LogGroup logGroup;
Rule rule;
rule.addTarget(CloudWatchLogGroup.Builder.create(logGroup)
.logEvent(LogGroupTargetInput(Map.of(
"timestamp", EventField.from("$.time"),
"message", EventField.from("$.detail-type"))))
.build());
| Modifier | Constructor and Description |
|---|---|
protected |
LogGroupTargetInput() |
protected |
LogGroupTargetInput(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
LogGroupTargetInput(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
abstract RuleTargetInputProperties |
bind(IRule rule)
Return the input properties for this input object.
|
static RuleTargetInput |
fromObject()
Pass a JSON object to the the log group event target.
|
static RuleTargetInput |
fromObject(LogGroupTargetInputOptions options)
Pass a JSON object to the the log group event target.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected LogGroupTargetInput(software.amazon.jsii.JsiiObjectRef objRef)
protected LogGroupTargetInput(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) protected LogGroupTargetInput()
@Stability(value=Stable) @NotNull public static RuleTargetInput fromObject(@Nullable LogGroupTargetInputOptions options)
May contain strings returned by EventField.from() to substitute in parts of the
matched event.
options - @Stability(value=Stable) @NotNull public static RuleTargetInput fromObject()
May contain strings returned by EventField.from() to substitute in parts of the
matched event.
@Stability(value=Stable) @NotNull public abstract RuleTargetInputProperties bind(@NotNull IRule rule)
rule - This parameter is required.Copyright © 2022. All rights reserved.