Class: AWSCDK::Interfaces::AWSSQS::QueueInlinePolicyReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/awssqs/queue_inline_policy_reference.rb

Overview

A reference to a QueueInlinePolicy resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(queue:) ⇒ QueueInlinePolicyReference

Returns a new instance of QueueInlinePolicyReference.

Parameters:

  • queue (String)

    The Queue of the QueueInlinePolicy resource.



8
9
10
11
# File 'interfaces/awssqs/queue_inline_policy_reference.rb', line 8

def initialize(queue:)
  @queue = queue
  Jsii::Type.check_type(@queue, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "queue")
end

Instance Attribute Details

#queueString (readonly)

The Queue of the QueueInlinePolicy resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/awssqs/queue_inline_policy_reference.rb', line 16

def queue
  @queue
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/awssqs/queue_inline_policy_reference.rb', line 18

def self.jsii_properties
  {
    :queue => "queue",
  }
end

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/awssqs/queue_inline_policy_reference.rb', line 24

def to_jsii
  result = {}
  result.merge!({
    "queue" => @queue,
  })
  result.compact
end