Class: AWSCDK::Interfaces::AWSNotifications::ManagedNotificationAccountContactAssociationReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSNotifications::ManagedNotificationAccountContactAssociationReference
- Defined in:
- interfaces/aws_notifications/managed_notification_account_contact_association_reference.rb
Overview
A reference to a ManagedNotificationAccountContactAssociation resource.
Instance Attribute Summary collapse
-
#contact_identifier ⇒ String
readonly
The ContactIdentifier of the ManagedNotificationAccountContactAssociation resource.
-
#managed_notification_configuration_arn ⇒ String
readonly
The ManagedNotificationConfigurationArn of the ManagedNotificationAccountContactAssociation resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(contact_identifier:, managed_notification_configuration_arn:) ⇒ ManagedNotificationAccountContactAssociationReference
constructor
A new instance of ManagedNotificationAccountContactAssociationReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(contact_identifier:, managed_notification_configuration_arn:) ⇒ ManagedNotificationAccountContactAssociationReference
Returns a new instance of ManagedNotificationAccountContactAssociationReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_notifications/managed_notification_account_contact_association_reference.rb', line 9 def initialize(contact_identifier:, managed_notification_configuration_arn:) @contact_identifier = contact_identifier Jsii::Type.check_type(@contact_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "contactIdentifier") @managed_notification_configuration_arn = managed_notification_configuration_arn Jsii::Type.check_type(@managed_notification_configuration_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "managedNotificationConfigurationArn") end |
Instance Attribute Details
#contact_identifier ⇒ String (readonly)
The ContactIdentifier of the ManagedNotificationAccountContactAssociation resource.
19 20 21 |
# File 'interfaces/aws_notifications/managed_notification_account_contact_association_reference.rb', line 19 def contact_identifier @contact_identifier end |
#managed_notification_configuration_arn ⇒ String (readonly)
The ManagedNotificationConfigurationArn of the ManagedNotificationAccountContactAssociation resource.
23 24 25 |
# File 'interfaces/aws_notifications/managed_notification_account_contact_association_reference.rb', line 23 def managed_notification_configuration_arn @managed_notification_configuration_arn end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_notifications/managed_notification_account_contact_association_reference.rb', line 25 def self.jsii_properties { :contact_identifier => "contactIdentifier", :managed_notification_configuration_arn => "managedNotificationConfigurationArn", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_notifications/managed_notification_account_contact_association_reference.rb', line 32 def to_jsii result = {} result.merge!({ "contactIdentifier" => @contact_identifier, "managedNotificationConfigurationArn" => @managed_notification_configuration_arn, }) result.compact end |