Interface ApiDestinationAttributes

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

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:02.167Z") @Stability(Stable) public interface ApiDestinationAttributes extends software.amazon.jsii.JsiiSerializable
The properties to import an existing Api Destination.

Example:

 IConnection connection = Connection.fromEventBusArn(this, "Connection", "arn:aws:events:us-east-1:123456789012:event-bus/EventBusName", "arn:aws:secretsmanager:us-east-1:123456789012:secret:SecretName-f3gDy9");
 String apiDestinationArn = "arn:aws:events:us-east-1:123456789012:api-destination/DestinationName";
 ApiDestination destination = ApiDestination.fromApiDestinationAttributes(this, "Destination", ApiDestinationAttributes.builder().apiDestinationArn(apiDestinationArn).connection(connection).build());
 Rule rule = Rule.Builder.create(this, "OtherRule")
         .schedule(Schedule.rate(Duration.minutes(10)))
         .targets(List.of(new ApiDestination(destination)))
         .build();