ClusterClusterConfigEndpointConfig.fromMap constructor

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

Implementation

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