RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRule.fromMap constructor

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

Implementation

factory RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRule.fromMap(Map<String, dynamic> map) {
  return RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRule(
    priority: pulumi.Input.fromValue((map['priority'] as num).toInt()),
    ruleDefinition: pulumi.Input.fromValue(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinition.fromMap((map['ruleDefinition']! as Map).cast<String, dynamic>())),
  );
}