RuleSourceCustomPolicyDetails.fromMap constructor
RuleSourceCustomPolicyDetails.fromMap(
- Map<String, dynamic> map
)
Implementation
factory RuleSourceCustomPolicyDetails.fromMap(Map<String, dynamic> map) {
return RuleSourceCustomPolicyDetails(
enableDebugLogDelivery: (() { final guardedValue = map['enableDebugLogDelivery']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
policyRuntime: pulumi.Input.fromValue(map['policyRuntime'] as String),
policyText: pulumi.Input.fromValue(map['policyText'] as String),
);
}