blob: 7a607c2cd451342dab1b218c3ae2fe4f426729af [file] [log] [blame]
// 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>{&quot;source&quot;: [{&quot;prefix&quot;: &quot;acs.&quot;}],&quot;type&quot;: [{&quot;prefix&quot;:&quot;oss:ObjectReplication&quot;}],&quot;subject&quot;:[{&quot;prefix&quot;:&quot;acs:oss:cn-hangzhou:123456789098****:my-movie-bucket/&quot;, &quot;suffix&quot;:&quot;.txt&quot;}]}</para>
/// </summary>
[NameInMap("filterPattern")]
[Validation(Required=false)]
public string FilterPattern { get; set; }
}
}