Class LogGroupLogsDelivery
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.mixins.preview.services.logs.LogGroupLogsDelivery
- All Implemented Interfaces:
ILogsDelivery,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:27.983Z")
@Stability(Experimental)
public class LogGroupLogsDelivery
extends software.amazon.jsii.JsiiObject
implements ILogsDelivery
(experimental) Delivers vended logs to a CloudWatch Log Group.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.mixins.preview.services.logs.*; import software.amazon.awscdk.interfaces.logs.*; ILogGroupRef logGroupRef; LogGroupLogsDelivery logGroupLogsDelivery = new LogGroupLogsDelivery(logGroupRef);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.mixins.preview.services.logs.ILogsDelivery
ILogsDelivery.Jsii$Default, ILogsDelivery.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionLogGroupLogsDelivery(ILogGroupRef logGroup) (experimental) Creates a new log group delivery.protectedLogGroupLogsDelivery(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedLogGroupLogsDelivery(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescription(experimental) Binds Log Group to a source resource for the purposes of log delivery and creates a delivery source, a delivery destination, and a connection between them.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
LogGroupLogsDelivery
protected LogGroupLogsDelivery(software.amazon.jsii.JsiiObjectRef objRef) -
LogGroupLogsDelivery
protected LogGroupLogsDelivery(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
LogGroupLogsDelivery
(experimental) Creates a new log group delivery.- Parameters:
logGroup-- The CloudWatch Logs log group reference.
-
-
Method Details
-
bind
@Stability(Experimental) @NotNull public ILogsDeliveryConfig bind(@NotNull software.constructs.IConstruct scope, @NotNull String logType, @NotNull String sourceResourceArn) (experimental) Binds Log Group to a source resource for the purposes of log delivery and creates a delivery source, a delivery destination, and a connection between them.- Specified by:
bindin interfaceILogsDelivery- Parameters:
scope- This parameter is required.logType- This parameter is required.sourceResourceArn- This parameter is required.- Returns:
- The delivery reference
-