RuleGroupRuleStatementRegexMatchStatementFieldToMatchJsonBodyMatchPattern.fromMap constructor

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

Implementation

factory RuleGroupRuleStatementRegexMatchStatementFieldToMatchJsonBodyMatchPattern.fromMap(Map<String, dynamic> map) {
  return RuleGroupRuleStatementRegexMatchStatementFieldToMatchJsonBodyMatchPattern(
    all: (() { final guardedValue = map['all']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as Map).cast<String, dynamic>()); })(),
    includedPaths: (() { final guardedValue = map['includedPaths']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
  );
}