Class: AWSCDK::Sagemaker::CfnWorkteam::NotificationConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnWorkteam::NotificationConfigurationProperty
- Defined in:
- sagemaker/cfn_workteam.rb
Overview
Configures Amazon SNS notifications of available or expiring work items for work teams.
Instance Attribute Summary collapse
-
#notification_topic_arn ⇒ String
readonly
The ARN for the Amazon SNS topic to which notifications should be published.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(notification_topic_arn:) ⇒ NotificationConfigurationProperty
constructor
A new instance of NotificationConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(notification_topic_arn:) ⇒ NotificationConfigurationProperty
Returns a new instance of NotificationConfigurationProperty.
697 698 699 700 |
# File 'sagemaker/cfn_workteam.rb', line 697 def initialize(notification_topic_arn:) @notification_topic_arn = notification_topic_arn Jsii::Type.check_type(@notification_topic_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "notificationTopicArn") end |
Instance Attribute Details
#notification_topic_arn ⇒ String (readonly)
The ARN for the Amazon SNS topic to which notifications should be published.
706 707 708 |
# File 'sagemaker/cfn_workteam.rb', line 706 def notification_topic_arn @notification_topic_arn end |
Class Method Details
.jsii_properties ⇒ Object
708 709 710 711 712 |
# File 'sagemaker/cfn_workteam.rb', line 708 def self.jsii_properties { :notification_topic_arn => "notificationTopicArn", } end |
Instance Method Details
#to_jsii ⇒ Object
714 715 716 717 718 719 720 |
# File 'sagemaker/cfn_workteam.rb', line 714 def to_jsii result = {} result.merge!({ "notificationTopicArn" => @notification_topic_arn, }) result.compact end |