Class CfnKnowledgeBaseApplicationLogs

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnKnowledgeBaseApplicationLogs
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-02T12:05:22.462Z") @Stability(Stable) public class CfnKnowledgeBaseApplicationLogs extends software.amazon.jsii.JsiiObject
Builder for CfnKnowledgeBaseLogsMixin to generate APPLICATION_LOGS for CfnKnowledgeBase.

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.bedrock.mixins.*;
 CfnKnowledgeBaseApplicationLogs cfnKnowledgeBaseApplicationLogs = new CfnKnowledgeBaseApplicationLogs();
 
  • Constructor Details

    • CfnKnowledgeBaseApplicationLogs

      protected CfnKnowledgeBaseApplicationLogs(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnKnowledgeBaseApplicationLogs

      protected CfnKnowledgeBaseApplicationLogs(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnKnowledgeBaseApplicationLogs

      @Stability(Experimental) public CfnKnowledgeBaseApplicationLogs()
  • Method Details

    • toDestination

      @Stability(Stable) @NotNull public CfnKnowledgeBaseLogsMixin toDestination(@NotNull IDeliveryDestinationRef destination, @Nullable CfnKnowledgeBaseApplicationLogsDestProps props)
      Delivers logs to a pre-created delivery destination.

      Supported destinations are S3, CWL, FH You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you. Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().

      Parameters:
      destination - This parameter is required.
      props - Additional properties that are optionally used in log delivery for destinations.
    • toDestination

      @Stability(Stable) @NotNull public CfnKnowledgeBaseLogsMixin toDestination(@NotNull IDeliveryDestinationRef destination)
      Delivers logs to a pre-created delivery destination.

      Supported destinations are S3, CWL, FH You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you. Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().

      Parameters:
      destination - This parameter is required.
    • toFirehose

      @Stability(Stable) @NotNull public CfnKnowledgeBaseLogsMixin toFirehose(@NotNull IDeliveryStreamRef deliveryStream, @Nullable CfnKnowledgeBaseApplicationLogsFirehoseProps props)
      Send logs to a Firehose Delivery Stream.

      Parameters:
      deliveryStream - This parameter is required.
      props - Additional properties that are optionally used in log delivery for Firehose destinations.
    • toFirehose

      @Stability(Stable) @NotNull public CfnKnowledgeBaseLogsMixin toFirehose(@NotNull IDeliveryStreamRef deliveryStream)
      Send logs to a Firehose Delivery Stream.

      Parameters:
      deliveryStream - This parameter is required.
    • toLogGroup

      @Stability(Stable) @NotNull public CfnKnowledgeBaseLogsMixin toLogGroup(@NotNull ILogGroupRef logGroup, @Nullable CfnKnowledgeBaseApplicationLogsLogGroupProps props)
      Send logs to a CloudWatch Log Group.

      Parameters:
      logGroup - This parameter is required.
      props - Additional properties that are optionally used in log delivery for Log Group destinations.
    • toLogGroup

      @Stability(Stable) @NotNull public CfnKnowledgeBaseLogsMixin toLogGroup(@NotNull ILogGroupRef logGroup)
      Send logs to a CloudWatch Log Group.

      Parameters:
      logGroup - This parameter is required.
    • toS3

      @Stability(Stable) @NotNull public CfnKnowledgeBaseLogsMixin toS3(@NotNull IBucketRef bucket, @Nullable CfnKnowledgeBaseApplicationLogsS3Props props)
      Send logs to an S3 Bucket.

      Parameters:
      bucket - This parameter is required.
      props - Additional properties that are optionally used in log delivery for S3 destinations.
    • toS3

      @Stability(Stable) @NotNull public CfnKnowledgeBaseLogsMixin toS3(@NotNull IBucketRef bucket)
      Send logs to an S3 Bucket.

      Parameters:
      bucket - This parameter is required.