RuleGroupRuleStatementRateBasedStatementScopeDownStatementAsnMatchStatement.fromMap constructor

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

Implementation

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