| // This file is auto-generated, don't edit it. Thanks. |
| |
| using System; |
| using System.Collections.Generic; |
| using System.IO; |
| |
| using Tea; |
| |
| namespace RocketMQ.Eventbridge.SDK.Models |
| { |
| /// <term><b>Description:</b></term> |
| /// <description> |
| /// <para>EventRule Controller apis: |
| /// createEventRule * |
| /// getEventRule * |
| /// deleteEventRule * |
| /// updateEventRule * |
| /// listEventRules * |
| /// enableEventRule * |
| /// disableEventRule *</para> |
| /// </description> |
| public class CreateEventRuleRequest : TeaModel { |
| /// <summary> |
| /// <para>The name of the event bus with which the event source is associated. |
| /// This parameter is required.</para> |
| /// |
| /// <b>Example:</b> |
| /// <para>my-event-bus</para> |
| /// </summary> |
| [NameInMap("eventBusName")] |
| [Validation(Required=false)] |
| public string EventBusName { get; set; } |
| |
| /// <summary> |
| /// <para>The name of the event rule. |
| /// This parameter is required.</para> |
| /// |
| /// <b>Example:</b> |
| /// <para>myrabbitmq.sourc</para> |
| /// </summary> |
| [NameInMap("eventRuleName")] |
| [Validation(Required=false)] |
| public string EventRuleName { get; set; } |
| |
| [NameInMap("description")] |
| [Validation(Required=false)] |
| public string Description { get; set; } |
| |
| /// <summary> |
| /// <para>The event pattern, in JSON format. Valid values: stringEqual and stringExpression. You can specify up to five expressions in the map data structure in each field.</para> |
| /// <pre><c>You can specify up to five expressions in the map data structure in each field. |
| /// </c></pre> |
| /// |
| /// <b>Example:</b> |
| /// <para>{"source": [{"prefix": "acs."}],"type": [{"prefix":"oss:ObjectReplication"}],"subject":[{"prefix":"acs:oss:cn-hangzhou:123456789098****:my-movie-bucket/", "suffix":".txt"}]}</para> |
| /// </summary> |
| [NameInMap("filterPattern")] |
| [Validation(Required=false)] |
| public string FilterPattern { get; set; } |
| |
| } |
| |
| } |