Class: AWSCDK::Pinpoint::CfnApplicationSettings::QuietTimeProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
pinpoint/cfn_application_settings.rb

Overview

Specifies the start and end times that define a time range when messages aren't sent to endpoints.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_end:, start:) ⇒ QuietTimeProperty

Returns a new instance of QuietTimeProperty.

Parameters:

  • _end (String)

    The specific time when quiet time ends.

  • start (String)

    The specific time when quiet time begins.



681
682
683
684
685
686
# File 'pinpoint/cfn_application_settings.rb', line 681

def initialize(_end:, start:)
  @_end = _end
  Jsii::Type.check_type(@_end, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "end")
  @start = start
  Jsii::Type.check_type(@start, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "start")
end

Instance Attribute Details

#_endString (readonly)

The specific time when quiet time ends.

This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (with a leading zero, if applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, or 14:30 to represent 2:30 PM.



694
695
696
# File 'pinpoint/cfn_application_settings.rb', line 694

def _end
  @_end
end

#startString (readonly)

The specific time when quiet time begins.

This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (with a leading zero, if applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, or 14:30 to represent 2:30 PM.



701
702
703
# File 'pinpoint/cfn_application_settings.rb', line 701

def start
  @start
end

Class Method Details

.jsii_propertiesObject



703
704
705
706
707
708
# File 'pinpoint/cfn_application_settings.rb', line 703

def self.jsii_properties
  {
    :_end => "end",
    :start => "start",
  }
end

Instance Method Details

#to_jsiiObject



710
711
712
713
714
715
716
717
# File 'pinpoint/cfn_application_settings.rb', line 710

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