import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  Creates a connection. A connection defines the authorization type and credentials to use for authorization with an API destination HTTP endpoint.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html">the AWS Docs</a>
*/
export function connection(connectionProps) {
    return new AwsResource('AWS::Events::Connection', connectionProps, { SecretArn: 'SecretArn', Arn: 'Arn' });
}
