PutRuleRequest
public struct PutRuleRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
A description of the rule.
Declaration
Swift
public let description: String?
-
The event bus to associate with this rule. If you omit this, the default event bus is used.
Declaration
Swift
public let eventBusName: String?
-
The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
Declaration
Swift
public let eventPattern: String?
-
The name of the rule that you are creating or updating.
Declaration
Swift
public let name: String
-
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
Declaration
Swift
public let roleArn: String?
-
The scheduling expression. For example, “cron(0 20 * * ? *)” or “rate(5 minutes)”.
Declaration
Swift
public let scheduleExpression: String?
-
Indicates whether the rule is enabled or disabled.
Declaration
Swift
public let state: RuleState?
-
The list of key-value pairs to associate with the rule.
Declaration
Swift
public let tags: [Tag]?
-
Declaration
Swift
public func validate(name: String) throws