Class: AWSCDK::Notifications::CfnOrganizationalUnitAssociationProps

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

Overview

Properties for defining a CfnOrganizationalUnitAssociation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(notification_configuration_arn:, organizational_unit_id:) ⇒ CfnOrganizationalUnitAssociationProps

Returns a new instance of CfnOrganizationalUnitAssociationProps.

Parameters:

  • notification_configuration_arn (String)

    ARN identifier of the NotificationConfiguration.

  • organizational_unit_id (String)

    The ID of the organizational unit.



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_arnString (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_idString (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_propertiesObject



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_jsiiObject



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