Class: AWSCDK::SAM::CfnFunction::TopicSAMPTProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnFunction::TopicSAMPTProperty
- Defined in:
- sam/cfn_function.rb
Overview
Instance Attribute Summary collapse
- #topic_name ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(topic_name:) ⇒ TopicSAMPTProperty
constructor
A new instance of TopicSAMPTProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(topic_name:) ⇒ TopicSAMPTProperty
Returns a new instance of TopicSAMPTProperty.
3465 3466 3467 3468 |
# File 'sam/cfn_function.rb', line 3465 def initialize(topic_name:) @topic_name = topic_name Jsii::Type.check_type(@topic_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "topicName") end |
Instance Attribute Details
#topic_name ⇒ String (readonly)
3472 3473 3474 |
# File 'sam/cfn_function.rb', line 3472 def topic_name @topic_name end |
Class Method Details
.jsii_properties ⇒ Object
3474 3475 3476 3477 3478 |
# File 'sam/cfn_function.rb', line 3474 def self.jsii_properties { :topic_name => "topicName", } end |
Instance Method Details
#to_jsii ⇒ Object
3480 3481 3482 3483 3484 3485 3486 |
# File 'sam/cfn_function.rb', line 3480 def to_jsii result = {} result.merge!({ "topicName" => @topic_name, }) result.compact end |