class Amazonite::EventBridge::DescribeRuleResponse

Included Modules

Defined in:

eventbridge/describe_rule_response.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.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) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def arn : String | Nil #

The Amazon Resource Name (ARN) of the rule.


[View source]
def arn=(arn : String | Nil) #

The Amazon Resource Name (ARN) of the rule.


[View source]
def created_by : String | Nil #

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.


[View source]
def created_by=(created_by : String | Nil) #

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.


[View source]
def description : String | Nil #

The description of the rule.


[View source]
def description=(description : String | Nil) #

The description of the rule.


[View source]
def event_bus_name : String | Nil #

The name of the event bus associated with the rule.


[View source]
def event_bus_name=(event_bus_name : String | Nil) #

The name of the event bus associated with the rule.


[View source]
def event_pattern : String | Nil #

The event pattern. For more information, see Events and Event Patterns in the * Amazon EventBridge User Guide *.


[View source]
def event_pattern=(event_pattern : String | Nil) #

The event pattern. For more information, see Events and Event Patterns in the * Amazon EventBridge User Guide *.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def 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.


[View source]
def 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.


[View source]
def name : String | Nil #

The name of the rule.


[View source]
def name=(name : String | Nil) #

The name of the rule.


[View source]
def role_arn : String | Nil #

The Amazon Resource Name (ARN) of the IAM role associated with the rule.


[View source]
def role_arn=(role_arn : String | Nil) #

The Amazon Resource Name (ARN) of the IAM role associated with the rule.


[View source]
def schedule_expression : String | Nil #

The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".


[View source]
def schedule_expression=(schedule_expression : String | Nil) #

The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".


[View source]
def state : RuleState | Nil #

Specifies whether the rule is enabled or disabled.


[View source]
def state=(state : RuleState | Nil) #

Specifies whether the rule is enabled or disabled.


[View source]
def validate! : Nil #

[View source]