AuthenticatorGroupsConfig.fromMap constructor

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

Implementation

factory AuthenticatorGroupsConfig.fromMap(Map<String, dynamic> map) {
  return AuthenticatorGroupsConfig(
    enabled: (() { final guardedValue = map['enabled']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
    securityGroup: (() { final guardedValue = map['securityGroup']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}