AggregateComplianceByConfigRule.fromJson constructor

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

Implementation

factory AggregateComplianceByConfigRule.fromJson(Map<String, dynamic> json) {
  return AggregateComplianceByConfigRule(
    accountId: json['AccountId'] as String?,
    awsRegion: json['AwsRegion'] as String?,
    compliance: json['Compliance'] != null
        ? Compliance.fromJson(json['Compliance'] as Map<String, dynamic>)
        : null,
    configRuleName: json['ConfigRuleName'] as String?,
  );
}