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