CryptoKeyVersionAttestationExternalProtectionLevelOptions.fromMap constructor

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

Implementation

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