You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudWatchEvents::Types::DescribeRuleResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the rule.

Returns:

  • (String)


113
114
115
116
117
118
119
120
121
122
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 113

class DescribeRuleResponse < Struct.new(
  :name,
  :arn,
  :event_pattern,
  :schedule_expression,
  :state,
  :description,
  :role_arn)
  include Aws::Structure
end

#descriptionString

The description of the rule.

Returns:

  • (String)


113
114
115
116
117
118
119
120
121
122
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 113

class DescribeRuleResponse < Struct.new(
  :name,
  :arn,
  :event_pattern,
  :schedule_expression,
  :state,
  :description,
  :role_arn)
  include Aws::Structure
end

#event_patternString

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

Returns:

  • (String)


113
114
115
116
117
118
119
120
121
122
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 113

class DescribeRuleResponse < Struct.new(
  :name,
  :arn,
  :event_pattern,
  :schedule_expression,
  :state,
  :description,
  :role_arn)
  include Aws::Structure
end

#nameString

The name of the rule.

Returns:

  • (String)


113
114
115
116
117
118
119
120
121
122
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 113

class DescribeRuleResponse < Struct.new(
  :name,
  :arn,
  :event_pattern,
  :schedule_expression,
  :state,
  :description,
  :role_arn)
  include Aws::Structure
end

#role_arnString

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

Returns:

  • (String)


113
114
115
116
117
118
119
120
121
122
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 113

class DescribeRuleResponse < Struct.new(
  :name,
  :arn,
  :event_pattern,
  :schedule_expression,
  :state,
  :description,
  :role_arn)
  include Aws::Structure
end

#schedule_expressionString

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

Returns:

  • (String)


113
114
115
116
117
118
119
120
121
122
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 113

class DescribeRuleResponse < Struct.new(
  :name,
  :arn,
  :event_pattern,
  :schedule_expression,
  :state,
  :description,
  :role_arn)
  include Aws::Structure
end

#stateString

Specifies whether the rule is enabled or disabled.

Returns:

  • (String)


113
114
115
116
117
118
119
120
121
122
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 113

class DescribeRuleResponse < Struct.new(
  :name,
  :arn,
  :event_pattern,
  :schedule_expression,
  :state,
  :description,
  :role_arn)
  include Aws::Structure
end