ClusterConfigurationExecuteCommandConfiguration.fromMap constructor
ClusterConfigurationExecuteCommandConfiguration.fromMap(
- Map<String, dynamic> map
)
Implementation
factory ClusterConfigurationExecuteCommandConfiguration.fromMap(Map<String, dynamic> map) {
return ClusterConfigurationExecuteCommandConfiguration(
kmsKeyId: (() { final guardedValue = map['kmsKeyId']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
logConfiguration: (() { final guardedValue = map['logConfiguration']; if (guardedValue == null) return null; return pulumi.Input.fromValue(ClusterConfigurationExecuteCommandConfigurationLogConfiguration.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
logging: (() { final guardedValue = map['logging']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}