SecurityGroupRuleDescription.fromJson constructor

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

Implementation

factory SecurityGroupRuleDescription.fromJson(Map<String, dynamic> json) {
  return SecurityGroupRuleDescription(
    fromPort: json['FromPort'] as int?,
    iPV4Range: json['IPV4Range'] as String?,
    iPV6Range: json['IPV6Range'] as String?,
    prefixListId: json['PrefixListId'] as String?,
    protocol: json['Protocol'] as String?,
    toPort: json['ToPort'] as int?,
  );
}