SecurityConfigurationEncryptionConfigurationCloudwatchEncryption.fromMap constructor

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

Implementation

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