WorkforcePoolAccessRestrictions.fromMap constructor
WorkforcePoolAccessRestrictions.fromMap(
- Map<String, dynamic> map
)
Implementation
factory WorkforcePoolAccessRestrictions.fromMap(Map<String, dynamic> map) {
return WorkforcePoolAccessRestrictions(
allowedServices: (() { final guardedValue = map['allowedServices']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<WorkforcePoolAccessRestrictionsAllowedService>(guardedValue, (value) => WorkforcePoolAccessRestrictionsAllowedService.fromMap((value as Map).cast<String, dynamic>()))); })(),
disableProgrammaticSignin: (() { final guardedValue = map['disableProgrammaticSignin']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
);
}