RuleGroupRuleStatementRateBasedStatementCustomKey.fromMap constructor
RuleGroupRuleStatementRateBasedStatementCustomKey.fromMap(
- Map<String, dynamic> map
)
Implementation
factory RuleGroupRuleStatementRateBasedStatementCustomKey.fromMap(Map<String, dynamic> map) {
return RuleGroupRuleStatementRateBasedStatementCustomKey(
asn: (() { final guardedValue = map['asn']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as Map).cast<String, dynamic>()); })(),
cookie: (() { final guardedValue = map['cookie']; if (guardedValue == null) return null; return pulumi.Input.fromValue(RuleGroupRuleStatementRateBasedStatementCustomKeyCookie.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
forwardedIp: (() { final guardedValue = map['forwardedIp']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as Map).cast<String, dynamic>()); })(),
header: (() { final guardedValue = map['header']; if (guardedValue == null) return null; return pulumi.Input.fromValue(RuleGroupRuleStatementRateBasedStatementCustomKeyHeader.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
httpMethod: (() { final guardedValue = map['httpMethod']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as Map).cast<String, dynamic>()); })(),
ip: (() { final guardedValue = map['ip']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as Map).cast<String, dynamic>()); })(),
ja3Fingerprint: (() { final guardedValue = map['ja3Fingerprint']; if (guardedValue == null) return null; return pulumi.Input.fromValue(RuleGroupRuleStatementRateBasedStatementCustomKeyJa3Fingerprint.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
ja4Fingerprint: (() { final guardedValue = map['ja4Fingerprint']; if (guardedValue == null) return null; return pulumi.Input.fromValue(RuleGroupRuleStatementRateBasedStatementCustomKeyJa4Fingerprint.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
labelNamespace: (() { final guardedValue = map['labelNamespace']; if (guardedValue == null) return null; return pulumi.Input.fromValue(RuleGroupRuleStatementRateBasedStatementCustomKeyLabelNamespace.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
queryArgument: (() { final guardedValue = map['queryArgument']; if (guardedValue == null) return null; return pulumi.Input.fromValue(RuleGroupRuleStatementRateBasedStatementCustomKeyQueryArgument.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
queryString: (() { final guardedValue = map['queryString']; if (guardedValue == null) return null; return pulumi.Input.fromValue(RuleGroupRuleStatementRateBasedStatementCustomKeyQueryString.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
uriPath: (() { final guardedValue = map['uriPath']; if (guardedValue == null) return null; return pulumi.Input.fromValue(RuleGroupRuleStatementRateBasedStatementCustomKeyUriPath.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
);
}