import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  Creates a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions. For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html#listener-rules">Listener rules</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-rule.html">the AWS Docs</a>
*/
export function rule(ruleProps) {
    return new AwsResource('AWS::VpcLattice::Rule', ruleProps, { Id: 'Id', Arn: 'Arn' });
}
