FunctionDurableConfig.fromMap constructor

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

Implementation

factory FunctionDurableConfig.fromMap(Map<String, dynamic> map) {
  return FunctionDurableConfig(
    executionTimeout: pulumi.Input.fromValue((map['executionTimeout'] as num).toInt()),
    retentionPeriod: (() { final guardedValue = map['retentionPeriod']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
  );
}