WebAclRuleStatementRateBasedStatementScopeDownStatementAsnMatchStatement.fromMap constructor

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

Implementation

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