SsmActionDefinition.fromJson constructor

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

Implementation

factory SsmActionDefinition.fromJson(Map<String, dynamic> json) {
  return SsmActionDefinition(
    actionSubType: (json['ActionSubType'] as String).toActionSubType(),
    instanceIds: (json['InstanceIds'] as List)
        .whereNotNull()
        .map((e) => e as String)
        .toList(),
    region: json['Region'] as String,
  );
}