InvocationLoggingConfigurationLoggingConfigCloudwatchConfig.fromMap constructor

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

Implementation

factory InvocationLoggingConfigurationLoggingConfigCloudwatchConfig.fromMap(Map<String, dynamic> map) {
  return InvocationLoggingConfigurationLoggingConfigCloudwatchConfig(
    largeDataDeliveryS3Config: (() { final guardedValue = map['largeDataDeliveryS3Config']; if (guardedValue == null) return null; return pulumi.Input.fromValue(InvocationLoggingConfigurationLoggingConfigCloudwatchConfigLargeDataDeliveryS3Config.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
    logGroupName: pulumi.Input.fromValue(map['logGroupName'] as String),
    roleArn: pulumi.Input.fromValue(map['roleArn'] as String),
  );
}