LogsLocation.fromJson constructor
LogsLocation.fromJson(
- Map<String, dynamic> json
)
Implementation
factory LogsLocation.fromJson(Map<String, dynamic> json) {
return LogsLocation(
cloudWatchLogs: json['cloudWatchLogs'] != null
? CloudWatchLogsConfig.fromJson(
json['cloudWatchLogs'] as Map<String, dynamic>)
: null,
cloudWatchLogsArn: json['cloudWatchLogsArn'] as String?,
deepLink: json['deepLink'] as String?,
groupName: json['groupName'] as String?,
s3DeepLink: json['s3DeepLink'] as String?,
s3Logs: json['s3Logs'] != null
? S3LogsConfig.fromJson(json['s3Logs'] as Map<String, dynamic>)
: null,
s3LogsArn: json['s3LogsArn'] as String?,
streamName: json['streamName'] as String?,
);
}