RuleGroupRuleStatementAsnMatchStatement.fromMap constructor

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

Implementation

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