class
Amazonite::EventBridge::DescribeRuleResponse
- Amazonite::EventBridge::DescribeRuleResponse
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
eventbridge/describe_rule_response.crConstructors
- .new(pull : JSON::PullParser)
- .new(name : String | Nil = nil, arn : String | Nil = nil, event_pattern : String | Nil = nil, schedule_expression : String | Nil = nil, state : RuleState | Nil = nil, description : String | Nil = nil, role_arn : String | Nil = nil, managed_by : String | Nil = nil, event_bus_name : String | Nil = nil, created_by : String | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#arn : String | Nil
The Amazon Resource Name (ARN) of the rule.
-
#arn=(arn : String | Nil)
The Amazon Resource Name (ARN) of the rule.
-
#created_by : String | Nil
The account ID of the user that created the rule.
-
#created_by=(created_by : String | Nil)
The account ID of the user that created the rule.
-
#description : String | Nil
The description of the rule.
-
#description=(description : String | Nil)
The description of the rule.
-
#event_bus_name : String | Nil
The name of the event bus associated with the rule.
-
#event_bus_name=(event_bus_name : String | Nil)
The name of the event bus associated with the rule.
-
#event_pattern : String | Nil
The event pattern.
-
#event_pattern=(event_pattern : String | Nil)
The event pattern.
-
#hash(hasher)
See
Object#hash(hasher) -
#managed_by : String | Nil
If this is a managed rule, created by an Amazon Web Services service on your behalf, this field displays the principal name of the Amazon Web Services service that created the rule.
-
#managed_by=(managed_by : String | Nil)
If this is a managed rule, created by an Amazon Web Services service on your behalf, this field displays the principal name of the Amazon Web Services service that created the rule.
-
#name : String | Nil
The name of the rule.
-
#name=(name : String | Nil)
The name of the rule.
-
#role_arn : String | Nil
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
-
#role_arn=(role_arn : String | Nil)
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
-
#schedule_expression : String | Nil
The scheduling expression.
-
#schedule_expression=(schedule_expression : String | Nil)
The scheduling expression.
-
#state : RuleState | Nil
Specifies whether the rule is enabled or disabled.
-
#state=(state : RuleState | Nil)
Specifies whether the rule is enabled or disabled.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The account ID of the user that created the rule. If you use PutRule to put a rule on an event
bus in another account, the other account is the owner of the rule, and the rule ARN includes
the account ID for that account. However, the value for CreatedBy is the account ID as the
account that created the rule in the other account.
The account ID of the user that created the rule. If you use PutRule to put a rule on an event
bus in another account, the other account is the owner of the rule, and the rule ARN includes
the account ID for that account. However, the value for CreatedBy is the account ID as the
account that created the rule in the other account.
The name of the event bus associated with the rule.
The event pattern. For more information, see Events and Event Patterns in the * Amazon EventBridge User Guide *.
The event pattern. For more information, see Events and Event Patterns in the * Amazon EventBridge User Guide *.
If this is a managed rule, created by an Amazon Web Services service on your behalf, this field displays the principal name of the Amazon Web Services service that created the rule.
If this is a managed rule, created by an Amazon Web Services service on your behalf, this field displays the principal name of the Amazon Web Services service that created the rule.
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".
The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".
Specifies whether the rule is enabled or disabled.