CloudwatchAlarmAction.fromJson constructor

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

Implementation

factory CloudwatchAlarmAction.fromJson(Map<String, dynamic> json) {
  return CloudwatchAlarmAction(
    alarmName: json['alarmName'] as String,
    roleArn: json['roleArn'] as String,
    stateReason: json['stateReason'] as String,
    stateValue: json['stateValue'] as String,
  );
}