Class: AWSCDK::Notifications::CfnNotificationHubProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
notifications/cfn_notification_hub_props.rb

Overview

Properties for defining a CfnNotificationHub.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(region:) ⇒ CfnNotificationHubProps

Returns a new instance of CfnNotificationHubProps.

Parameters:

  • region (String)

    The NotificationHub Region.



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

#regionString (readonly)

The NotificationHub Region.



19
20
21
# File 'notifications/cfn_notification_hub_props.rb', line 19

def region
  @region
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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