InstanceStorageConfig.fromJson constructor
InstanceStorageConfig.fromJson(
- Map<String, dynamic> json
)
Implementation
factory InstanceStorageConfig.fromJson(Map<String, dynamic> json) {
return InstanceStorageConfig(
storageType: (json['StorageType'] as String).toStorageType(),
associationId: json['AssociationId'] as String?,
kinesisFirehoseConfig: json['KinesisFirehoseConfig'] != null
? KinesisFirehoseConfig.fromJson(
json['KinesisFirehoseConfig'] as Map<String, dynamic>)
: null,
kinesisStreamConfig: json['KinesisStreamConfig'] != null
? KinesisStreamConfig.fromJson(
json['KinesisStreamConfig'] as Map<String, dynamic>)
: null,
kinesisVideoStreamConfig: json['KinesisVideoStreamConfig'] != null
? KinesisVideoStreamConfig.fromJson(
json['KinesisVideoStreamConfig'] as Map<String, dynamic>)
: null,
s3Config: json['S3Config'] != null
? S3Config.fromJson(json['S3Config'] as Map<String, dynamic>)
: null,
);
}