FirehoseDeliveryStreamRedshiftConfigurationCloudwatchLoggingOptions.fromMap constructor

FirehoseDeliveryStreamRedshiftConfigurationCloudwatchLoggingOptions.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory FirehoseDeliveryStreamRedshiftConfigurationCloudwatchLoggingOptions.fromMap(Map<String, dynamic> map) {
  return FirehoseDeliveryStreamRedshiftConfigurationCloudwatchLoggingOptions(
    enabled: (() { final guardedValue = map['enabled']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
    logGroupName: (() { final guardedValue = map['logGroupName']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    logStreamName: (() { final guardedValue = map['logStreamName']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}