CryptoKeyKeyAccessJustificationsPolicy.fromMap constructor

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

Implementation

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