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();
 
  • 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:
      bind in interface ILogsDelivery
      Parameters:
      scope - This parameter is required.
      logType - This parameter is required.
      sourceResourceArn - This parameter is required.
      Returns:
      The delivery reference