Class DestinationLogsDelivery
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.mixins.preview.services.logs.DestinationLogsDelivery
- All Implemented Interfaces:
ILogsDelivery,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-02T21:55:37.197Z")
@Stability(Experimental)
public class DestinationLogsDelivery
extends software.amazon.jsii.JsiiObject
implements ILogsDelivery
(experimental) Delivers vended logs to a CfnDeliveryDestination specified by an arn.
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.*;
IDeliveryDestinationRef deliveryDestinationRef;
DestinationLogsDelivery destinationLogsDelivery = DestinationLogsDelivery.Builder.create(deliveryDestinationRef)
.mandatoryFields(List.of("mandatoryFields"))
.providedFields(List.of("providedFields"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class(experimental) A fluent builder forDestinationLogsDelivery.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
ConstructorsModifierConstructorDescriptionDestinationLogsDelivery(IDeliveryDestinationRef destination) DestinationLogsDelivery(IDeliveryDestinationRef destination, RecordFieldDeliveryProps props) protectedDestinationLogsDelivery(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedDestinationLogsDelivery(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescription(experimental) Binds Delivery Destination to a source resource for the purposes of log delivery and creates a delivery source and a connection between the source and the destination.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
-
DestinationLogsDelivery
protected DestinationLogsDelivery(software.amazon.jsii.JsiiObjectRef objRef) -
DestinationLogsDelivery
protected DestinationLogsDelivery(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
DestinationLogsDelivery
@Stability(Experimental) public DestinationLogsDelivery(@NotNull IDeliveryDestinationRef destination, @Nullable RecordFieldDeliveryProps props) - Parameters:
destination- This parameter is required.props-
-
DestinationLogsDelivery
@Stability(Experimental) public DestinationLogsDelivery(@NotNull IDeliveryDestinationRef destination) - Parameters:
destination- This parameter is required.
-
-
Method Details
-
bind
@Stability(Experimental) @NotNull public ILogsDeliveryConfig bind(@NotNull software.constructs.IConstruct scope, @NotNull String logType, @NotNull String sourceResourceArn) (experimental) Binds Delivery Destination to a source resource for the purposes of log delivery and creates a delivery source and a connection between the source and the destination.- Specified by:
bindin interfaceILogsDelivery- Parameters:
scope- This parameter is required.logType- This parameter is required.sourceResourceArn- This parameter is required.- Returns:
- The delivery reference
-