Class: AWSCDK::Sagemaker::CfnWorkteam::NotificationConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sagemaker/cfn_workteam.rb

Overview

Configures Amazon SNS notifications of available or expiring work items for work teams.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(notification_topic_arn:) ⇒ NotificationConfigurationProperty

Returns a new instance of NotificationConfigurationProperty.

Parameters:

  • notification_topic_arn (String)

    The ARN for the Amazon SNS topic to which notifications should be published.



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



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_jsiiObject



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