Class: AWSCDK::Glue::CfnTrigger::NotificationPropertyProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
glue/cfn_trigger.rb

Overview

Specifies configuration properties of a job run notification.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(notify_delay_after: nil) ⇒ NotificationPropertyProperty

Returns a new instance of NotificationPropertyProperty.

Parameters:

  • notify_delay_after (Numeric, nil) (defaults to: nil)

    After a job run starts, the number of minutes to wait before sending a job run delay notification.



855
856
857
858
# File 'glue/cfn_trigger.rb', line 855

def initialize(notify_delay_after: nil)
  @notify_delay_after = notify_delay_after
  Jsii::Type.check_type(@notify_delay_after, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "notifyDelayAfter") unless @notify_delay_after.nil?
end

Instance Attribute Details

#notify_delay_afterNumeric? (readonly)

After a job run starts, the number of minutes to wait before sending a job run delay notification.



864
865
866
# File 'glue/cfn_trigger.rb', line 864

def notify_delay_after
  @notify_delay_after
end

Class Method Details

.jsii_propertiesObject



866
867
868
869
870
# File 'glue/cfn_trigger.rb', line 866

def self.jsii_properties
  {
    :notify_delay_after => "notifyDelayAfter",
  }
end

Instance Method Details

#to_jsiiObject



872
873
874
875
876
877
878
# File 'glue/cfn_trigger.rb', line 872

def to_jsii
  result = {}
  result.merge!({
    "notifyDelayAfter" => @notify_delay_after,
  })
  result.compact
end