URLMapPathMatcherPathRuleCustomErrorResponsePolicy.fromMap constructor
URLMapPathMatcherPathRuleCustomErrorResponsePolicy.fromMap(
- Map<String, dynamic> map
)
Implementation
factory URLMapPathMatcherPathRuleCustomErrorResponsePolicy.fromMap(Map<String, dynamic> map) {
return URLMapPathMatcherPathRuleCustomErrorResponsePolicy(
errorResponseRules: (() { final guardedValue = map['errorResponseRules']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<URLMapPathMatcherPathRuleCustomErrorResponsePolicyErrorResponseRule>(guardedValue, (value) => URLMapPathMatcherPathRuleCustomErrorResponsePolicyErrorResponseRule.fromMap((value as Map).cast<String, dynamic>()))); })(),
errorService: (() { final guardedValue = map['errorService']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}