Class: AWSCDK::Notifications::CfnOrganizationalUnitAssociationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Notifications::CfnOrganizationalUnitAssociationProps
- Defined in:
- notifications/cfn_organizational_unit_association_props.rb
Overview
Properties for defining a CfnOrganizationalUnitAssociation.
Instance Attribute Summary collapse
-
#notification_configuration_arn ⇒ String
readonly
ARN identifier of the NotificationConfiguration.
-
#organizational_unit_id ⇒ String
readonly
The ID of the organizational unit.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(notification_configuration_arn:, organizational_unit_id:) ⇒ CfnOrganizationalUnitAssociationProps
constructor
A new instance of CfnOrganizationalUnitAssociationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(notification_configuration_arn:, organizational_unit_id:) ⇒ CfnOrganizationalUnitAssociationProps
Returns a new instance of CfnOrganizationalUnitAssociationProps.
11 12 13 14 15 16 |
# File 'notifications/cfn_organizational_unit_association_props.rb', line 11 def initialize(notification_configuration_arn:, organizational_unit_id:) @notification_configuration_arn = notification_configuration_arn Jsii::Type.check_type(@notification_configuration_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "notificationConfigurationArn") @organizational_unit_id = organizational_unit_id Jsii::Type.check_type(@organizational_unit_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "organizationalUnitId") end |
Instance Attribute Details
#notification_configuration_arn ⇒ String (readonly)
ARN identifier of the NotificationConfiguration.
Example: arn:aws:notifications::123456789012:configuration/a01jes88qxwkbj05xv9c967pgm1
24 25 26 |
# File 'notifications/cfn_organizational_unit_association_props.rb', line 24 def notification_configuration_arn @notification_configuration_arn end |
#organizational_unit_id ⇒ String (readonly)
The ID of the organizational unit.
29 30 31 |
# File 'notifications/cfn_organizational_unit_association_props.rb', line 29 def organizational_unit_id @organizational_unit_id end |
Class Method Details
.jsii_properties ⇒ Object
31 32 33 34 35 36 |
# File 'notifications/cfn_organizational_unit_association_props.rb', line 31 def self.jsii_properties { :notification_configuration_arn => "notificationConfigurationArn", :organizational_unit_id => "organizationalUnitId", } end |
Instance Method Details
#to_jsii ⇒ Object
38 39 40 41 42 43 44 45 |
# File 'notifications/cfn_organizational_unit_association_props.rb', line 38 def to_jsii result = {} result.merge!({ "notificationConfigurationArn" => @notification_configuration_arn, "organizationalUnitId" => @organizational_unit_id, }) result.compact end |