Class: AWSCDK::LicenseManager::CfnLicense::ValidityDateFormatProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
license_manager/cfn_license.rb

Overview

Date and time range during which the license is valid, in ISO8601-UTC format.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_begin:, _end:) ⇒ ValidityDateFormatProperty

Returns a new instance of ValidityDateFormatProperty.

Parameters:

  • _begin (String)

    Start of the time range.

  • _end (String)

    End of the time range.



978
979
980
981
982
983
# File 'license_manager/cfn_license.rb', line 978

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

Instance Attribute Details

#_beginString (readonly)

Start of the time range.



989
990
991
# File 'license_manager/cfn_license.rb', line 989

def _begin
  @_begin
end

#_endString (readonly)

End of the time range.



994
995
996
# File 'license_manager/cfn_license.rb', line 994

def _end
  @_end
end

Class Method Details

.jsii_propertiesObject



996
997
998
999
1000
1001
# File 'license_manager/cfn_license.rb', line 996

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

Instance Method Details

#to_jsiiObject



1003
1004
1005
1006
1007
1008
1009
1010
# File 'license_manager/cfn_license.rb', line 1003

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