import { Value } from '../../cloudformation/Value';
import { Tag } from '../Tag';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type EventBusAttributes = {
    Arn: Attribute<string>;
    Name: Attribute<string>;
};
export type EventBus = AwsResource<'AWS::Events::EventBus', EventBusProperties, EventBusAttributes>;
/**
  Creates a new event bus within your account. This can be a custom event bus which you can use to receive events from your custom applications and services, or it can be a partner event bus which can be matched to a partner event source.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html">the AWS Docs</a>
*/
export declare function eventBus(eventBusProps: EventBusProperties): EventBus;
/**
  Creates a new event bus within your account. This can be a custom event bus which you can use to receive events from your custom applications and services, or it can be a partner event bus which can be matched to a partner event source.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html">the AWS Docs</a>
*/
export interface EventBusProperties {
    /**  */
    policy?: Value<any>;
    /** <code>EventSourceName</code>  <a name="cfn-events-eventbus-eventsourcename"></a>
  If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>256</code><br />
  
  Pattern: <code>aws\.partner(/[\.\-_A-Za-z0-9]+){2,}</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> */
    eventSourceName?: Value<string>;
    /** <code>Tags</code>  <a name="cfn-events-eventbus-tags"></a>
  Tags to associate with the event bus.<br />
  
  Required: No<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> */
    tags?: Tag[];
    /** <code>Name</code>  <a name="cfn-events-eventbus-name"></a>
  The name of the new event bus.<br />
  Custom event bus names can’t contain the <code>/</code> character, but you can use the <code>/</code> character in partner event bus names. In addition, for partner event buses, the name must exactly match the name of the partner event source that this event bus is matched to.<br />
  You can’t use the name <code>default</code> for a custom event bus, as this name is already used for your account’s default event bus.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>256</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>;
}
