Class: AWSCDK::Interfaces::AWSSQS::QueueInlinePolicyReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSSQS::QueueInlinePolicyReference
- Defined in:
- interfaces/awssqs/queue_inline_policy_reference.rb
Overview
A reference to a QueueInlinePolicy resource.
Instance Attribute Summary collapse
-
#queue ⇒ String
readonly
The Queue of the QueueInlinePolicy resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(queue:) ⇒ QueueInlinePolicyReference
constructor
A new instance of QueueInlinePolicyReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(queue:) ⇒ QueueInlinePolicyReference
Returns a new instance of QueueInlinePolicyReference.
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
#queue ⇒ String (readonly)
The Queue of the QueueInlinePolicy resource.
16 17 18 |
# File 'interfaces/awssqs/queue_inline_policy_reference.rb', line 16 def queue @queue end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |