Class: Convection::Model::Template::Resource::SQSQueue

Inherits:
Convection::Model::Template::Resource show all
Includes:
Mixin::Taggable
Defined in:
lib/convection/model/template/resource/aws_sqs_queue.rb

Overview

Examples:

sqs_queue 'NotifyQueue' do
  queue_name "my-notify-queue"
  visibility_timeout 3600
end

See Also:

Instance Attribute Summary

Attributes inherited from Convection::Model::Template::Resource

#exist, #name, #parent, #properties, #resource_attributes, #template

Instance Method Summary collapse

Methods included from Mixin::Taggable

#immutable_metadata, #render_tags, #tag, #tags

Methods inherited from Convection::Model::Template::Resource

#as_attribute, attach_method, #deletion_policy, #depends_on, #initialize, properties, #property, property, #reference, type, #type, #with_output

Methods included from Mixin::Conditional

#condition, #render_condition

Methods included from DSL::Template::Resource

attach_resource

Methods included from DSL::Helpers

#camel_case, included, method_name, #screaming_snake_case, #snake_case

Methods included from DSL::IntrinsicFunctions

#base64, #find_in_map, #fn_and, #fn_equals, #fn_if, #fn_not, #fn_or, #fn_ref, #get_att, #get_azs, #join, #select

Constructor Details

This class inherits a constructor from Convection::Model::Template::Resource

Instance Method Details

#delay_secondsObject #delay_seconds(value) ⇒ Object

Overloads:

  • #delay_secondsObject

    Returns the value of the 'DelaySeconds' CloudFormation property.

  • #delay_seconds(value) ⇒ Object

    Sets the 'DelaySeconds' CloudFormation property.

    Parameters:

    • value

      the value to set the 'DelaySeconds' CloudFormation property to.



16
# File 'lib/convection/model/template/resource/aws_sqs_queue.rb', line 16

property :delay_seconds, 'DelaySeconds'

#maximum_message_sizeObject #maximum_message_size(value) ⇒ Object

Overloads:

  • #maximum_message_sizeObject

    Returns the value of the 'MaximumMessageSize' CloudFormation property.

  • #maximum_message_size(value) ⇒ Object

    Sets the 'MaximumMessageSize' CloudFormation property.

    Parameters:

    • value

      the value to set the 'MaximumMessageSize' CloudFormation property to.



17
# File 'lib/convection/model/template/resource/aws_sqs_queue.rb', line 17

property :maximum_message_size, 'MaximumMessageSize'

#message_retention_periodObject #message_retention_period(value) ⇒ Object

Overloads:

  • #message_retention_periodObject

    Returns the value of the 'MessageRetentionPeriod' CloudFormation property.

  • #message_retention_period(value) ⇒ Object

    Sets the 'MessageRetentionPeriod' CloudFormation property.

    Parameters:

    • value

      the value to set the 'MessageRetentionPeriod' CloudFormation property to.



18
# File 'lib/convection/model/template/resource/aws_sqs_queue.rb', line 18

property :message_retention_period, 'MessageRetentionPeriod'

#queue_nameObject #queue_name(value) ⇒ Object

Overloads:

  • #queue_nameObject

    Returns the value of the 'QueueName' CloudFormation property.

  • #queue_name(value) ⇒ Object

    Sets the 'QueueName' CloudFormation property.

    Parameters:

    • value

      the value to set the 'QueueName' CloudFormation property to.



19
# File 'lib/convection/model/template/resource/aws_sqs_queue.rb', line 19

property :queue_name, 'QueueName'

#receive_message_wait_time_secondsObject #receive_message_wait_time_seconds(value) ⇒ Object

Overloads:

  • #receive_message_wait_time_secondsObject

    Returns the value of the 'ReceiveMessageWaitTimeSeconds' CloudFormation property.

  • #receive_message_wait_time_seconds(value) ⇒ Object

    Sets the 'ReceiveMessageWaitTimeSeconds' CloudFormation property.

    Parameters:

    • value

      the value to set the 'ReceiveMessageWaitTimeSeconds' CloudFormation property to.



20
# File 'lib/convection/model/template/resource/aws_sqs_queue.rb', line 20

property :receive_message_wait_time_seconds, 'ReceiveMessageWaitTimeSeconds'

#redrive_policyObject #redrive_policy(value) ⇒ Object

Overloads:

  • #redrive_policyObject

    Returns the value of the 'RedrivePolicy' CloudFormation property.

  • #redrive_policy(value) ⇒ Object

    Sets the 'RedrivePolicy' CloudFormation property.

    Parameters:

    • value

      the value to set the 'RedrivePolicy' CloudFormation property to.



21
# File 'lib/convection/model/template/resource/aws_sqs_queue.rb', line 21

property :redrive_policy, 'RedrivePolicy'

#render(*args) ⇒ Object



24
25
26
27
28
# File 'lib/convection/model/template/resource/aws_sqs_queue.rb', line 24

def render(*args)
  super.tap do |resource|
    render_tags(resource)
  end
end

#visibility_timeoutObject #visibility_timeout(value) ⇒ Object

Overloads:

  • #visibility_timeoutObject

    Returns the value of the 'VisibilityTimeout' CloudFormation property.

  • #visibility_timeout(value) ⇒ Object

    Sets the 'VisibilityTimeout' CloudFormation property.

    Parameters:

    • value

      the value to set the 'VisibilityTimeout' CloudFormation property to.



22
# File 'lib/convection/model/template/resource/aws_sqs_queue.rb', line 22

property :visibility_timeout, 'VisibilityTimeout'