factory S3Config.fromJson(Map<String, dynamic> json) { return S3Config( path: json['Path'] as String, roleArn: json['RoleArn'] as String, kMSKeyArn: json['KMSKeyArn'] as String?, ); }