WebAclRuleStatementGeoMatchStatement.fromMap constructor

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

Implementation

factory WebAclRuleStatementGeoMatchStatement.fromMap(Map<String, dynamic> map) {
  return WebAclRuleStatementGeoMatchStatement(
    countryCodes: pulumi.Input.fromValue((map['countryCodes'] as List).cast<String>()),
    forwardedIpConfig: (() { final guardedValue = map['forwardedIpConfig']; if (guardedValue == null) return null; return pulumi.Input.fromValue(WebAclRuleStatementGeoMatchStatementForwardedIpConfig.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
  );
}