RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActions.fromMap constructor

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

Implementation

factory RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActions.fromMap(Map<String, dynamic> map) {
  return RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActions(
    customActions: (() { final guardedValue = map['customActions']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsCustomAction>(guardedValue, (value) => RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsCustomAction.fromMap((value as Map).cast<String, dynamic>()))); })(),
    statelessRules: pulumi.Input.fromValue(pulumi.Input.decodeList<RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRule>(map['statelessRules']!, (value) => RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRule.fromMap((value as Map).cast<String, dynamic>()))),
  );
}