Class: AWSCDK::Pinpoint::CfnCampaign::QuietTimeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Pinpoint::CfnCampaign::QuietTimeProperty
- Defined in:
- pinpoint/cfn_campaign.rb
Overview
Specifies the start and end times that define a time range when messages aren't sent to endpoints.
Instance Attribute Summary collapse
-
#_end ⇒ String
readonly
The specific time when quiet time ends.
-
#start ⇒ String
readonly
The specific time when quiet time begins.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(_end:, start:) ⇒ QuietTimeProperty
constructor
A new instance of QuietTimeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(_end:, start:) ⇒ QuietTimeProperty
Returns a new instance of QuietTimeProperty.
2050 2051 2052 2053 2054 2055 |
# File 'pinpoint/cfn_campaign.rb', line 2050 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
#_end ⇒ String (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.
2063 2064 2065 |
# File 'pinpoint/cfn_campaign.rb', line 2063 def _end @_end end |
#start ⇒ String (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.
2070 2071 2072 |
# File 'pinpoint/cfn_campaign.rb', line 2070 def start @start end |
Class Method Details
.jsii_properties ⇒ Object
2072 2073 2074 2075 2076 2077 |
# File 'pinpoint/cfn_campaign.rb', line 2072 def self.jsii_properties { :_end => "end", :start => "start", } end |
Instance Method Details
#to_jsii ⇒ Object
2079 2080 2081 2082 2083 2084 2085 2086 |
# File 'pinpoint/cfn_campaign.rb', line 2079 def to_jsii result = {} result.merge!({ "end" => @_end, "start" => @start, }) result.compact end |