Interface CfnDestinationProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDestinationProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:38.073Z") @Stability(Stable) public interface CfnDestinationProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnDestination.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.logs.*;
 CfnDestinationProps cfnDestinationProps = CfnDestinationProps.builder()
         .destinationName("destinationName")
         .roleArn("roleArn")
         .targetArn("targetArn")
         // the properties below are optional
         .destinationPolicy("destinationPolicy")
         .build();
 
  • Method Details

    • getDestinationName

      @Stability(Stable) @NotNull String getDestinationName()
      The name of the destination.
    • getRoleArn

      @Stability(Stable) @NotNull String getRoleArn()
      The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource.
    • getTargetArn

      @Stability(Stable) @NotNull String getTargetArn()
      The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).
    • getDestinationPolicy

      @Stability(Stable) @Nullable default String getDestinationPolicy()
      An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
    • builder

      @Stability(Stable) static CfnDestinationProps.Builder builder()
      Returns:
      a CfnDestinationProps.Builder of CfnDestinationProps