import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  Creates a listener for a service. Before you start using your Amazon VPC Lattice service, you must add one or more listeners. A listener is a process that checks for connection requests to your services. For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html">Listeners</a> in the <em>Amazon VPC Lattice User Guide</em>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-listener.html">the AWS Docs</a>
*/
export function listener(listenerProps) {
    return new AwsResource('AWS::VpcLattice::Listener', listenerProps, { Id: 'Id', ServiceArn: 'ServiceArn', Arn: 'Arn', ServiceId: 'ServiceId' });
}
