class Cumulus::Kinesis::StreamDiff
Public: Represents a single difference between local configuration and AWS configuration
Public Instance Methods
asset_type()
click to toggle source
# File lib/kinesis/models/StreamDiff.rb, line 30 def asset_type "Stream" end
aws_name()
click to toggle source
# File lib/kinesis/models/StreamDiff.rb, line 34 def aws_name @aws.stream_name end
diff_string()
click to toggle source
# File lib/kinesis/models/StreamDiff.rb, line 38 def diff_string case @type when SHARDS [ "Shards:", Colors.aws_changes("\tAWS - #{aws}"), Colors.local_changes("\tLocal - #{local}"), ].join("\n") when RETENTION [ "Retention:", Colors.aws_changes("\tAWS - #{aws} hours"), Colors.local_changes("\tLocal - #{local} hours"), ].join("\n") when TAGS tags_diff_string end end