Class: AWSCDK::Notifications::CfnNotificationHubProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Notifications::CfnNotificationHubProps
- Defined in:
- notifications/cfn_notification_hub_props.rb
Overview
Properties for defining a CfnNotificationHub.
Instance Attribute Summary collapse
-
#region ⇒ String
readonly
The
NotificationHubRegion.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(region:) ⇒ CfnNotificationHubProps
constructor
A new instance of CfnNotificationHubProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(region:) ⇒ CfnNotificationHubProps
Returns a new instance of CfnNotificationHubProps.
10 11 12 13 |
# File 'notifications/cfn_notification_hub_props.rb', line 10 def initialize(region:) @region = region Jsii::Type.check_type(@region, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "region") end |
Instance Attribute Details
#region ⇒ String (readonly)
The NotificationHub Region.
19 20 21 |
# File 'notifications/cfn_notification_hub_props.rb', line 19 def region @region end |
Class Method Details
.jsii_properties ⇒ Object
21 22 23 24 25 |
# File 'notifications/cfn_notification_hub_props.rb', line 21 def self.jsii_properties { :region => "region", } end |
Instance Method Details
#to_jsii ⇒ Object
27 28 29 30 31 32 33 |
# File 'notifications/cfn_notification_hub_props.rb', line 27 def to_jsii result = {} result.merge!({ "region" => @region, }) result.compact end |