Class: AWSCDK::Sagemaker::CfnMonitoringSchedule::JsonProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sagemaker/cfn_monitoring_schedule.rb

Overview

The Json format.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(line: nil) ⇒ JsonProperty

Returns a new instance of JsonProperty.

Parameters:

  • line (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    A boolean flag indicating if it is JSON line format.



1006
1007
1008
1009
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1006

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

Instance Attribute Details

#lineBoolean, ... (readonly)

A boolean flag indicating if it is JSON line format.



1015
1016
1017
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1015

def line
  @line
end

Class Method Details

.jsii_propertiesObject



1017
1018
1019
1020
1021
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1017

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

Instance Method Details

#to_jsiiObject



1023
1024
1025
1026
1027
1028
1029
# File 'sagemaker/cfn_monitoring_schedule.rb', line 1023

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