import { Value } from '../../cloudformation/Value';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type ApiDestinationAttributes = {
    Arn: Attribute<string>;
};
export type ApiDestination = AwsResource<'AWS::Events::ApiDestination', ApiDestinationProperties, ApiDestinationAttributes>;
/**
  Creates an API destination, which is an HTTP invocation endpoint configured as a target for events.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-apidestination.html">the AWS Docs</a>
*/
export declare function apiDestination(apiDestinationProps: ApiDestinationProperties): ApiDestination;
/**
  Creates an API destination, which is an HTTP invocation endpoint configured as a target for events.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-apidestination.html">the AWS Docs</a>
*/
export interface ApiDestinationProperties {
    /** <code>Description</code>  <a name="cfn-events-apidestination-description"></a>
  A description for the API destination to create.<br />
  
  Required: No<br />
  
  Maximum: <code>512</code><br />
  
  Pattern: <code>.*</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    description?: Value<string>;
    /** <code>ConnectionArn</code>  <a name="cfn-events-apidestination-connectionarn"></a>
  The ARN of the connection to use for the API destination. The destination endpoint must support the authorization type specified for the connection.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>1600</code><br />
  
  Pattern: <code>^arn:aws([a-z]|\-)*:events:([a-z]|\d|\-)*:([0-9]{12})?:connection\/[\.\-_A-Za-z0-9]+\/[\-A-Za-z0-9]+$</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    connectionArn: Value<string>;
    /** <code>InvocationEndpoint</code>  <a name="cfn-events-apidestination-invocationendpoint"></a>
  The URL to the HTTP invocation endpoint for the API destination.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>2048</code><br />
  
  Pattern: <code>^((%[0-9A-Fa-f]{2}|[-()_.!~*';/?:@\x26=+$,A-Za-z0-9])+)([).!';/?:,])?$</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    invocationEndpoint: Value<string>;
    /** <code>HttpMethod</code>  <a name="cfn-events-apidestination-httpmethod"></a>
  The method to use for the request to the HTTP invocation endpoint.<br />
  
  Required: Yes<br />
  
  Allowed values: <code>DELETE | GET | HEAD | OPTIONS | PATCH | POST | PUT</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    httpMethod: Value<'DELETE' | 'GET' | 'HEAD' | 'OPTIONS' | 'PATCH' | 'POST' | 'PUT'>;
    /** <code>Name</code>  <a name="cfn-events-apidestination-name"></a>
  The name for the API destination to create.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>64</code><br />
  
  Pattern: <code>[\.\-_A-Za-z0-9]+</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    name?: Value<string>;
    /** <code>InvocationRateLimitPerSecond</code>  <a name="cfn-events-apidestination-invocationratelimitpersecond"></a>
  The maximum number of requests per second to send to the HTTP invocation endpoint.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    invocationRateLimitPerSecond?: Value<number>;
}
