Class: AWSCDK::Notifications::CfnManagedNotificationAccountContactAssociationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Notifications::CfnManagedNotificationAccountContactAssociationProps
- Defined in:
- notifications/cfn_managed_notification_account_contact_association_props.rb
Overview
Properties for defining a CfnManagedNotificationAccountContactAssociation.
Instance Attribute Summary collapse
-
#contact_identifier ⇒ String
readonly
The unique identifier of the notification contact associated with the AWS account.
-
#managed_notification_configuration_arn ⇒ String
readonly
The ARN of the
ManagedNotificationConfigurationto be associated with theChannel.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(contact_identifier:, managed_notification_configuration_arn:) ⇒ CfnManagedNotificationAccountContactAssociationProps
constructor
A new instance of CfnManagedNotificationAccountContactAssociationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(contact_identifier:, managed_notification_configuration_arn:) ⇒ CfnManagedNotificationAccountContactAssociationProps
Returns a new instance of CfnManagedNotificationAccountContactAssociationProps.
11 12 13 14 15 16 |
# File 'notifications/cfn_managed_notification_account_contact_association_props.rb', line 11 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 unique identifier of the notification contact associated with the AWS account.
For more information about the contact types associated with an account, see the Account Management Reference Guide .
24 25 26 |
# File 'notifications/cfn_managed_notification_account_contact_association_props.rb', line 24 def contact_identifier @contact_identifier end |
#managed_notification_configuration_arn ⇒ String (readonly)
The ARN of the ManagedNotificationConfiguration to be associated with the Channel .
29 30 31 |
# File 'notifications/cfn_managed_notification_account_contact_association_props.rb', line 29 def managed_notification_configuration_arn @managed_notification_configuration_arn end |
Class Method Details
.jsii_properties ⇒ Object
31 32 33 34 35 36 |
# File 'notifications/cfn_managed_notification_account_contact_association_props.rb', line 31 def self.jsii_properties { :contact_identifier => "contactIdentifier", :managed_notification_configuration_arn => "managedNotificationConfigurationArn", } end |
Instance Method Details
#to_jsii ⇒ Object
38 39 40 41 42 43 44 45 |
# File 'notifications/cfn_managed_notification_account_contact_association_props.rb', line 38 def to_jsii result = {} result.merge!({ "contactIdentifier" => @contact_identifier, "managedNotificationConfigurationArn" => @managed_notification_configuration_arn, }) result.compact end |