Class: AWSCDK::Glue::CfnJob::NotificationPropertyProperty

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

Overview

Specifies configuration properties of a 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.



954
955
956
957
# File 'glue/cfn_job.rb', line 954

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.



963
964
965
# File 'glue/cfn_job.rb', line 963

def notify_delay_after
  @notify_delay_after
end

Class Method Details

.jsii_propertiesObject



965
966
967
968
969
# File 'glue/cfn_job.rb', line 965

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

Instance Method Details

#to_jsiiObject



971
972
973
974
975
976
977
# File 'glue/cfn_job.rb', line 971

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