RuleGroupRuleStatementRateBasedStatementScopeDownStatementGeoMatchStatement.fromMap constructor

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

Implementation

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