FirehoseDeliveryStreamHttpEndpointConfigurationCloudwatchLoggingOptions.fromMap constructor

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

Implementation

factory FirehoseDeliveryStreamHttpEndpointConfigurationCloudwatchLoggingOptions.fromMap(Map<String, dynamic> map) {
  return FirehoseDeliveryStreamHttpEndpointConfigurationCloudwatchLoggingOptions(
    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); })(),
  );
}