CloudwatchMetricAction.fromJson constructor

CloudwatchMetricAction.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CloudwatchMetricAction.fromJson(Map<String, dynamic> json) {
  return CloudwatchMetricAction(
    metricName: json['metricName'] as String,
    metricNamespace: json['metricNamespace'] as String,
    metricUnit: json['metricUnit'] as String,
    metricValue: json['metricValue'] as String,
    roleArn: json['roleArn'] as String,
    metricTimestamp: json['metricTimestamp'] as String?,
  );
}