Interface CfnChannel.DestinationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnChannel.DestinationProperty.Jsii$Proxy
Enclosing class:
CfnChannel

@Stability(Stable) public static interface CfnChannel.DestinationProperty extends software.amazon.jsii.JsiiSerializable
Contains information about the destination receiving events.

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.cloudtrail.*;
 DestinationProperty destinationProperty = DestinationProperty.builder()
         .location("location")
         .type("type")
         .build();
 
  • Method Details

    • getLocation

      @Stability(Stable) @NotNull String getLocation()
      For channels used for a CloudTrail Lake integration, the location is the ARN of an event data store that receives events from a channel.

      For service-linked channels, the location is the name of the AWS service.

    • getType

      @Stability(Stable) @NotNull String getType()
      The type of destination for events arriving from a channel.

      For channels used for a CloudTrail Lake integration, the value is EventDataStore . For service-linked channels, the value is AWS_SERVICE .

    • builder

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