Rule

public struct Rule : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • arn

    The Amazon Resource Name (ARN) of the rule.

    Declaration

    Swift

    public let arn: String?
  • The description of the rule.

    Declaration

    Swift

    public let description: String?
  • The event bus associated with the rule.

    Declaration

    Swift

    public let eventBusName: String?
  • The event pattern of the rule. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

    Declaration

    Swift

    public let eventPattern: String?
  • If the rule was created on behalf of your account by an AWS service, this field displays the principal name of the service that created the rule.

    Declaration

    Swift

    public let managedBy: String?
  • The name of the rule.

    Declaration

    Swift

    public let name: String?
  • The Amazon Resource Name (ARN) of the role that is used for target invocation.

    Declaration

    Swift

    public let roleArn: String?
  • The scheduling expression. For example, “cron(0 20 * * ? *)”, “rate(5 minutes)”.

    Declaration

    Swift

    public let scheduleExpression: String?
  • The state of the rule.

    Declaration

    Swift

    public let state: RuleState?
  • Undocumented

    Declaration

    Swift

    public init(arn: String? = nil, description: String? = nil, eventBusName: String? = nil, eventPattern: String? = nil, managedBy: String? = nil, name: String? = nil, roleArn: String? = nil, scheduleExpression: String? = nil, state: RuleState? = nil)